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.
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.