NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 03-31-2010, 10:04 PM   #1
dnoff
Senior Member
 
Join Date: Jan 2009
Posts: 111
Thanks: 0
Thanked 0 times in 0 posts
Default 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.
dnoff is offline  
Old 04-01-2010, 04:13 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,236
Thanks: 83
Thanked 336 times in 328 posts
Default

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?
NinjaTrader_Jason is offline  
Old 04-01-2010, 10:04 AM   #3
dnoff
Senior Member
 
Join Date: Jan 2009
Posts: 111
Thanks: 0
Thanked 0 times in 0 posts
Default

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
dnoff is offline  
Old 04-01-2010, 10:18 AM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,236
Thanks: 83
Thanked 336 times in 328 posts
Default

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.
NinjaTrader_Jason is offline  
Old 04-01-2010, 03:58 PM   #5
dnoff
Senior Member
 
Join Date: Jan 2009
Posts: 111
Thanks: 0
Thanked 0 times in 0 posts
Default

Just replied to the email - I have a question on exporting the strategies in there....
dnoff is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT7 Beta 13 crashing on startup pauly139 Version 7 Beta General Questions & Bug Reports 2 04-01-2010 05:01 AM
beta 11 Market Replay ATI user Version 7 Beta General Questions & Bug Reports 8 03-22-2010 05:07 AM
Overcome crash in Market Replay mason Suggestions And Feedback 6 07-05-2008 07:51 PM
Running market replay and recording at the same time Rollins Connecting 2 12-02-2007 11:19 AM
NT 6.5.0.4 Beta Market Replay ATI user Historical NinjaTrader 6.5 Beta Threads 1 12-01-2007 01:45 PM


All times are GMT -6. The time now is 04:20 AM.