I experienced Ninja Crash,when I was doing a formatdataseries on a chart,and when Ninja was loading the chart,it crashed. I was loading the ES chart for 9 days of data, was just changing the last date from 10/2/08 to a different date.
This was the only one chart I had opened. I am on Ninja 6.5.1000.5 and do not have any 3rd party indicators. I have attached the part of trace file,which shows the error messages.
Thanks
RK
==========
Data.Bars.GetBarsNow: instrument='ES 12-08' from='2008-09-14' to='2008-10-02' sessionBegin='00:00:00' sessionEnd='00:00:00' excludeWeekend=False period=1 Tick splitAdjusted=False dividendAdjusted=False bars=0
2008-10-02 11:09:04:761 ERROR in Data.GetBars() after position 39
instrument ES from 9/14/2008 12:00:00 AM to 9/23/2008 12:00:00 AM periodValue 10000 periodId Volume
is found null False
is found marketdatasubscribed True
found.from 9/23/2008 12:00:00 AM found.to 10/2/2008 12:00:00 AMbulk request from 9/14/2008 12:00:00 AM to 10/2/2008 12:00:00 AM isSessionOverMidnight False
newPoolBars.Count 4545857
2008-10-02 11:09:04:784 in OnUnhandledApplicationException
2008-10-02 11:09:04:802 ERROR: outer try/catch in Add()
2008-10-02 11:09:04:802 ERROR: Failed to call 'Add' method: Object reference not set to an instance of an object.
2008-10-02 11:09:04:802 instrument='ES 12-08' from='2008-09-14' to='2008-10-02' sessionBegin='00:00:00' sessionEnd='00:00:00' excludeWeekend=False period=1 Tick splitAdjusted=False dividendAdjusted=False bars=4546610
2008-10-02 11:09:04:802 isPoolbars null True
2008-10-02 11:09:04:802 isMarketDataSubscribed True
2008-10-02 11:09:04:803 bars.Count 4546610
2008-10-02 11:09:04:962 ********* exception trapped *********
2008-10-02 11:09:04:962 Object reference not set to an instance of an object.
2008-10-02 11:09:04:962 System.Exception: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at NinjaTrader.Data.Bars.GetBars(Instrument instrument, Period period, DateTime from, DateTime to, Session pSession, Boolean splitAdjusted, Boolean dividendAdjusted)
--- End of inner exception stack trace ---
at NinjaTrader.Data.Bars.GetBars(Instrument instrument, Period period, DateTime from, DateTime to, Session pSession, Boolean splitAdjusted, Boolean dividendAdjusted)
at NinjaTrader.Gui.Chart.FormatDataSeries.AddBarsFrom ToInWorkerThread(Object state)
at System.Threading._ThreadPoolWaitCallback.WaitCallb ack_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Objec t userData)
at System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWa itCallback(Object state)
===========
Comment