The crash has something to do with an indicator that I have written and have on a single chart. However, thru extensive tracing, the exception is not taking place in my code, but in the Ninja code. Ninja does only crash though when this indicator is applied.
The indicator creates a number of gui controls and is loosely based on indi from https://ninjatrader.com/support/foru...327#post499327 I have verified that all of my code is running on the proper thread, all code is properly catching exceptions, and all code is properly cleaning up on termination.
Sometimes the exception triggers while loading the workspace, sometimes it triggers after an order executes, sometimes it triggers when the code reloads after a recompile, sometimes it triggers when a second workspace is opened. There is no real obvious trigger other than it seems to be async to my indi logic.
This is running Ninja ver 13.1. One thing that has changed recently is the latest win10 update, maybe unrelated but that is about when this started happening.
Comment