我使用在WIN 2008上运行的InstallAnywhere 2014创建了一个Linux安装程序。我绑定了JVM。当我尝试在Linux上运行setup.bin时,它抛出了以下错误。
[Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NullPointerException
at com.zerog.ia.installer.InstallBundle.shouldRegister(Unknown Source)
at Flexeraapl.bg(Unknown Source)
at Flexeraapl.bf(Unknown Source)
at Flexeraapl.ap(Unknown Source)
at Flexeraapl.ad(Unknown Source)
at com.zerog.ia.installer.IAStatusLog.setInstallWasStarted(Unknown Source)
at com.zerog.ia.installer.Installer.install(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 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.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
请让我知道如何调试这个问题。即使我启用调试,也没有其他信息。
我试过各种各样的帖子。我观察到locales文件夹必须包含custom_en文件。我检查了一下,发现它存在。
我遇到了同样的NPE。通过GUI双击安装集:选择安装集或面板:选择安装集合。我选中"显示‘选择产品功能’而不显示‘选择安装集’"。这样做会使$CHOSEN_INSTALL_SET$=自定义。在我的情况下,我的安装程序不喜欢特定的安装集,所以当我将其作为自定义安装集时,它可以作为一种变通方法。