# NPE in Tag Change script

**URL:** <https://forum.inductiveautomation.com/t/npe-in-tag-change-script/8623>\
**Category:** Ignition\
**Created:** [June 26, 2014, 4:29pm UTC](https://forum.inductiveautomation.com/t/npe-in-tag-change-script/8623 "2014-06-26T16:29:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [June 26, 2014, 4:29pm UTC](https://forum.inductiveautomation.com/t/npe-in-tag-change-script/8623/1 "2014-06-26T16:29:12Z")

</div>

It looks like tag change scripts are broken in 7.7 (this is with beta 4). No matter what code is in the script, i get a NullPointerException:

```auto
INFO | jvm 1 | 2014/06/26 18:22:53 | WARN [SerialExecutionQueue] [18:22:53,571]: Uncaught Throwable during execution.
INFO | jvm 1 | 2014/06/26 18:22:53 | java.lang.NullPointerException
INFO | jvm 1 | 2014/06/26 18:22:53 | at org.python.core.PyJavaType.wrapJavaObject(PyJavaType.java:85)
INFO | jvm 1 | 2014/06/26 18:22:53 | at com.inductiveautomation.ignition.common.script.TagChangeScriptExecutor$TagChangeExecutionCallback.execute(TagChangeScriptExecutor.java:163)
INFO | jvm 1 | 2014/06/26 18:22:53 | at com.inductiveautomation.ignition.common.script.TagChangeScriptExecutor$TagChangeExecutionCallback.execute(TagChangeScriptExecutor.java:125)
INFO | jvm 1 | 2014/06/26 18:22:53 | at com.inductiveautomation.ignition.common.util.SerialExecutionQueue$PollAndExecute.run(SerialExecutionQueue.java:99)
INFO | jvm 1 | 2014/06/26 18:22:53 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
INFO | jvm 1 | 2014/06/26 18:22:53 | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
INFO | jvm 1 | 2014/06/26 18:22:53 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
INFO | jvm 1 | 2014/06/26 18:22:53 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
INFO | jvm 1 | 2014/06/26 18:22:53 | at java.lang.Thread.run(Thread.java:745)
```

---

<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:** [June 26, 2014, 4:36pm UTC](https://forum.inductiveautomation.com/t/npe-in-tag-change-script/8623/2 "2014-06-26T16:36:43Z")

</div>

Thanks, I’ve fixed this already, but it didn’t get into beta4 😢
