Profile Picture

Chart crashed during mouse-move

Posted By Neil Rickards 14 Years Ago
Author
Message
Neil Rickards
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 6, Visits: 1
My application crashed today and the call stack suggests it was due to a mouse-move event being improperly handled by a Nevron chart that was not yet populated with data. Call stack below - any thoughts?

2010-12-01 11:22:49,220 FATAL ####.App - Unhandled Exception
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Nevron.Chart.NScaleRuler.lIlIIllIll(Double value)
at Nevron.Chart.NScaleRuler.ScaleToLogical(Double coordinate)
at Nevron.Chart.NViewToScale1DTransformation.Transform(NPointF pointView, Double& value)
at Nevron.Chart.NAxisCursor.SetValueFromViewPoint(NChartRenderingContext context, NPointF point)
at Nevron.Chart.NAxisCursor.OnMouseMove(NMouseEventArgs e)
at Nevron.Chart.WinForm.NDataCursorTool.OnMouseMove(Object sender, MouseEventArgs e)
at Nevron.Chart.WinForm.NController.OnMouseMove(Object sender, MouseEventArgs e)
at Nevron.Chart.WinForm.NChartControl.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at CreditAlpha.App.Main() in C:\Dev\NewCreditAlpha\Credit Alpha\obj\x86\Debug\App.g.cs:line 0
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()





Similar Topics


Reading This Topic