1

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

4

1 回答 1

1

我遇到了同样的NPE。通过 GUI 仔细检查安装集:选择安装集或面板:选择安装集。我选中“显示'选择产品功能'而不选择'选择安装集'”。这样做会使 $CHOSEN_INSTALL_SET$ = Custom。就我而言,我的安装程序不喜欢特定的安装集,因此当我将其设置为自定义安装集时,它对我来说是一种解决方法。

于 2015-10-21T23:01:41.623 回答