PDA

View Full Version : Error when installing installanywhere2014



huangjunlei
11-05-2014, 10:18 PM
OS: Linux 2.6.32-220.e16.x86_64 #1 SMP

COMMAND LINE: ./install.bin

RESPONSE:

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extacting the installation resources form the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NullPointerException
at Flexeraaru.ag(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.init(Unkown Source)
at com.zerog.ia.installer.LifeCycleManager.executerApplication(Unkown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unkown Source)
at sun.reflect.DelegationgMethodAccessorImpl.invoke(Unkown Source)
at java.lang.reflect.Method.invoke(Unkown Source)
at com.zerog.lax.LAX.lauch(Unkown Source)
at com.zerog.lax.LAX.main(Unkown Source)
This application has Unexpectedly Quit: Invocation of this Java Application has casused an InvocationTargetException. This application will now exit.(LAX)

huangjunlei
11-07-2014, 08:45 PM
I've got the way, thank you!

sujitha
11-13-2014, 04:17 AM
Hi,
We are facing a similar issue. Can you please let us know the steps to resolve this issue.

sujitha
11-13-2014, 04:19 AM
I've got the way, thank you!

Hi,
We are facing a similar issue. Can you please let us know the steps to resolve this issue.

Dragon Slayer
12-12-2014, 03:05 PM
Just wanted to updated the thread with the solution that worked for us. This error appears under these conditions:
1) Installer is launched as root; and
2) Installer is launched from a path with only one or two directories: for example, /dir1 or /dir1/dir2; and
3) Installer was built by InstallAnywhere 2014 without SP1 (Service Pack 1) -or- Installer was built by InstallAnywhere 2014 SP1 but IAClasses.zip was erroneously included as a dependency in one or more “Execute Custom Code” actions.

In our case, the error appeared even when we used InstallAnywhere 2014 SP1, because we were including IAClasses.zip as a dependency in our “Execute Custom Code” actions. After we removed this dependency, the error was resolved. Note that you don't need to specify the IAClasses.zip dependency even though you have to use it to build your custom code JAR.