在Test Suite中创建新工作项时MTM崩溃 [英] MTM crashes when creating new work item in Test Suite

查看:67
本文介绍了在Test Suite中创建新工作项时MTM崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的复制步骤很简单.我打开MTM,然后在计划"中选择一个测试套件,然后在测试套件"内容窗格中,单击新建".创建一个新的测试用例.单击新建"按钮后,我看到此未处理的异常并导致MTM崩溃.

My repro steps are simple. I open MTM and in Plan, I select a Test Suite, and then in the Test Suite content pane, I click "New" to create a new Test Case. Upon clicking the New button, I see this unhandled exception and MTM crashes.

程序集"Microsoft.TeamFoundation.TestManagement.Activities.Common"中版本"Microsoft.TeamFoundation.TestManagement.Activities.Common.WorkitemServiceProvider"中的方法"add_WorkItemDisposed",版本= 10.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a 没有实现.

Method 'add_WorkItemDisposing' in type 'Microsoft.TeamFoundation.TestManagement.Activities.Common.WorkitemServiceProvider' from assembly 'Microsoft.TeamFoundation.TestManagement.Activities.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.

 在Microsoft.TeamFoundation.TestManagement.Activities.Common.EditWorkitemActivity..ctor(WorkItem workItem)
  在Microsoft.TeamFoundation.TestManagement.Activities.Common.ViewWorkItemAction.Perform(WorkItem workItem)
  在Microsoft.TeamFoundation.TestManagement.Activities.Common.CreateTestCaseAction.Perform()
  在Microsoft.TeamFoundation.TestManagement.Activities.ManageTestSuitesActivity.AddNewTestCaseToSelectedTestSuite(TestCasesModifiedCallback回调)
  在Microsoft.TeamFoundation.TestManagement.Activities.ManageTestSuitesView.AddNewTestButton_Click(Object sender,RoutedEventArgs e)中
  在System.Windows.RoutedEventHandlerInfo.InvokeHandler(对象目标,RoutedEventArgs routedEventArgs)处
  在System.Windows.EventRoute.InvokeHandlersImpl(对象源,RoutedEventArgs参数,布尔值重新引发)
  在System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,RoutedEventArgs args)处
  在System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)处
  在System.Windows.Controls.Primitives.ButtonBase.OnClick()
  在System.Windows.Controls.Button.OnClick()
  在System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)中
  在System.Windows.UIElement.OnMouseLeftButtonUpThunk(对象发送方,MouseButtonEventArgs e)中
  在System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler,Object genericTarget)
  在System.Windows.RoutedEventArgs.InvokeHandler(委托处理程序,对象目标)上
  在System.Windows.RoutedEventHandlerInfo.InvokeHandler(对象目标,RoutedEventArgs routedEventArgs)处
  在System.Windows.EventRoute.InvokeHandlersImpl(对象源,RoutedEventArgs参数,布尔值重新引发)
  在System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender,RoutedEventArgs args,RoutedEvent newEvent)
  在System.Windows.UIElement.OnMouseUpThunk(Object sender,MouseButtonEventArgs e)中
  在System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler,Object genericTarget)
  在System.Windows.RoutedEventArgs.InvokeHandler(委托处理程序,对象目标)上
  在System.Windows.RoutedEventHandlerInfo.InvokeHandler(对象目标,RoutedEventArgs routedEventArgs)处
  在System.Windows.EventRoute.InvokeHandlersImpl(对象源,RoutedEventArgs参数,布尔值重新引发)
  在System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,RoutedEventArgs args)处
  在System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)中
  在System.Windows.UIElement.RaiseEvent(RoutedEventArgs args,布尔值受信任)上
  在System.Windows.Input.InputManager.ProcessStagingArea()处
  在System.Windows.Input.InputManager.ProcessInput(InputEventArgs输入)处
  在System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
  在System.Windows.Interop.HwndMouseInputProvider.ReportInput上(IntPtr hwnd,InputMode模式,Int32时间戳,RawMouseActions操作,Int32 x,Int32 y,Int32滚轮)
  在System.Windows.Interop.HwndMouseInputProvider.FilterMessage处(IntPtr hwnd,WindowMessage msg,IntPtr wParam,IntPtr lParam,布尔值和已处理)
  在System.Windows.Interop.HwndSource.InputFilterMessage处(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam,布尔值和已处理)
  在MS.Win32.HwndWrapper.WndProc中(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam,布尔值和已处理)
  在MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  在System.Windows.Threading.ExceptionWrapper.InternalRealCall处(委托回调,对象args,Int32 numArgs)
  在MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象源,委托方法,对象args,Int32 numArgs,委托catchHandler)
  在System.Windows.Threading.Dispatcher.LegacyInvokeImpl中(DispatcherPriority优先级,TimeSpan超时,Delegate方法,对象args,Int32 numArgs)
  在MS.Win32.HwndSubclass.SubclassWndProc处(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr lParam)
  在MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
  在System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)处
  在System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame框架)处
  在System.Windows.Threading.Dispatcher.Run()处
  在System.Windows.Application.RunDispatcher(对象忽略)上
  在System.Windows.Application.RunInternal(窗口窗口)
  在System.Windows.Application.Run(窗口窗口)中
  在Microsoft.TeamFoundation.TestManagement.Shells.WpfShell.SingleInstanceWrapper.Launch(String [] args,Boolean isFirstInstance)
  在Microsoft.VisualStudio.TestTools.Common.SingleInstance.SingleInstanceApplicationManager.Run(String appId,String applicationTitle,LaunchAction操作,String [] args)
  在Microsoft.TeamFoundation.TestManagement.Shells.WpfShell.SingleInstanceWrapper.Main(String [] args)

  at Microsoft.TeamFoundation.TestManagement.Activities.Common.EditWorkitemActivity..ctor(WorkItem workItem)
   at Microsoft.TeamFoundation.TestManagement.Activities.Common.ViewWorkItemAction.Perform(WorkItem workItem)
   at Microsoft.TeamFoundation.TestManagement.Activities.Common.CreateTestCaseAction.Perform()
   at Microsoft.TeamFoundation.TestManagement.Activities.ManageTestSuitesActivity.AddNewTestCaseToSelectedTestSuite(TestCasesModifiedCallback callback)
   at Microsoft.TeamFoundation.TestManagement.Activities.ManageTestSuitesView.AddNewTestButton_Click(Object sender, RoutedEventArgs e)
   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.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Microsoft.TeamFoundation.TestManagement.Shells.WpfShell.SingleInstanceWrapper.Launch(String[] args, Boolean isFirstInstance)
   at Microsoft.VisualStudio.TestTools.Common.SingleInstance.SingleInstanceApplicationManager.Run(String appId, String applicationTitle, LaunchAction action, String[] args)
   at Microsoft.TeamFoundation.TestManagement.Shells.WpfShell.SingleInstanceWrapper.Main(String[] args)

推荐答案

Alex,

我已将此问题传递给了一群人,以查看是否有人看到此问题会尽快回复您.

I have passed this on to a group of people to see if anyone has seen this issue will get back to you soon.

Willow63


这篇关于在Test Suite中创建新工作项时MTM崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆