PDA

View Full Version : exception when disconnecting from ib


cunparis
07-14-2010, 06:02 AM
I was connected to IQ & Mirus and IB and I disconnected from IB and got an error and in the trace I see this:


2010-07-14 14:12:04:715 (IB) Cbi.Connection.Close9
2010-07-14 14:12:04:715 (IB) Cbi.Connection.ProcessEventArgs.ConnectionStatusEv entArgs Disconnected Disconnected NoError
2010-07-14 14:12:04:721 (IB) Cbi.ConnectionStatusEventArgs.Process: Disconnected Disconnected
2010-07-14 14:12:08:513 in OnUnhandledThreadException
2010-07-14 14:12:08:559 ********* exception trapped *********
2010-07-14 14:12:08:559 Cannot access a disposed object.
Object name: 'Infragistics.Win.UltraWinGrid.UltraGridCell'.
2010-07-14 14:12:08:559 at Infragistics.Shared.DisposableObject.VerifyNotDisp osed()
at Infragistics.Shared.SubObjectBase.NotifyPropChange (PropChangeInfo trigger)
at Infragistics.Shared.SubObjectBase.NotifyPropChange (Enum propId, PropChangeInfo trigger)
at Infragistics.Win.UltraWinGrid.UltraGridCell.SetVal ueInternal(Object value, Boolean suppressErrorMessagePrompt, Boolean fireInitializeRow, Boolean throwExceptionOnError)
at Infragistics.Win.UltraWinGrid.UltraGridCell.set_Va lue(Object value)
at NinjaTrader.Gui.PositionGridDisplay.UpdateProfitLo ss(Position position, PositionInfo positionInfo)
at NinjaTrader.Gui.PositionGridDisplay.OnRealTimeData Updated(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at NinjaTrader.Cbi.Connection.OnRealtimeDataTimerTick (Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


I'm not sure if I should restart or not, ninja appears to be working still. I can send the complete trace via email if you like.

NinjaTrader_ChristopherJ
07-14-2010, 06:19 AM
Hello cunparis,

Thank you for your post.

Yes please forward your log and trace files to Support [AT] NinjaTrader [DOT] com with "ATTN: Chris" in the subject line.

In the message, please include the following:
1.) A link to this forum thread.
2.) Your most current trace and log files.

You will find the file here: My Documents > NinjaTrader 7 > Trace > trace.YYYYMMDD.txt

Log file will be located by going to Documents->NinjaTrader 7->Log->log.YYYYMMDD.txt

I look forward to assisting you further with this issue.