Manual Update Error - 7.9.3 to 7.12.5/7.13.0 - com.install4j.runtime.beans.actions.control.RunScrip
Asked by Nick Nelson:

Hello,

Going through the manual update process from V 7.9.3 to 7.12.5/7.13.0 (tried both) on Windows server 2016, using the windows installer.

I received the following error.

Setup

"com.install4j.runtime.beans.actions.control.RunScrip"

I hit ignore and the upgrade completes but cannot access confluence afterward.

Here is the output log data:

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)


Answers:
author: Alexis Robert
body: Hi [@Nick Nelson](/t5/user/viewprofilepage/user-id/4532155) ,

looking at the error stack, looks like an issue with your Java version.

I would try upgrading using an archive file and using your own Java version 8, this way you're sure that there is no conflict with Java 11 : <https://confluence.atlassian.com/doc/upgrading-confluence-manually-255363437.html>

It's not very different from the installer, you'll just need to copy some previous configurations. At least it might help you perform the upgrade.

Let me know if this helps,

--Alexis


Tags: confluence-server

server