# \[IGN-8411\] Value Changed Script Error - Error Expanding paramater referencejava.lang.NullPointerException

**URL:** <https://forum.inductiveautomation.com/t/ign-8411-value-changed-script-error-error-expanding-paramater-referencejava-lang-nullpointerexception/88703>\
**Category:** Ignition\
**Created:** [April 11, 2024, 5:49pm UTC](https://forum.inductiveautomation.com/t/ign-8411-value-changed-script-error-error-expanding-paramater-referencejava-lang-nullpointerexception/88703 "2024-04-11T17:49:14Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [April 11, 2024, 6:43pm UTC](https://forum.inductiveautomation.com/t/ign-8411-value-changed-script-error-error-expanding-paramater-referencejava-lang-nullpointerexception/88703/9 "2024-04-11T18:43:32Z")

</div>

Interesting....

Now that you mentioned it, that did sound familiar. Low and behold:

> [@\[Bug Report\] Curly brackets (braces) on commented line in udt instance script causes script to fail silently](https://forum.inductiveautomation.com/t/bug-report-curly-brackets-braces-on-commented-line-in-udt-instance-script-causes-script-to-fail-silently/79124):
>
> Including open/close curly brackets (braces) with any text in between, on a commented line (e.g. #{z}), in a value changed event script, on a tag in a udt definition... causes the script to fail silently showing no errors in the script editor and no errors in the logs. Any of these lines causes silent failure of the script with no lines executed. #{L} # here is an innocuous comment that should not affect anything but {does} I tested for the same on atomic tags not in a udt definition/instanc…

Looks like it's either a known issue or very similar to one.

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-8411-value-changed-script-error-error-expanding-paramater-referencejava-lang-nullpointerexception/88703)._
