I am getting some execution error when I run Harvest for mac

book

Article ID: 141314

calendar_today

Updated On:

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

I am getting some execution error when I run Harvest for mac

The error message in the screenshot is:
/users/testuser1/Downloads/DVDHAV9903E_macosx/client/bin/workbench ; exit;
USBOSYEYDONMBPR:~ testuser1$ /users/testuser1/Downloads/DVDHAV9903E_macosx/client/bin/workbench ; exit;
gogo: InterruptedException: sleep interrupted
java.lang.InterruptedException: sleep interrupted
  at java.lang.Thread.sleep(Native Method)
  at org.apache.felix.gogo.shell.Activator.run(Activator.java:72)
  at java.lang.Thread.run(Thread.java:695)

I am getting some execution error when I run Harvest for mac now, is there anyone who can help me?.

The error message returned by Workbench is:
/users/testuser1/Downloads/DVDHAV9903E_macosx/client/bin/workbench ; exit;
COMPUTERHOSTNAME:~ testuser1$ /users/testuser1/Downloads/DVDHAV9903E_macosx/client/bin/workbench ; exit;
gogo: InterruptedException: sleep interrupted
java.lang.InterruptedException: sleep interrupted
  at java.lang.Thread.sleep(Native Method)
  at org.apache.felix.gogo.shell.Activator.run(Activator.java:72)
  at java.lang.Thread.run(Thread.java:695)


I am finding another log file containing this:
!SESSION 2019-12-04 10:21:27.159 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_65
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/testuser1/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/testuser1/.eclipse_keyring -showlocation
 
!ENTRY org.eclipse.osgi 4 0 2019-12-04 10:21:30.898
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in com.ca.harvest.workbench was unable to load class com.ca.harvest.workbench.Application.
                at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
                at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:178)
                at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
                at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
                at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
                at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.UnsupportedClassVersionError: com/ca/harvest/workbench/Application : Unsupported major.minor version 51.0
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
                at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:285)
                at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
                at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)
                at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)
                at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)
                at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
                at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:320)
                at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
                at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
                at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
                ... 15 more

Cause

SCM Workbench on the MacOSX needs Java version 1.8.  We found that Java 1.6 was installed on the computer.

Environment

Release : 13.0.3

Component : CA Harvest Software Change Manager

Resolution

  • We recommend using Java 1.8 with SCM Workbench. I noticed you have Java version 1.6, so if it would be ok to upgrade Java to 1.8 that would be recommended.
  • If there is a reason that you need to have Java version 1.6 on your Mac computer, there’s a way to have 2 different versions of Java installed and switch between the two as you need to.  See the attached instructions if needed.

Additional Information

Attached is the process to follow to configure the Mac OS to switch between one version of Java and another.

Attachments

1575570649707__Multiple_versions_of_Java_on_OSX.txt get_app