Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Beta 13 -Crash running Market Replay and Strategy

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

    Beta 13 -Crash running Market Replay and Strategy

    I was running Beta 13 with a set of market replay data and some strategies when the following error was thrown in the logs, causing NT to crash a chart window and stop all strategies:

    2010-03-31 20:40:01:254 UI (re)load complete, took 13449.1 secs, 13459.6 secs after app start
    2010-03-31 20:51:03:454 in OnUnhandledThreadException
    2010-03-31 20:51:03:465 ********* exception trapped *********
    2010-03-31 20:51:03:465 Arithmetic operation resulted in an overflow.
    2010-03-31 20:51:03:465 at NinjaTrader.Gui.Chart.ChartControl.GetChartObjectB asketsToLookIn()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax(S caleJustification scaleJustification)
    at NinjaTrader.Gui.Chart.ChartControl.CalculateMinMax AndMargins(Graphics graphics)
    at NinjaTrader.Gui.Chart.ChartControl.OnPaint(Object sender, PaintEventArgs e)
    at System.Windows.Forms.Control.OnPaint(PaintEventArg s e)
    at System.Windows.Forms.Control.PaintWithErrorHandlin g(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
    at System.Windows.Forms.Control.WmPaint(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    2010-03-31 20:51:30:153 in OnUnhandledThreadException
    2010-03-31 20:51:30:154 ********* exception trapped *********
    2010-03-31 20:51:30:154 Arithmetic operation resulted in an overflow.
    2010-03-31 20:51:30:154 at NinjaTrader.Gui.Chart.ChartControl.GetChartObjectB asketsToLookIn()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax(S caleJustification scaleJustification)
    at NinjaTrader.Gui.Chart.ChartControl.CalculateMinMax AndMargins(Graphics graphics)
    at NinjaTrader.Gui.Chart.ChartControl.OnPaint(Object sender, PaintEventArgs e)
    at System.Windows.Forms.Control.OnPaint(PaintEventArg s e)
    at System.Windows.Forms.Control.PaintWithErrorHandlin g(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
    at System.Windows.Forms.Control.WmPaint(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    I can send everything via support email is required.

    #2
    Hello dnoff,

    Can you please tell me if the crash persists when you run the exact same setup after restarting NinjaTrader.

    How many strategies do you have running in total?

    Comment


      #3
      I get the same type or errors for the sets of charts/strategies I am running, but the exact indicator/strategy listed as the cause is always different. I sent an email to support last night with all the trace files in it (see email titled NT 7 Beta 13 - Crashing when moving slider in Replay Data Mode from df1825 at gmail dot com).

      It seems that one time I move it, one of items craches, the next time, a different set crashes with the same error message and consequence.

      So in answer to your question:

      1. Yes I can always get it to crash
      2. Yes always (from the trace files) seems the same error/class throwing the error
      3. It is NOT always the same item/indicator within a strategy causing the crash

      I hope that makes sense

      Comment


        #4
        Hello dnoff,

        Ok, so the crash occurs when you move the Market Replay slider.

        Can you please forward me the workspace you have opened when you move the slider. Please send it to support[at]ninjatrader[dot]com. Reference this forum thread and put 'Attn Jason' in the header. Or respond to the email I sent you.

        You can find workspaces at (My) Documents-->NinjaTrader 7-->workspaces.

        If you make use of custom indicators and strategies, please send them as well. You can export NinjaScript files via File-->Utilities-->Export NinjaScript.

        Comment


          #5
          Just replied to the email - I have a question on exporting the strategies in there....

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          625 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          359 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          562 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          567 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X