cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
NelsonChen
Level 3

InstallAnywhere 2023 Throws java.lang.NullPointerException when quit

When running IA2023 built installers on AIX and Linux in the console mode, it shows the normal output.

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

Launching installer...


Graphical installers are not supported by the VM. The console mode should be used instead...

===============================================================================
Choose Locale...
----------------

 1- Deutsch
->2- English
3- Español
4- Français
5- Italiano
6- Português (Brasil)

CHOOSE LOCALE BY NUMBER: quit

After the quit command is entered,  the log file shows the following exception.

--------------------------------------------------------------------------------------

java.lang.NullPointerException: Cannot invoke "Flexeraana.ab(java.lang.String, int)" because "<local1>" is null
at com.zerog.ia.installer.IAStatusLog.reportLog(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.ch(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.cm(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager$1.aa(Unknown Source)
at com.zerog.util.ZGSys$IAConsoleReader.handleConsoleCommand(Unknown Source)
at com.zerog.util.ZGSys$IAConsoleReader.readLine(Unknown Source)
at Flexeraac7.promptAndGetValue(Unknown Source)
at Flexeraac7.createChoiceListAndGetValue(Unknown Source)
at Flexeraac7.createChoiceListAndGetValue(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.bn(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.ap(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)

------------------------------------------------------------------

Have anyone seen this?

Does anyone know the cause of this exception? 

0 Kudos
(1) Reply
NelsonChen
Level 3

It looks like IA2023 is trying to convert the string "quit" to an integer.  If I let the installer continue to the next step, the exception does not occur.

0 Kudos