![]() |
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
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2009
Posts: 90
Thanks: 0
Thanked 8 times in 7 posts
|
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) Tim. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2007
Posts: 128
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,223
Thanks: 83
Thanked 333 times in 325 posts
|
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?
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Member
Join Date: Aug 2009
Posts: 90
Thanks: 0
Thanked 8 times in 7 posts
|
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. |
|
|
|
|
|
#5 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
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.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#6 | |
|
Senior Member
Join Date: Dec 2007
Posts: 128
Thanks: 0
Thanked 0 times in 0 posts
|
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:
|
|
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,223
Thanks: 83
Thanked 333 times in 325 posts
|
Hello SA
Please see my response to the email you sent us. No need to open another thread.
Jason
NinjaTrader Customer Service |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
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 |