cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
huangjunlei
Level 2

Error when installing installanywhere2014

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)
Labels (1)
0 Kudos
(4) Replies
huangjunlei
Level 2

I've got the way, thank you!
0 Kudos
sujitha
Level 2

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

huangjunlei wrote:
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.
0 Kudos
Dragon_Slayer
Level 2

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.
0 Kudos