sometimes during the day I get an error message of an unhandled exception as soon as I activate one of my charts. If I close the message window and activate the same chart again it repeats but only for this one chart.
The only speciality of this chart in my opinion is that is contains two data series of the same instrument (Range + Min Bars).
If I interpret the trace entries correctly the message comes from Windows somehow:
2024-01-31 09:50:38:901 *************** unhandled exception trapped *************** 2024-01-31 09:50:38:901 Value cannot be null. Parameter name: handler 2024-01-31 09:50:38:901 System.ArgumentNullException: Value cannot be null. Parameter name: handler at System.Windows.EventRoute.Add(Object target, Delegate handler, Boolean handledEventsToo) at System.Windows.UIElement.AddToEventRoute(EventRout e route, RoutedEventArgs e) at System.Windows.UIElement.BuildRouteHelper(Dependen cyObject e, EventRoute route, RoutedEventArgs args) at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args) at System.Windows.Input.InputManager.ProcessStagingAr ea() at System.Windows.Input.InputManager.ProcessInput(Inp utEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.Repo rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.Filt erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessa ge(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.Internal RealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2024-01-31 09:51:07:139 *************** unhandled exception trapped *************** 2024-01-31 09:51:07:139 Value cannot be null. Parameter name: handler 2024-01-31 09:51:07:139 System.ArgumentNullException: Value cannot be null. Parameter name: handler at System.Windows.EventRoute.Add(Object target, Delegate handler, Boolean handledEventsToo) at System.Windows.UIElement.AddToEventRoute(EventRout e route, RoutedEventArgs e) at System.Windows.UIElement.BuildRouteHelper(Dependen cyObject e, EventRoute route, RoutedEventArgs args) at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args) at System.Windows.Input.InputManager.ProcessStagingAr ea() at System.Windows.Input.InputManager.ProcessInput(Inp utEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.Repo rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.Filt erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessa ge(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.Internal RealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2024-01-31 09:53:30:531 Shutting down NinjaTrader
Many thanks
Comment