• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninja crash on chart loading

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Ninja crash on chart loading

    Hi Support,

    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)

    ===========

    #2
    Please upgrade to the current release and see if the issue persists.
    JessicaNinjaTrader Customer Service

    Comment


      #3
      Jessica,

      Can you please tell me why Ninja was crashing? Is this a ninja bug that has been identified and fixed in the recent release ?

      Would appreciate, if you can fix this bug, if it has not been fixed yet. The last thing someone wants is to see their charting system crash,while trading.

      Thanks
      RK

      Comment


        #4
        No, it does not seem to be linked to a bug but instead the install.

        When you upgrade I would also suggest repairing your database (Tools--> Options--> Misc--> Repair).

        The upgrade will also help as a fresh install will repair any issues with your install.

        If the repair and upgrade do not resolve the issue please let us know as we may need to send you further instructions for your database.
        JessicaNinjaTrader Customer Service

        Comment


          #5
          Hi Jessica,

          Thanks for your reply.

          I am a little hesitant to upgrade ninja version, as I want to wait for some time, till the latest version becomes stable and as you mentioned nothing has changed in the new version regarding this bug.

          I did a DB repair in the current version and tried the reload of chart, and it is working fine. Please let me if its ok, or any additional action I need to take.

          Also it would be helpful, if the error handling of Ninja can be improved, so that it throws a message box (or a pop up) with error when it encounters a problem, rather than crashing the ninja chart system.

          Thanks
          RK
          Last edited by RK_trader; 10-02-2008, 10:10 AM.

          Comment


            #6
            Again the error is specific to your install not a bug, and it is always recommended to be on the current release, but if you do not want to upgrade that is your choice.

            Thanks for the suggestion and if you have any further issues please send me your full trace file by email to support AT ninjatrader DOT com attn Jessica.
            JessicaNinjaTrader Customer Service

            Comment


              #7
              do not upgrade RK!!!!

              NT has been a nightmare since I upgraded including the problems you describe RK.
              3 weeks later I am still on the sidelines cuz ninja is hosed after many, many reinstalls and all the supposed fixes. No one seems to be able to help ecept Jessica who knew about a google desktop issue. I am trying to stick with the devil I know instead of starting up a whole new charting platform but I think at this point it would bre worth investing a week or so ironing out the kinks of a new platform. And I have been a ninja subscriber for around a year. YOU HAVE BEEN WARNED!!!

              Comment


                #8
                Hi Taters,

                I'm sorry to hear this is taking longer than usual.

                We will get to the bottom of this and have a final answer for you over the weekend.
                Vince B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by jimfurr, Today, 04:40 AM
                1 response
                3 views
                0 likes
                Last Post NinjaTrader_ChrisSch  
                Started by learningnt, Yesterday, 10:21 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_ChrisSch  
                Started by ilai74, Today, 04:37 AM
                0 responses
                2 views
                0 likes
                Last Post ilai74
                by ilai74
                 
                Started by CiprianV, Today, 03:11 AM
                0 responses
                5 views
                0 likes
                Last Post CiprianV  
                Started by GMiller64, Yesterday, 01:13 PM
                3 responses
                12 views
                0 likes
                Last Post GMiller64  
                Working...
                X