XProtect Client Exception

Hello,

I am getting the following exception when I move away from the Live Tab any other tab. Please let me know what is the issue, may be something is wrong in my code.

Thanks

Giridhar

************** Exception Text **************

************** Outer Exception **************

Exception type:System.NullReferenceException

Exception message:Object reference not set to an instance of an object.

Exception source:VideoOS.Platform

Exception Target Site: ScrollableWindowsFormsHost_Loaded

at VideoOS.Platform.UI.ScrollableWindowsFormsHost.ScrollableWindowsFormsHost_Loaded(Object sender, RoutedEventArgs e)

at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)

at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)

at MS.Internal.LoadedOrUnloadedOperation.DoWork()

at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()

at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)

at System.Windows.Interop.HwndTarget.OnResize()

at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)

************** System Info **************

Date and time: 21-11-2017 14:58:16

Machine Name: T440P

Processors count: 8

OS version: Microsoft Windows NT 6.2.9200.0

64 bit OS: True

64 bit process: True

IP address: fe80::61f2:5a70:b167:e9f5%22 (Giri-t440p)

I am guessing it happen when using your plugin but does not happen when not using your plugin, correct?

Run the plugin in debug and catch the exception, what is the last actions done?

If you have not tried this before see the notes in Plug-in Development -Getting Started - “Start Debugging from Visual Studio This Way:”