I exited and restarted.
I am still receiving the exception when trying to place arrows and lines on the chart.
About every 1 out of three attempts causes the exception.
2009-12-07 09:29:34:006 ********* exception trapped *********
2009-12-07 09:29:34:006 Item has already been added. Key in dictionary: '1A' Key being added: '1A'
2009-12-07 09:29:34:006 at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at NinjaTrader.Gui.Chart.ChartControl.OnChartObjectsI nsertComplete(Object sender, CollectionEventArgs e)
at NinjaTrader.Cbi.NTCollection.OnInsertComplete(Int3 2 index, Object item)
at System.Collections.CollectionBase.System.Collectio ns.IList.Add(Object value)
at NinjaTrader.Gui.Chart.ChartObjectCollection.Add(Ch artObject chartObject)
at NinjaTrader.Gui.Chart.ChartControl.OnMouseDown(Obj ect sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEven tArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
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)
2009-12-07 09:40:01:051 in OnUnhandledThreadException
2009-12-07 09:40:01:051 ********* exception trapped *********
2009-12-07 09:40:01:051 Item has already been added. Key in dictionary: '1B' Key being added: '1B'
2009-12-07 09:40:01:051 at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at NinjaTrader.Gui.Chart.ChartControl.OnChartObjectsI nsertComplete(Object sender, CollectionEventArgs e)
at NinjaTrader.Cbi.NTCollection.OnInsertComplete(Int3 2 index, Object item)
at System.Collections.CollectionBase.System.Collectio ns.IList.Add(Object value)
at NinjaTrader.Gui.Chart.ChartObjectCollection.Add(Ch artObject chartObject)
at NinjaTrader.Gui.Chart.ChartControl.OnMouseDown(Obj ect sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEven tArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
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)
2009-12-07 09:40:43:749 in OnUnhandledThreadException
2009-12-07 09:40:43:749 ********* exception trapped *********
2009-12-07 09:40:43:749 Item has already been added. Key in dictionary: '1D' Key being added: '1D'
2009-12-07 09:40:43:749 at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at NinjaTrader.Gui.Chart.ChartControl.OnChartObjectsI nsertComplete(Object sender, CollectionEventArgs e)
at NinjaTrader.Cbi.NTCollection.OnInsertComplete(Int3 2 index, Object item)
at System.Collections.CollectionBase.System.Collectio ns.IList.Add(Object value)
at NinjaTrader.Gui.Chart.ChartObjectCollection.Add(Ch artObject chartObject)
at NinjaTrader.Gui.Chart.ChartControl.OnMouseDown(Obj ect sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEven tArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
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)

Comment