Internal Exception
Posted: Tue Jul 23, 2019 3:32 pm
Hi, I encounter sporadic exceptions that I cannot handle in v8.4.2 (it was not happening in v8.3.1).
It's hard to tell from which chart it comes from with certainty as we use three simultaneously (curve trace, scatterplot and heatmap) however it happens while the compenents are being drawn, unfortunately the problem cannot be reproduced at will.
Here are the exception details:
> Message: Catched a null reference exception.: Object reference not set to an instance of an object.
> Source: Arction.Wpf.Charting.LightningChartUltimate
> StackTrace: at Arction.Wpf.Charting.LightningChartUltimate.CIC(MessageSeverity A, MessageType C, Object F, String H, String I, Boolean J, Exception K)
at Arction.Wpf.Charting.LightningChartUltimate.GVC()
at Arction.Wpf.Charting.LightningChartUltimate.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
at System.Windows.ContextLayoutManager.fireSizeChangedEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> TargetSite: Void CIC(Arction.Wpf.Charting.MessageSeverity, Arction.Wpf.Charting.MessageType, System.Object, System.String, System.String, Boolean, System.Exception)
-------------------- Inner Exception --------------------
> Message: Object reference not set to an instance of an object.
> Source: Arction.Wpf.Charting.LightningChartUltimate
> StackTrace: at Arction.Wpf.Charting.LightningChartUltimate.RDD(Int32 A, Int32 C, Boolean F, Boolean H, Int32 I, Double J, Double K, Double L, Rectangle M, AxisX O, Int32 P)
at Arction.Wpf.Charting.LightningChartUltimate.QDD(Int32 A, Int32 C, Boolean F, Boolean H, Int32 I, AxisX J, List`1 K)
at Arction.Wpf.Charting.LightningChartUltimate.NDD()
at Arction.Wpf.Charting.LightningChartUltimate.GVC()
> TargetSite: Void RDD(Int32, Int32, Boolean, Boolean, Int32, Double, Double, Double, System.Drawing.Rectangle, Arction.Wpf.Charting.Axes.AxisX, Int32)
It's hard to tell from which chart it comes from with certainty as we use three simultaneously (curve trace, scatterplot and heatmap) however it happens while the compenents are being drawn, unfortunately the problem cannot be reproduced at will.
Here are the exception details:
> Message: Catched a null reference exception.: Object reference not set to an instance of an object.
> Source: Arction.Wpf.Charting.LightningChartUltimate
> StackTrace: at Arction.Wpf.Charting.LightningChartUltimate.CIC(MessageSeverity A, MessageType C, Object F, String H, String I, Boolean J, Exception K)
at Arction.Wpf.Charting.LightningChartUltimate.GVC()
at Arction.Wpf.Charting.LightningChartUltimate.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
at System.Windows.ContextLayoutManager.fireSizeChangedEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> TargetSite: Void CIC(Arction.Wpf.Charting.MessageSeverity, Arction.Wpf.Charting.MessageType, System.Object, System.String, System.String, Boolean, System.Exception)
-------------------- Inner Exception --------------------
> Message: Object reference not set to an instance of an object.
> Source: Arction.Wpf.Charting.LightningChartUltimate
> StackTrace: at Arction.Wpf.Charting.LightningChartUltimate.RDD(Int32 A, Int32 C, Boolean F, Boolean H, Int32 I, Double J, Double K, Double L, Rectangle M, AxisX O, Int32 P)
at Arction.Wpf.Charting.LightningChartUltimate.QDD(Int32 A, Int32 C, Boolean F, Boolean H, Int32 I, AxisX J, List`1 K)
at Arction.Wpf.Charting.LightningChartUltimate.NDD()
at Arction.Wpf.Charting.LightningChartUltimate.GVC()
> TargetSite: Void RDD(Int32, Int32, Boolean, Boolean, Int32, Double, Double, Double, System.Drawing.Rectangle, Arction.Wpf.Charting.Axes.AxisX, Int32)