During the .exe ugprade (windows server 64bit) the following error occurs.
In action "Update JVM Options when upgrading JDK 8 to JDK 11 [Run script]" (screen "Upgrade Actions [Form]"), property "Script":
java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Unknown Source)
at java.base/java.util.Arrays$ArrayList.<init>(Unknown Source)
at java.base/java.util.Arrays.asList(Unknown Source)
at com.install4j.script.I4jScript_Internal_258.eval(I4jScript_Internal_258.java:14)
at com.install4j.script.I4jScript_Internal_258.evaluate(I4jScript_Internal_258.java:*58)
at com.install4j.runtime.installer.helper.Script.evaluate(Script.java:33)
at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:202)
at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:196)
at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(RunScriptAction.java:34)
at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(SystemInstallOrUninstallAction.java:29)
at com.install4j.runtime.installer.ContextImpl$9.executeAction(ContextImpl.java:1731)
at com.install4j.runtime.installer.ContextImpl$9.fetchValue(ContextImpl.java:1722)
at com.install4j.runtime.installer.ContextImpl$9.fetchValue(ContextImpl.java:1719)
at com.install4j.runtime.installer.helper.comm.actions.FetchObjectAction.execute(FetchObjectAction.java:14)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(HelperCommunication.java:271)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(HelperCommunication.java:256)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionChecked(HelperCommunication.java:184)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.fetchObjectChecked(HelperCommunication.java:167)
at com.install4j.runtime.installer.ContextImpl.performActionIntStatic(ContextImpl.java:1719)
at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(InstallerContextImpl.java:159)
at com.install4j.runtime.installer.ContextImpl.performAction(ContextImpl.java:1147)
at com.install4j.runtime.installer.controller.Controller.executeAction(Controller.java:389)
at com.install4j.runtime.installer.controller.Controller.executeActions(Controller.java:355)
at com.install4j.runtime.installer.controller.Controller.handleCommand(Controller.java:212)
at com.install4j.runtime.installer.controller.Controller.start(Controller.java:111)
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:57)
at com.install4j.runtime.installer.Installer.main(Installer.java:45)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
It does seem like that. Perhaps it is finding an incorrect JAVA_HOME somehow to one already there?
Hi @Doug kapell
I think what may be breaking you is JDK 11. If you look at the supported platforms page for your version, it specifically says Oracle Java 1.8. Open JDK 8 and especially 11 comes MUCH later in Jira versions.
Likely reverting to explicitly that will get you going.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the information.
I have java 1.8.0_321 installed and am simply running the 7.4.14 windows installer. It seems the installer is attempting to use the wrong java version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.