I was starting NT as usual on Sundays. I use the latest NT version with the recommende IB Gateway version.
NT started to download data as it always does at the startup of the connection with IBG. During that download it crashed with the following message in the trace file:
2021-12-12 17:26:39:083 *************** unhandled exception trapped ***************
2021-12-12 17:26:39:083 Object reference not set to an instance of an object.
2021-12-12 17:26:39:095 System.NullReferenceException: Object reference not set to an instance of an object.
at NinjaTrader.NinjaScript.NinjaScriptBase.<>c.<TickR eplayOrUpdate>b__185_0(Bars b)
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at NinjaTrader.NinjaScript.NinjaScriptBase.TickReplay OrUpdate()
at NinjaTrader.NinjaScript.NinjaScriptBase.SetState(S tate state)
at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. <>c__DisplayClass227_1.<HandleBarsBackNow>b__3(O bj ect o)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
The strange thing is that there is no 6A 03-21 in the workspace. I have the latest 6A 03-22 in the workspace. There is something wired going on.
Maybe someone wants to have a look at it.
Thanks
Comment