# Gateway Script Error: super(type, obj): obj must be an instance or subtype of type

**URL:** <https://forum.inductiveautomation.com/t/gateway-script-error-super-type-obj-obj-must-be-an-instance-or-subtype-of-type/51042>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [September 16, 2021, 5:48pm UTC](https://forum.inductiveautomation.com/t/gateway-script-error-super-type-obj-obj-must-be-an-instance-or-subtype-of-type/51042 "2021-09-16T17:48:38Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [June 15, 2023, 3:38pm UTC](https://forum.inductiveautomation.com/t/gateway-script-error-super-type-obj-obj-must-be-an-instance-or-subtype-of-type/51042/9 "2023-06-15T15:38:05Z")

</div>

> [@JordanCClark](#):
>
> Would an already running script persist across a save?

Yes. A project save does not kill off any running threads, and does not replace the code within them. The memory of the entire old interpreter, with old objects, is stuck in process memory until the thread finishes.

If you are using `system.util.getGlobals()` and friends, or attaching jython classes to SDK APIs, old and new objects can mix. (And old objects can get stuck.)

---

_[View the full topic](https://forum.inductiveautomation.com/t/gateway-script-error-super-type-obj-obj-must-be-an-instance-or-subtype-of-type/51042)._
