# Help finding a script that throws a bunch of errors

**URL:** <https://forum.inductiveautomation.com/t/help-finding-a-script-that-throws-a-bunch-of-errors/41098>\
**Category:** Ignition\
**Created:** [December 1, 2020, 5:48pm UTC](https://forum.inductiveautomation.com/t/help-finding-a-script-that-throws-a-bunch-of-errors/41098 "2020-12-01T17:48:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [December 1, 2020, 5:48pm UTC](https://forum.inductiveautomation.com/t/help-finding-a-script-that-throws-a-bunch-of-errors/41098/1 "2020-12-01T17:48:05Z")

</div>

I have thousands of these exceptions in my logs and I would like to remedy them. But, I am not sure how to track this guy down. Any pointers?

```auto
INFO | jvm 2 | 2020/12/01 11:43:16 | E [S.SystemUtilities] [17:43:16]: Error running function from system.util.invokeAsynchronous 
INFO | jvm 2 | 2020/12/01 11:43:16 | com.inductiveautomation.ignition.common.script.JythonExecException: TypeError: 'NoneType' object is not callable
INFO | jvm 2 | 2020/12/01 11:43:16 | 
INFO | jvm 2 | 2020/12/01 11:43:16 | at org.python.core.Py.TypeError(Py.java:265)
INFO | jvm 2 | 2020/12/01 11:43:16 | at org.python.core.PyObject. __call__ (PyObject.java:409)
INFO | jvm 2 | 2020/12/01 11:43:16 | at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:822)
INFO | jvm 2 | 2020/12/01 11:43:16 | at com.inductiveautomation.ignition.gateway.script.GatewaySystemUtilities.lambda$_invokeAsyncImpl$0(GatewaySystemUtilities.java:139)
INFO | jvm 2 | 2020/12/01 11:43:16 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 2 | 2020/12/01 11:43:16 | Caused by: org.python.core.PyException: TypeError: 'NoneType' object is not callable
INFO | jvm 2 | 2020/12/01 11:43:16 | 
INFO | jvm 2 | 2020/12/01 11:43:16 | ... 5 common frames omitted
INFO | jvm 2 | 2020/12/01 11:43:16 | E [S.SystemUtilities] [17:43:16]: Error running function from system.util.invokeAsynchronous 
INFO | jvm 2 | 2020/12/01 11:43:16 | com.inductiveautomation.ignition.common.script.JythonExecException: TypeError: 'int' object is not callable
INFO | jvm 2 | 2020/12/01 11:43:16 | 
INFO | jvm 2 | 2020/12/01 11:43:16 | at org.python.core.Py.TypeError(Py.java:265)
INFO | jvm 2 | 2020/12/01 11:43:16 | at org.python.core.PyObject. __call__ (PyObject.java:409)
INFO | jvm 2 | 2020/12/01 11:43:16 | at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:822)
INFO | jvm 2 | 2020/12/01 11:43:16 | at com.inductiveautomation.ignition.gateway.script.GatewaySystemUtilities.lambda$_invokeAsyncImpl$0(GatewaySystemUtilities.java:139)
INFO | jvm 2 | 2020/12/01 11:43:16 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 2 | 2020/12/01 11:43:16 | Caused by: org.python.core.PyException: TypeError: 'int' object is not callable
INFO | jvm 2 | 2020/12/01 11:43:16 | 
INFO | jvm 2 | 2020/12/01 11:43:16 | ... 5 common frames omitted
INFO | jvm 2 | 2020/12/01 11:43:17 | E [S.SystemUtilities] [17:43:16]: Error running function from system.util.invokeAsynchronous 

```

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [December 1, 2020, 6:13pm UTC](https://forum.inductiveautomation.com/t/help-finding-a-script-that-throws-a-bunch-of-errors/41098/2 "2020-12-01T18:13:04Z")

</div>

There’s not a great way to do this, but you could use the Designer’s Find/Replace tool to search for “system.util.invokeAsynchronous” to determine where you’ve used that. That stacktrace seems to be missing a clarification as to what line of the script is using `system.util.invokeAsynchronous`; your Gateway logs might have a bit more info than what you posted, but this is where I’d start. Obviously newer scripts are more likely, but it could also be older scripts if you removed a project-level script they referenced.
