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 05-05-2010, 08:12 PM   #1
nailz420
Member
 
Join Date: Aug 2009
Posts: 90
Thanks: 0
Thanked 8 times in 7 posts
Default NT7B15: Error dialog loop

Occasionally when something causes NT to crash it will continue displaying an error dialog preventing any other action including closing of the application. Then the only way to get rid of it is to kill it from the task manager.

Here is an example of the error in the trace. The second exception is the one that keep repeating after the red X in the chart screen:
Code:
2010-05-05 22:04:28:508 in OnUnhandledThreadException
2010-05-05 22:04:28:508 ********* exception trapped *********
2010-05-05 22:04:28:508 Value was either too large or too small for a Decimal.
2010-05-05 22:04:28:508    at System.Decimal..ctor(Double value)
   at NinjaTrader.Cbi.MasterInstrument.RoundPrice(Double price, Double increment)
   at NinjaTrader.Gui.Chart.ChartPanel.CalculateYAxisLabels(ScaleJustification scaleJustification)
   at NinjaTrader.Gui.Chart.ChartControl.CalculateMinMaxAndMargins(Graphics graphics)
   at NinjaTrader.Gui.Chart.ChartControl.OnPaint(Object sender, PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(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.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2010-05-05 22:04:37:416 in OnUnhandledThreadException
2010-05-05 22:04:37:447 ********* exception trapped *********
2010-05-05 22:04:37:447 Cannot access a disposed object.
Object name: 'TextBox'.
2010-05-05 22:04:37:447    at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.TextBoxBase.CreateHandle()
   at System.Windows.Forms.TextBoxBase.SetSelectedTextInternal(String text, Boolean clearUndo)
   at System.Windows.Forms.TextBoxBase.AppendText(String text)
   at NinjaTrader.Code.OutputWindow.OnTimerTick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Now I understand you would like a way to reproduce this, but this really isn't about what's causing the exception but about how NT handles it and I don't have a definite way of reproducing it.

Tim.
Attached Images
File Type: jpg exception loop.jpg (39.9 KB, 1 views)
nailz420 is offline  
Old 05-06-2010, 12:10 AM   #2
superarrow
Senior Member
 
Join Date: Dec 2007
Posts: 128
Thanks: 0
Thanked 0 times in 0 posts
Unhappy Weird behavior

Same here. Yesterday, I tried to 'Reload All Historical Data' on two separate charted instruments - one after the other - i.e not waiting for one to reload before reloading the other chart. NT went into a spiral of error messages, whats worse is that I could not even kill the app from the TM. Had to Restart Win.

Today, tried to reload a new chart of CL 06-10 on my trading platform, which I have had on the development platform for months, only for NT to throw consecutive error messages and then the dreaded "NT experienced a critical error ..." However, this time round TM saved the day. So why would it be perfectly ok to load CL on one machine but not the other? Both machines built, loaded and have have the same apps, including NTB15.

Cheers,
SA
superarrow is offline  
Old 05-06-2010, 03:44 AM   #3
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,223
Thanks: 83
Thanked 333 times in 325 posts
Default

Hello Tim,

I am not sure why some crashes cause an error message to appear continuously. In order to investigate why this would occur with some crashes, we would need to further investigate the crash that causes such behavior. This would mean a reproduce scenario. Can you please inform us as much as possible regarding the circumstances of the crash. Did you perform any steps that cause the crash? What kind of windows did you have open? Are you using any 3rd party software?

Hello SA,

Can you please clarify what you mean by 'TM'. Please send me your log and trace files to check the crash you experienced upon reloading a CL 06-10 chart. You can find these files at the following locations:

Start Menu--> My Documents--> NinjaTrader 7--> Log--> log.20100506 for today. (log.yyyymmdd for any other date)

Start Menu--> My Documents--> NinjaTrader 7--> Trace--> trace.20100506 for today. (trace.yyyymmdd for any other date)

Do you have the exact same settings in both CL charts. Could it be the CL chart on one machine has different indicators or settings? Does NinjaTrader connect to the same connectivity provider on both machines?
NinjaTrader_Jason is offline  
Old 05-06-2010, 03:57 PM   #4
nailz420
Member
 
Join Date: Aug 2009
Posts: 90
Thanks: 0
Thanked 8 times in 7 posts
Default

superarrow's problem is unrelated, but the NT behavior might be. Let please focus on that. I noticed that this happens whenever a chart crashes (the red X) and after that I am unable to exit NT after that because when I click a close button or choose exit from the file menu, the exception dialog comes up. I am sure you can figure out how to trigger a crash in chart control to reproduce this problem to see that you are unable to exit NT cleanly after that.

Thanks,
Tim.
nailz420 is offline  
Old 05-06-2010, 04:23 PM   #5
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Tim,

Unfortunately it is not that simple. Please provide us with as much background information as possible for how you got the red X. Is the red X reproducible for you at will? What indicators are you using? Multi-series chart? Single-series? What instrument are you charting and with which session template? Do you have 3rd party custom assemblies installed? Can you try uninstalling those? Thank you for the additional info.
NinjaTrader_Josh is offline  
Old 05-06-2010, 06:26 PM   #6
superarrow
Senior Member
 
Join Date: Dec 2007
Posts: 128
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi Jason,
Thought my second bug was related to the OP first post. In any case, I have sent you an email with the requested files and info. Please let me know should you require any more info, and need be I will open another thread.

OP sorry if you feel I hijacked your thread.

Cheers,
SA
Quote:
Originally Posted by NinjaTrader_Jason View Post
Hello Tim,
Hello SA,

Can you please clarify what you mean by 'TM'. Please send me your log and trace files to check the crash you experienced upon reloading a CL 06-10 chart. You can find these files at the following locations:

Start Menu--> My Documents--> NinjaTrader 7--> Log--> log.20100506 for today. (log.yyyymmdd for any other date)

Start Menu--> My Documents--> NinjaTrader 7--> Trace--> trace.20100506 for today. (trace.yyyymmdd for any other date)

Do you have the exact same settings in both CL charts. Could it be the CL chart on one machine has different indicators or settings? Does NinjaTrader connect to the same connectivity provider on both machines?
superarrow is offline  
Old 05-07-2010, 05:32 AM   #7
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,223
Thanks: 83
Thanked 333 times in 325 posts
Default

Hello SA

Please see my response to the email you sent us. No need to open another thread.
NinjaTrader_Jason 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
NT7B15: Cannot default an instrument nailz420 Version 7 Beta General Questions & Bug Reports 5 05-04-2010 04:27 PM
Request: Remove Market Analyzer Error Dialog ksarkar77 Market Analyzer 4 02-27-2010 09:10 AM
Error on loading data dialog not showing heech Version 7 Beta General Questions & Bug Reports 13 10-23-2009 10:03 PM
How do we reenable the Rollover dialog and New Version dialog. shawnj Miscellaneous Support 5 06-17-2008 04:41 PM
price data ERROR dialog box in condition builder Bob10 Miscellaneous Support 4 01-29-2008 06:17 PM


All times are GMT -6. The time now is 09:40 AM.