我使用在 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 文件。我检查了它,发现它存在。