Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..
2105 views

Windows Installation Error

Jump to solution

Greetings all.

I am getting ready for an Octane demo and am trying to install Octane 12.60 CP8 on my Windows 10 notebook. I am unable to successfully run the installation .exe. I get errors reported in the log file and I am unsure as to how to resolve these. Any ideas. Log file extracts below...

error.log

java.lang.reflect.InvocationTargetException
Continuing ...
java.lang.IllegalStateException: The outer element does not return value
Continuing ...
java.lang.IllegalStateException: The outer element does not return value
Continuing ...
An error occurred:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com.install4j.runtime.beans.screens.SystemScreen
Error log: C:\Temp\Software\MF\ADM\Octane\install4jError3561903906630540061.log
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com.install4j.runtime.beans.screens.SystemScreen
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:673)
at com.install4j.runtime.installer.config.AbstractBeanConfig.finishBatch(AbstractBeanConfig.java:47)
at com.install4j.runtime.installer.ContextImpl.registerScreens(ContextImpl.java:685)
at com.install4j.runtime.installer.controller.Controller.start(Controller.java:66)
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:59)
at com.install4j.runtime.installer.Installer.main(Installer.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:26)
Caused by: java.lang.NoClassDefFoundError: com.install4j.runtime.beans.screens.SystemScreen
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at com.sun.beans.finder.MethodFinder$1.create(Unknown Source)
at com.sun.beans.finder.MethodFinder$1.create(Unknown Source)
at com.sun.beans.util.Cache.get(Unknown Source)
at com.sun.beans.finder.MethodFinder.findMethod(Unknown Source)
at java.beans.Statement.getMethod(Unknown Source)
at java.beans.Statement.invokeInternal(Unknown Source)
at java.beans.Statement.access$000(Unknown Source)
at java.beans.Statement$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.Statement.invoke(Unknown Source)
at java.beans.Expression.getValue(Unknown Source)
at com.sun.beans.decoder.ObjectElementHandler.getValueObject(Unknown Source)
at com.sun.beans.decoder.NewElementHandler.getValueObject(Unknown Source)
at com.sun.beans.decoder.ElementHandler.getContextBean(Unknown Source)
at com.sun.beans.decoder.NewElementHandler.getContextBean(Unknown Source)
at com.sun.beans.decoder.ObjectElementHandler.getValueObject(Unknown Source)
at com.sun.beans.decoder.NewElementHandler.getValueObject(Unknown Source)
at com.sun.beans.decoder.ElementHandler.endElement(Unknown Source)
at com.sun.beans.decoder.DocumentHandler.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at com.sun.beans.decoder.DocumentHandler$1.run(Unknown Source)
at com.sun.beans.decoder.DocumentHandler$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at com.sun.beans.decoder.DocumentHandler.parse(Unknown Source)
at java.beans.XMLDecoder$1.run(Unknown Source)
at java.beans.XMLDecoder$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.XMLDecoder.parsingComplete(Unknown Source)
at java.beans.XMLDecoder.readObject(Unknown Source)
at com.install4j.runtime.installer.config.AbstractBeanConfig$2.call(AbstractBeanConfig.java:50)
at com.install4j.runtime.installer.config.AbstractBeanConfig$2.call(AbstractBeanConfig.java:47)
at com.install4j.runtime.installer.frontend.GUIHelper$4.run(GUIHelper.java:663)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

0 Likes
1 Solution

Accepted Solutions
Highlighted
Honored Contributor.
Honored Contributor.

Hi Warren, 

it looks like our installer tool can't find it's own classes to initiate itself. 

This can be cause by bad extraction (mabye an AV removes files in the background)

or bad java options.  

If you feel like experimenting I would try to:

* temporarily disable any AV running for the duration of the installation or at least until the installer kickstarts

* make sure the JVM is not getting any options when it starts

I realize these are not the ideal suggestions but it's a case of the tool not finding it's files and these are the two most common reasons for this to happen

Tell us how we can make Octane better!

View solution in original post

7 Replies
Highlighted
Super Contributor.
Super Contributor.

Hi,

Did you run octane.exe as administrator?

Regards,

Ziv

0 Likes
Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Hello Ziv.

Yes, I have tried running normally as well as running as Administrator. Same error in the log files.

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Hi Warren, 

it looks like our installer tool can't find it's own classes to initiate itself. 

This can be cause by bad extraction (mabye an AV removes files in the background)

or bad java options.  

If you feel like experimenting I would try to:

* temporarily disable any AV running for the duration of the installation or at least until the installer kickstarts

* make sure the JVM is not getting any options when it starts

I realize these are not the ideal suggestions but it's a case of the tool not finding it's files and these are the two most common reasons for this to happen

Tell us how we can make Octane better!

View solution in original post

Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Thanks Idan.

I have just tested that it is not AV - I disabled it then retried the install. So it must be all of the UFT Java Opts that get set.

Any idea how I disable these without doing an uninstallation of UFT?

0 Likes
Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Idan, your pointers were 100% spot on.

Thanks very much. Here is how I was able to override the UFT JAVA_OPTS...

C:\WINDOWS\system32>cd c:\Temp\Software\MF\ADM\Octane

c:\Temp\Software\MF\ADM\Octane>set JAVA_TOOL_OPTIONS=

c:\Temp\Software\MF\ADM\Octane>set _JAVA_OPTIONS=

c:\Temp\Software\MF\ADM\Octane>ALM_Octane_Windows_12.60_CP8_octane-onprem-12.60.21.96.exe

c:\Temp\Software\MF\ADM\Octane>

Ziv's recommendation of running was Admin was also required (however I can't give Ziv kudos - not sure why - sorry Ziv).

 

Hopefully it'll run successfully with the environment variables set for %_JAVA_OPTIONS% and %JAVA_TOOL_OPTIONS%. If it doesn't run I will have to try and override them in the config settings for the octane start up script/s.

Cheers.

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Yay! 

glad a we could help 🙂

Tell us how we can make Octane better!
0 Likes
Highlighted
Super Contributor.
Super Contributor.

🙂

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.