Upgraded Ignition failed to start

Upgraded to 8.1.35 and this is in wrapper file...

jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp:
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: java.lang.NullPointerException: Cannot invoke "com.inductiveautomation.ignition.gateway.web.WebResourceManagerImpl.start()" because "this.webManager" is null
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at com.inductiveautomation.ignition.gateway.IgnitionGateway.start(IgnitionGateway.java:587)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at com.inductiveautomation.ignition.gateway.IgnitionGateway.main(IgnitionGateway.java:306)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at com.inductiveautomation.catapult.Catapult.main(Catapult.java:8)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at java.base/java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:349)
INFO | jvm 1 | 2024/01/03 13:34:03 | WrapperSimpleApp Error: at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2024/01/03 13:34:03 | I [C.SecureRandomProvider ] [18:34:03]: Secure random seed generated in 1ms
INFO |

For this to occur, I'd expect there to be some other preceding errors, something to the effect of "Error initializing web manager". We might need more information from the logs to determine what happened. Can you provide some more information about what you were upgrading from and what OS/etc this was on?

I have uploaded wrapper file and system info.


*
wrapper.log (7.1 MB)
*

Hmm, real problem seems to be this:

INFO   | jvm 1    | 2024/01/03 13:54:03 | E [g.CompositeClassRejectListFilter] [18:54:03]: Error initializing web manager:  
INFO   | jvm 1    | 2024/01/03 13:54:03 | java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/java.util.Properties.loadConvert(Unknown Source)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/java.util.Properties.load0(Unknown Source)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/java.util.Properties.load(Unknown Source)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at com.inductiveautomation.ignition.gateway.web.WebResourceManagerImpl.readInstallProperties(WebResourceManagerImpl.java:449)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at com.inductiveautomation.ignition.gateway.web.WebResourceManagerImpl.<init>(WebResourceManagerImpl.java:114)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.<init>(IgnitionGateway.java:532)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.main(IgnitionGateway.java:304)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at com.inductiveautomation.catapult.Catapult.main(Catapult.java:8)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:349)
INFO   | jvm 1    | 2024/01/03 13:54:03 | 	at java.base/java.lang.Thread.run(Unknown Source)

The file it's trying to read is lib/install-info.txt. You can move that to your desktop and upload it here so we can look at it. In the meantime try starting the gateway after you've moved that file out of that directory.

Here is Install-info.txt
install-info.txt (83 Bytes)

I had this same exact problem on Windows for multiple ignition upgrades on my dev environment.
The problem seems to happen because the user i've used to install ignition is named "user" and the installer for windows adds the domain name for the PC to the "username" field in the "install-info.txt" file;
Then, during the startup process it seems that the wrapper tries to encode the "\u" on "STEEL\ujcichb9" as a unicode character.
If you try to remove "STEEL\" from "username=STEEL\ujcichb9" and retry to start the gateway it should fix the problem.

3 Likes

Alternatively you can add an extra backslash in the username to escape the \u

Replace username=STEEL\ujcichb9 with username=STEEL\\ujcichb9

2 Likes

Thanks both of you, I opened an issue for this. Use @avaughn's workaround for now I suppose.

1 Like

I removed the install-info file from the Lib directory and the ignition service started. I not sure what if any, did I lost from the config.