Won't Fix
Last Updated: 22 Aug 2016 06:10 by Chad
ADMIN
Cody
Created on: 07 Dec 2015 17:14
Type: Bug Report
0
Customer specific WPF application is crashing during test recording
A customer specific application is crashing as soon as you try to select an item and move to the next window. A copy of the application plus a video demonstration of the problem will be included in the internal bug report. In the Windows Event Viewer is this stack trace.
Application: ClientDebugger.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
   at Telerik.TestStudio.Wpf.RecordingSurface.WpfRecordingSurfaceManager.UnBind()
   at ArtOfTest.WebAii.Design.RemoteRecorder.WpfRemoteRecorder._watcher_WindowDestroyed(System.Object, ArtOfTest.Common.Win32.WindowEventArgs)
   at Telerik.TestingFramework.XamlExtension.TechSpecific.OnWindowClosed(ArtOfTest.Common.Win32.Window)
   at Telerik.TestingFramework.XamlExtension.TechSpecific._watcher_WindowDestroyed(System.Object, ArtOfTest.Common.Win32.WindowEventArgs)
   at ArtOfTest.Common.Win32.WindowWatcher.OnWindowDestroyed(ArtOfTest.Common.Win32.Window)
   at ArtOfTest.Common.Win32.WindowWatcher._windowsWatcherHook_HookInvoked(System.Object, ArtOfTest.Common.Win32.HookEventArgs)
   at ArtOfTest.Common.Win32.LocalWindowsHook.OnHookInvoked(ArtOfTest.Common.Win32.HookEventArgs)
   at ArtOfTest.Common.Win32.LocalWindowsHook.CoreHookProc(Int32, IntPtr, IntPtr)
   at ArtOfTest.Common.Win32.NativeMethods+User32.CallNextHookEx(IntPtr, Int32, IntPtr, IntPtr)
   at ArtOfTest.Common.Win32.LocalWindowsHook.CoreHookProc(Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
   at ArtOfTest.Common.Win32.GenericWindow.WndProc(System.Windows.Forms.Message ByRef)
   at Telerik.TestStudio.Recorder.RecordingSurface.RecorderNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.UnsafeSendMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr)
   at System.Windows.Window.InternalClose(Boolean, Boolean)
   at System.Windows.Window.Close()
   at System.Windows.Window.set_DialogResult(System.Nullable`1<Boolean>)
   at ClientDebugger.ApplicationNameSelectorWindow.btnSelect_Click(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
   at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
   at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
   at ArtOfTest.Common.Win32.GenericWindow.WndProc(System.Windows.Forms.Message ByRef)
   at Telerik.TestStudio.Recorder.RecordingSurface.RecorderNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Window.ShowHelper(System.Object)
   at System.Windows.Window.Show()
   at System.Windows.Window.ShowDialog()
   at ClientDebugger.Program.Main(System.String[])
1 comment
Chad
Posted on: 30 Jan 2016 06:50
Similar issue

   at Telerik.TestStudio.Wpf.RecordingSurface.WpfRecordingSurfaceManager.UnBind()
   at ArtOfTest.WebAii.Design.RemoteRecorder.WpfRemoteRecorder._watcher_WindowDestroyed(Object sender, WindowEventArgs e)
   at Telerik.TestingFramework.XamlExtension.TechSpecific.OnWindowClosed(Window win)
   at Telerik.TestingFramework.XamlExtension.TechSpecific._watcher_WindowDestroyed(Object sender, WindowEventArgs e)
   at ArtOfTest.Common.Win32.WindowWatcher.OnWindowDestroyed(Window window)
   at ArtOfTest.Common.Win32.LocalWindowsHook.OnHookInvoked(HookEventArgs e)
   at ArtOfTest.Common.Win32.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)