ERROR: Failed to call 'Add' method: Object reference not set to an instance of an object. occasionally during connecting or applying a rollover
as well as
ERROR: Failed to call 'Add' method: Cannot access a disposed object. when closing a workspace.
As you can see the error messages are absolutely useless because non of the needed data is reported. (Window Name, Tab Name, Panel ID, Indicator Name, DataSeries, etc.)
So it took me a very long time to get to a reproducible scenario.
When i do the following steps it leads to multiple of the above error messages and sometimes even an untrapped exception that crashes the whole application.
Steps:
Create new workspace.
Open ES 12-15 5Minute Chart. (DaysToLoad=10, TickReplay=Enabled)
Add the following indicators with their default settings to the chart.
ADL, ADX, APZ, Aroon, ATR, BarTimer.
Save and close the workspace.
Open workspace again and while the workspace is loading close the workspace.
This should result in multiple of the above error messages and maybe an app crash.
If you can not reproduce try adding even more indicators. It might be that a better CPU can handle more indicators before generating the error messages since i assume there is some sort of race condition.
Comment