# Strange errors when restarting the server

**URL:** <https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [March 6, 2020, 3:15pm UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884 "2020-03-06T15:15:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [March 6, 2020, 3:15pm UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/1 "2020-03-06T15:15:53Z")

</div>

Good afternoon.

These errors appear in the Gateway logs when I restart the server. Does anyone know what they mean?

_ **Tag provider stopped multiple times** _ :

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0b80305e99fb794be956c4d715bd4bb58aee921e.png)

_ **Uncaught exception executing batch context:** _

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4b1599debfa0b0b9333b5ed2c3e9ffb8a9815587.png)

Best Regards.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 6, 2020, 4:40pm UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/2 "2020-03-06T16:40:04Z")

</div>

What Ignition version is this? 8.0.9, or an earlier version?

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [March 6, 2020, 5:03pm UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/3 "2020-03-06T17:03:14Z")

</div>

Version: **8.0.9**.

I think the second error is due to overload and the tags that I created before rebooting are lost:

Before reboot:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/921fadc964304a5d064c89f5c4bda21581a6718d.png)

After reboot:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/756e589d50c67f2d3ef221941d6e07cdaa6565db.png)

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [March 6, 2020, 7:21pm UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/4 "2020-03-06T19:21:16Z")

</div>

The “_Uncaught exception executing batch context:_” bug appears **every time the OPC items are mapped** to the ignition tags, for example if I delete the connection to the OPC server (KepServerEX v6) and do it again. But the error message is not clear to know the reason.

---

<div class="post-metadata">

**Author:** ![rmonfront](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@rmonfront](https://forum.inductiveautomation.com/u/rmonfront)\
**Post date:** [September 9, 2020, 1:15am UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/6 "2020-09-09T01:15:16Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/d/bd725e5f086933a2a05514c54b674d36de15cd3f.png)

I have the same issue. I don’t know how to solve it.  
It is really bothering me because it give me log every seconds.

Is there a way to find the root of the issue ?

I am using version 8.0.16.

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [September 9, 2020, 9:02am UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/7 "2020-09-09T09:02:10Z")

</div>

Good morning.

In the logs I see that the error occurs **every second** , approximately  
Is there a **script** on your system that runs every second?  
If so, disable that script and check that the error has been fixed.  
Then, **analyze** the script to find the possible fault.  
The same thing happened to me when writing the data type “QualifiedPath” in a dataset. I solved it by converting it to string.

---

<div class="post-metadata">

**Author:** ![rmonfront](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@rmonfront](https://forum.inductiveautomation.com/u/rmonfront)\
**Post date:** [September 9, 2020, 4:40pm UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/8 "2020-09-09T16:40:25Z")

</div>

So i disabled one by one, every gateway script and gateway Tag Change script.

And managed to find the faulty one.

It was au Tag Change Script :  
system.tag.write(’[default]SessionInfo’,system.perspective.getSessionInfo(“centris”))

I disabled it and repeat errors “Uncaught exception” have disapeared.

Thanks @informatica

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [September 9, 2020, 4:51pm UTC](https://forum.inductiveautomation.com/t/strange-errors-when-restarting-the-server/32884/9 "2020-09-09T16:51:57Z")

</div>

You are welcome.

I think that the error “ **Uncaught exception executing batch context** ” does not provide any information to the user to solve the problem.

Best Regards.
