Hi, guys!
My gateway is not working, with the message "Gateway is faulted". I have already checked the Windows service and is running and the file paths are correct ("C: \ Program Files \ Inductive Automation \ ignition \ ignitiongateway.exe" -s "C: \ Program files \ Inductive Automation \ Ignition \ data \ ignition.conf). That happened out of the blue.
Can you get the wrapper.log file and upload it?
Okay, it's faulted because of this error:
INFO | jvm 1 | 2023/03/01 14:59:05 | E [IgnitionGateway ] [17:59:05]: Error during context startup.
INFO | jvm 1 | 2023/03/01 14:59:05 | java.lang.NullPointerException: null
INFO | jvm 1 | 2023/03/01 14:59:05 | at java.base/java.io.ByteArrayInputStream.<init>(Unknown Source)
INFO | jvm 1 | 2023/03/01 14:59:05 | at com.inductiveautomation.ignition.common.xmlserialization.deserialization.XMLDeserializer.deserialize(XMLDeserializer.java:248)
INFO | jvm 1 | 2023/03/01 14:59:05 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.lambda$initializeQueries$0(NamedQueryExecutor.java:96)
INFO | jvm 1 | 2023/03/01 14:59:05 | at java.base/java.util.ArrayList.forEach(Unknown Source)
INFO | jvm 1 | 2023/03/01 14:59:05 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.initializeQueries(NamedQueryExecutor.java:92)
INFO | jvm 1 | 2023/03/01 14:59:05 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.initializeQueries(NamedQueryExecutor.java:82)
INFO | jvm 1 | 2023/03/01 14:59:05 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.<init>(NamedQueryExecutor.java:76)
You must have restored a backup or imported a named query resource from a future version of Ignition.
You can call support and get their help trying to track it down and fix it, or you can just go ahead and upgrade to the latest version of Ignition and that should make things start working.
In general, it's not safe to assume Ignition is "forwards compatible", meaning you should not import anything from a newer version into an older version.
3 Likes
I deleted some projects of the version 18 and it worked!
Does this "conversion report" file in the projects folder say anything about these conversions?
conversion-report.txt (3.8 KB)
The conversion report is for 7.9 -> 8.X project resources. Not relevant to the issue here, which is a project or project(s) restored from some higher version of 8.1 onto 8.1.5.
I have been getting the same exact screen as shown in the original post. Today, I updated the gateway from 8.1.24 to 8.1.33. Any idea what could be causing the fault?
I have attached the wrapper.log file as well.
wrapper.log (6.1 MB)
INFO | jvm 1 | 2023/12/06 09:35:44 | E [IgnitionGateway ] [16:35:44]: Error during context startup.
INFO | jvm 1 | 2023/12/06 09:35:44 | org.sqlite.SQLiteException: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)
You need to contact Support. Pronto.
1 Like