Here’s a fun one. I have a dashboard customization that utilizes EpiNumericEditor boxes to display variables defined by custom code. There are three trackers within the dashboard that do this for their respective queries. The dashboard functions exactly as intended, except that the epicor client crashes with a stack overflow error every time I either try to exit the dashboard, hit “clear all”, or refresh. After deleting the numeric boxes on the first tracker, the error no longer appears. The code compiles successfully with or without the numeric boxes. The numeric boxes also do not cause crashes when they are configured to store integers, but doubles and decimals cause the crash. I have no earthly idea why this would be the case, and any leads would be appreciated.
I solved this. The refresh for the number boxes was triggered by a dashboard update from the same dashboard that contained the number boxes. This was causing an infinite loop. I simply moved the trigger somewhere else and the problem is now non existent. Hopefully this can help anyone else who makes the same mistake as me.