# \[BUG-12283\] Stack overflow error, circular datatype reference

**URL:** <https://forum.inductiveautomation.com/t/bug-12283-stack-overflow-error-circular-datatype-reference/21681>\
**Category:** Ignition Early Access\
**Created:** [January 4, 2019, 3:25am UTC](https://forum.inductiveautomation.com/t/bug-12283-stack-overflow-error-circular-datatype-reference/21681 "2019-01-04T03:25:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidf](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@davidf](https://forum.inductiveautomation.com/u/davidf)\
**Post date:** [January 4, 2019, 3:25am UTC](https://forum.inductiveautomation.com/t/bug-12283-stack-overflow-error-circular-datatype-reference/21681/1 "2019-01-04T03:25:50Z")

</div>

If you accidentally create a circular reference inside of a datatype by creating an instance of the same datatype as a child of itself, it results in the crash of the designer with a stack overflow error.

ExecutionException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: java.lang.StackOverflowError  
caused by GatewayException: java.lang.StackOverflowError  
caused by ExecutionException: java.lang.StackOverflowError

Ignition v8.0.0-beta0 (b2019010302)  
Java: Azul Systems, Inc. 11.0.1

---

<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:** [January 9, 2019, 11:58pm UTC](https://forum.inductiveautomation.com/t/bug-12283-stack-overflow-error-circular-datatype-reference/21681/2 "2019-01-09T23:58:02Z")

</div>

@davidf, thanks for reporting this.

Would you be able to test again? I tried, and while I encountered another error (that we’ll need to get fixed) I couldn’t crash the designer, as you reported.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [February 4, 2019, 4:38pm UTC](https://forum.inductiveautomation.com/t/bug-12283-stack-overflow-error-circular-datatype-reference/21681/3 "2019-02-04T16:38:12Z")

</div>

This issue was fixed in the build that was uploaded today (2/4).  
Please let us know if you continue to see this behavior after upgrading.
