Completed
Last Updated: 08 Jun 2015 03:54 by ADMIN
Stoil
Created on: 06 Jun 2015 12:56
Type: Bug Report
0
Undocking the StepBuilder window crashes Test Studio
Hi guys, 
here are things these days? Here's a bug I found:

Steps to repro:
1) Open Test Studio
2) Create a new project
3) Hover over the StepBuilder button to make the StepBuilder menu appear
4) Select the 'Undock' button from StepBuilder menu
Result: Test Studio crashes. The following exception is thrown:
{code}
[06/06 15:54:37,Telerik.TestStudio.exe(1820:1),Error] App.LogUnhandledException() : EXCEPTION! (see below)
     Situation: Unhandled exception!
     Outer Exception Type: System.InvalidOperationException
     Message: Cannot make floating pane that is not pinned!
     HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
     Call Stack:
          at Telerik.Windows.Controls.RadPane.MakeFloatingDockable()
          at Telerik.TestStudio.RecordView.OnUndockToolWindow(Object sender, EventArgs e)
          at Telerik.TestStudio.RecordViewModel.ExecuteUndock(Object obj)
          at Telerik.TestStudio.DockCommand.Execute(Object parameter)
          at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
          at System.Windows.Controls.Primitives.ButtonBase.OnClick()
          at System.Windows.Controls.Button.OnClick()
          at Telerik.Windows.Controls.RadButton.OnClick()
          at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
          at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
          at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
          at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
          at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
          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.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
          at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
          at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
          at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
          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.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
          at System.Windows.Input.InputManager.ProcessStagingArea()
          at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
          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)
{code}
1 comment
ADMIN
Daniel Djambov
Posted on: 08 Jun 2015 03:52
Telerik: Thanks for the feedback Stoich, we have already fixed this issue and solution will be available in our next product release planned end of June - mid July 2015.