- ago
Closing a chart window with attached strategy. Build 22 with latest IB provider.
Please let me know if there is a debugging mode or log files I can share.

CODE:
System.NullReferenceException: Object reference not set to an instance of an object. at WealthLab.WPF.MDIChild.ViewReadableIterator(Object , Object ) at WealthLab.WPF.MDIChild.PopReflectiveInterceptor(Object config, MouseButtonEventArgs vis) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(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)



0
103
Solved
5 Replies

Reply

Bookmark

Sort
Glitch7
 ( 89.64% )
- ago
#1
Thanks, will take a look!
0
Cone7
 ( 43.16% )
- ago
#2
Can't duplicate that.
How about sharing a screen shot of the window with all the panes shown before you close it?
0
Glitch7
 ( 89.64% )
- ago
#3
From the stack trace it looks like it's happening as the window is closing, but it gets clicked again with the mouse. I added some defensive code for that for Build 24 so hopefully that resolves this.
0
Best Answer
- ago
#4
That's a great idea!
Please let me know if there is a way to turn on debugging or send logs.
0
Glitch7
 ( 89.64% )
- ago
#5
What you provided was already enough for us, thanks. I believe it should be resolved in Build 24.
0

Reply

Bookmark

Sort