我使用在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文件。我检查了一下,发现它存在。
答案 0 :(得分:1)
我遇到了同样的NPE。通过GUI仔细检查安装集:选择安装集或面板:选择安装集。我复选框"显示'选择产品功能'没有'选择安装集'"。 这样做会使$ CHOSEN_INSTALL_SET $ = Custom。就我而言,我的安装程序并不喜欢特定的安装集,因此当我将其设置为自定义安装集时,它对我来说是一种解决方法。