Index out of bounds exception
Posted: Mon Nov 05, 2007 3:40 pm
Hi
I've encountered a problem using the Tchart (version 1.1.1544.23908).
An unhandled exception is thrown from the application, I am using framework 1.1 so I can't even catch it.
This is the callstack:
Display received exception:System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Steema.TeeChart.Styles.Series.CalcXPos(Int32 index)
at Steema.TeeChart.Styles.CustomPoint.CalcXPos(Int32 valueIndex)
at Steema.TeeChart.Styles.CustomPoint.Clicked(Int32 x, Int32 y)
at Steema.TeeChart.Tools.MarksTip.MouseEvent(MouseEventKinds kind, MouseEventArgs e, Cursor& c)
at Steema.TeeChart.Chart.BroadcastMouseEvent(MouseEventKinds kind, MouseEventArgs e, Cursor& c)
at Steema.TeeChart.Chart.BroadcastMouseEvent(MouseEventKinds kind, MouseEventArgs e)
at Steema.TeeChart.TChart.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
It seems to happen when the application is running but there is no one near the computer, but I'm not so sure if that's the only case where it happens.
I really need your help on this. Unfortuantly security reasons do not allow me to send you a dummy application so you can repruduce it in your computers. Is this problem solved in any of the newer versions?
Thanks for your help.
ilai.
I've encountered a problem using the Tchart (version 1.1.1544.23908).
An unhandled exception is thrown from the application, I am using framework 1.1 so I can't even catch it.
This is the callstack:
Display received exception:System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Steema.TeeChart.Styles.Series.CalcXPos(Int32 index)
at Steema.TeeChart.Styles.CustomPoint.CalcXPos(Int32 valueIndex)
at Steema.TeeChart.Styles.CustomPoint.Clicked(Int32 x, Int32 y)
at Steema.TeeChart.Tools.MarksTip.MouseEvent(MouseEventKinds kind, MouseEventArgs e, Cursor& c)
at Steema.TeeChart.Chart.BroadcastMouseEvent(MouseEventKinds kind, MouseEventArgs e, Cursor& c)
at Steema.TeeChart.Chart.BroadcastMouseEvent(MouseEventKinds kind, MouseEventArgs e)
at Steema.TeeChart.TChart.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
It seems to happen when the application is running but there is no one near the computer, but I'm not so sure if that's the only case where it happens.
I really need your help on this. Unfortuantly security reasons do not allow me to send you a dummy application so you can repruduce it in your computers. Is this problem solved in any of the newer versions?
Thanks for your help.
ilai.