# Gateway is Faulty

**URL:** <https://forum.inductiveautomation.com/t/gateway-is-faulty/102159>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [February 11, 2025, 12:16pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159 "2025-02-11T12:16:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 12:16pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/1 "2025-02-11T12:16:50Z")

</div>

Hi All,

Can anyone help me. I'm using 8.0.16, it suddenly faulty. I try to search solution in this forum and try some suggested solution but the gateway still remain faulty.

Thanks

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [February 11, 2025, 12:24pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/2 "2025-02-11T12:24:48Z")

</div>

Did you check the log file?

What does it says there?

Find it in

> C:\Program Files\Inductive Automation\Ignition\logs

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 12:37pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/3 "2025-02-11T12:37:47Z")

</div>

Hi,  
the logger record gateway event script info

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/9/0971881a7df3bcd6ea29f2f2d364283ce15d4dcb.jpeg)  
but the gateway showing this.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/8/e876d844e8f72c22a31bc3f218fa5b1841aaa2a4.png)

thanks

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 11, 2025, 1:28pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/4 "2025-02-11T13:28:55Z")

</div>

You will have to look through that wrapper log file for the word `FAULTED`, closest to the end of the file. Then look at (or post here) the errors leading up to that. If you post here, be sure to use the "preformatted text" styling in the comment editor.

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [February 11, 2025, 1:37pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/5 "2025-02-11T13:37:33Z")

</div>

We would need more information. Search for something like "FAULTED" or something similar. Normally is at the end of the file.

_EDIT: Exactly like pturmel said (i just read the post)_

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 2:31pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/6 "2025-02-11T14:31:37Z")

</div>

Hi,

Found several FAULTED error in the log.

```python
INFO | jvm 1 | 2025/02/11 22:18:41 | E [IgnitionGateway] [14:18:41]: Error during context startup. 
INFO | jvm 1 | 2025/02/11 22:18:41 | java.lang.NullPointerException: null
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.io.ByteArrayInputStream.<init>(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.common.xmlserialization.deserialization.XMLDeserializer.deserialize(XMLDeserializer.java:241)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.lambda$initializeQueries$0(NamedQueryExecutor.java:96)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.ArrayList.forEach(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.initializeQueries(NamedQueryExecutor.java:92)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.initializeQueries(NamedQueryExecutor.java:82)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.<init>(NamedQueryExecutor.java:76)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.GatewayNamedQueryManager$NamedQueryLifeCycle.onStartup(GatewayNamedQueryManager.java:326)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.project.ProjectLifecycle.onStartup(ProjectLifecycle.java:38)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle.startup(AbstractLifecycle.java:18)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.project.ProjectLifecycleFactory$1.maybeStartLifecycle(ProjectLifecycleFactory.java:234)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.project.ProjectLifecycleFactory$1.lambda$projectAdded$0(ProjectLifecycleFactory.java:124)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.Optional.ifPresent(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.project.ProjectLifecycleFactory$1.projectAdded(ProjectLifecycleFactory.java:124)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.ArrayList.forEach(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.project.ProjectLifecycleFactory.onStartup(ProjectLifecycleFactory.java:47)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle.startup(AbstractLifecycle.java:18)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.GatewayNamedQueryManager.onStartup(GatewayNamedQueryManager.java:57)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle.startup(AbstractLifecycle.java:18)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:1094)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:293)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:710)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:644)
INFO | jvm 1 | 2025/02/11 22:18:41 | at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:518)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2025/02/11 22:18:41 | I [IgnitionGateway] [14:18:41]: Ignition[state=STARTING] ContextState = FAULTED 
INFO | jvm 1 | 2025/02/11 22:18:42 | W [StartupLogger] [14:18:42]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:42 | W [StartupLogger] [14:18:42]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:42 | W [StartupLogger] [14:18:42]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:43 | W [StartupLogger] [14:18:43]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:43 | W [StartupLogger] [14:18:43]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:44 | W [StartupLogger] [14:18:44]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:44 | W [StartupLogger] [14:18:44]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:44 | E [LegacyScripting[system_util_tag]] [14:18:44]: Error writing tags
INFO | jvm 1 | 2025/02/11 22:18:44 | Error writing to tag ...: Bad_NotFound
INFO | jvm 1 | 2025/02/11 22:18:44 |  
INFO | jvm 1 | 2025/02/11 22:18:44 | E [LegacyScripting[system_util_tag]] [14:18:44]: Error writing tags
INFO | jvm 1 | 2025/02/11 22:18:44 | Error writing to tag ...: Bad_NotFound
INFO | jvm 1 | 2025/02/11 22:18:44 |  
INFO | jvm 1 | 2025/02/11 22:18:44 | W [StartupLogger] [14:18:44]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:44 | E [LegacyScripting[system_util_tag]] [14:18:44]: Error writing tags
INFO | jvm 1 | 2025/02/11 22:18:44 | Error writing to tag ...: Bad_NotFound
INFO | jvm 1 | 2025/02/11 22:18:44 |  
INFO | jvm 1 | 2025/02/11 22:18:44 | E [LegacyScripting[system_util_tag]] [14:18:44]: Error writing tags
INFO | jvm 1 | 2025/02/11 22:18:44 | Error writing to tag ...: Bad_NotFound
INFO | jvm 1 | 2025/02/11 22:18:44 |  
INFO | jvm 1 | 2025/02/11 22:18:45 | W [StartupLogger] [14:18:45]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:45 | W [StartupLogger] [14:18:45]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:46 | W [StartupLogger] [14:18:46]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:46 | W [StartupLogger] [14:18:46]: gateway startup trigger 
INFO | jvm 1 | 2025/02/11 22:18:46 | E [LegacyScripting[system_util_tag]] [14:18:46]: Error writing tags
INFO | jvm 1 | 2025/02/11 22:18:46 | Error writing to tag ...: Bad_NotFound
INFO | jvm 1 | 2025/02/11 22:18:46 |  
INFO | jvm 1 | 2025/02/11 22:18:46 | E [LegacyScripting[system_util_tag]] [14:18:46]: Error writing tags
INFO | jvm 1 | 2025/02/11 22:18:46 | Error writing to tag ...: Bad_NotFound
INFO | jvm 1 | 2025/02/11 22:18:46 |  
INFO | jvm 1 | 2025/02/11 22:18:46 | W [Get Http Client] [14:18:46]: httpClient not exist 
INFO | jvm 1 | 2025/02/11 22:18:46 | I [S.S.TagHistoryDatasourceSink] [14:18:46]: Tag history tables verified successfully. 

```

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 11, 2025, 2:32pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/7 "2025-02-11T14:32:42Z")

</div>

Please upload your wrapper.log file(s).

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 2:37pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/8 "2025-02-11T14:37:23Z")

</div>

Hi,

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/Gv6CesJ3xyVVdCIVHkR4KRWY8N.log) (2.1 MB)

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 11, 2025, 2:39pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/9 "2025-02-11T14:39:09Z")

</div>

Okay, the issue is here:

```python
2025/02/11 22:18:41 | E [IgnitionGateway] [14:18:41]: Error during context startup. 
2025/02/11 22:18:41 | java.lang.NullPointerException: null
2025/02/11 22:18:41 | at java.base/java.io.ByteArrayInputStream.<init>(Unknown Source)
2025/02/11 22:18:41 | at com.inductiveautomation.ignition.common.xmlserialization.deserialization.XMLDeserializer.deserialize(XMLDeserializer.java:241)
2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.lambda$initializeQueries$0(NamedQueryExecutor.java:96)
2025/02/11 22:18:41 | at java.base/java.util.ArrayList.forEach(Unknown Source)
2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.initializeQueries(NamedQueryExecutor.java:92)
2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.initializeQueries(NamedQueryExecutor.java:82)
2025/02/11 22:18:41 | at com.inductiveautomation.ignition.gateway.db.namedquery.NamedQueryExecutor.<init>(NamedQueryExecutor.java:76)

```

This probably means you tried to import or restore named queries defined in a newer version of Ignition to an older version of Ignition.

Does that ring any bells? Do you have any idea where those resources might be located?

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 2:46pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/10 "2025-02-11T14:46:26Z")

</div>

Hi,

I got several projects working with named queries. I can search the projects contains named queries.  
But I cannot enter the designer.

Thanks

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [February 11, 2025, 2:48pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/11 "2025-02-11T14:48:10Z")

</div>

Did you import something new?

Did you combine or update any recent projects?

Any idea of any change that could broke your named queries?

This is an human error, someone did something to break it.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 11, 2025, 2:48pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/12 "2025-02-11T14:48:50Z")

</div>

This will require either locating and removing these resources on the filesystem or upgrading Ignition (if that's an option).

You may want to contact support for help locating and removing these resources. They're going to be located among the project resource files in the `$IGNITION/data/projects` folder.

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 2:54pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/13 "2025-02-11T14:54:02Z")

</div>

Hi,

Can I remove all the projects in the gateway then restart the gateway, can I do that?

Thanks

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 3:05pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/14 "2025-02-11T15:05:12Z")

</div>

Hi,

I remove all the projects inside the $IGNITION/data/projects folder. The gateway able to start.

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 11, 2025, 3:05pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/15 "2025-02-11T15:05:15Z")

</div>

You could carefully move these files aside somewhere, because presumably they are important and you're going to want to keep them.

I'm not sure how this will really help. The Gateway may start, but you won't have any of your projects at that point...

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 3:09pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/16 "2025-02-11T15:09:00Z")

</div>

Hi,

Yes, currently the gateway doesn't have any project.  
Just wondering does this error cause the faulty gateway?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/6/86edf6f61a84328bd06b080d9a32906c588f012b.png)

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 11, 2025, 3:10pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/17 "2025-02-11T15:10:29Z")

</div>

No, I previously explained and posted the stack trace from what was causing the faulted gateway.

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [February 11, 2025, 3:12pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/18 "2025-02-11T15:12:20Z")

</div>

Jenniffer you should open a ticket. They will guide you on how to proceed.

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 3:14pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/19 "2025-02-11T15:14:05Z")

</div>

Hi,

Noted.

Thanks

---

<div class="post-metadata">

**Author:** ![jennifer.ang](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jennifer.ang](https://forum.inductiveautomation.com/u/jennifer.ang)\
**Post date:** [February 11, 2025, 3:39pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159/20 "2025-02-11T15:39:16Z")

</div>

Hi,

I found the faulty project. Thanks again for the guidance. 😀

[Next page](https://forum.inductiveautomation.com/t/gateway-is-faulty/102159.md?page=2)
