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

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

@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.

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.