It occurs when I start up NinjaTrader sometimes.
Other times it doesn't happen even though I made no changes to the workspace.
2016-10-21 10:38:18:875 Cbi.Instrument.RequestBars (to Provider): instrument='AUDUSD' from='10/20/2016 00:00:00' to='10/20/2016 00:00:00' period='1 Minute'
2016-10-21 10:38:18:897 (NinjaTrader FXCM) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=CashValue currency=UsDollar value=*****
2016-10-21 10:38:19:204 Cbi.Instrument.RequestBars (to Provider): instrument='EURAUD' from='10/21/2016 00:00:00' to='10/22/2016 00:00:00' period='Daily'
2016-10-21 10:38:19:351 *************** unhandled exception trapped ***************
2016-10-21 10:38:19:351 Object reference not set to an instance of an object.
2016-10-21 10:38:19:352 System.NullReferenceException: Object reference not set to an instance of an object.
at NinjaTrader.Data.Bars.GetNewBarsProxy(Bars barsProxy)
at System.Linq.Enumerable.WhereSelectArrayIterator`2. MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)
at NinjaTrader.Gui.Chart.ChartControl.<>c__DisplayCla ss536_2.<RefreshIndicators>b__9(Object o)
at System.Threading.QueueUserWorkItemCallback.WaitCal lback_Context(Object state)
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()
at System.Threading._ThreadPoolWaitCallback.PerformWa itCallback()
2016-10-21 10:38:19:390 Cbi.Instrument.RequestBars (to Provider): instrument='AUDUSD' from='10/21/2016 00:00:00' to='10/21/2016 00:00:00' period='1 Minute'
2016-10-21 10:38:19:799 *************** unhandled exception trapped ***************
2016-10-21 10:38:19:799 Object reference not set to an instance of an object.
2016-10-21 10:38:19:799 System.NullReferenceException: Object reference not set to an instance of an object.
at NinjaTrader.Data.Bars.GetNewBarsProxy(Bars barsProxy)
at System.Linq.Enumerable.WhereSelectArrayIterator`2. MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)
at NinjaTrader.Gui.Chart.ChartControl.<>c__DisplayCla ss536_2.<RefreshIndicators>b__9(Object o)
at System.Threading.QueueUserWorkItemCallback.WaitCal lback_Context(Object state)
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()
at System.Threading._ThreadPoolWaitCallback.PerformWa itCallback()
2016-10-21 10:38:19:854 Cbi.Instrument.RequestBars (to Provider): instrument='EURUSD' from='10/21/2016 00:00:00' to='10/21/2016 00:00:00' period='1 Minute'
2016-10-21 10:38:22:692 Cbi.Instrument.RequestBars (to Provider): instrument='EURAUD' from='10/21/2016 00:00:00' to='10/21/2016 00:00:00' period='1 Minute'
Comment