Microsoft has gathered some Crash Issues with the Test Manager and has released a patch that fix these issues.
The link to download: http://support.microsoft.com/kb/2387011
The issues target in this fix are: (Taken from Microsoft Site)
Crashes and exceptions
Issue 1
When you perform operations to work items in Test Manager, Test Manager may crash, and then you receive the following error message:
The specified Visual is not an ancestor of this Visual.
When this issue occurs, the stack trace resembles the following:
at System.Windows.Media.Visual.TrySimpleTransformToAncestor()
at System.Windows.Media.Visual.InternalTransformToAncestor()
at Microsoft.TeamFoundation.TestManagement.Client.WpfControls.WindowsFormsHostEx.GetViewport()
at Microsoft.TeamFoundation.TestManagement.Client.WpfControls.WindowsFormsHostEx.ClipContentToScrollViewer()
at Microsoft.TeamFoundation.TestManagement.Client.WpfControls.WindowsFormsHostEx.Invalidate()
at Microsoft.TeamFoundation.TestManagement.Controls.WpfWorkItemControls.WpfWorkItemTabControl.
<>c__DisplayClass2.<InvalidateLegacyControls>b__0()
Issue 2
When you try to edit an invalid query by using Test Manager, a Microsoft.TeamFoundation.TestManagement.Client.Runtime.VisualizationCannotBeCreatedException exception occurs, and then you receive the following error message:
Failed to create the UI element of following type: Microsoft.TeamFoundation.TestManagement.Activities.SelectWorkItemsPartView.
Additionally, you have to restart Test Manager to recover from this issue.
Issue 3
When you try to close a test case dialog box, Test Manager may crash after you select Don't Save in the test case dialog box.
Issue 4
After you update the Properties settings of the test plan, the data becomes corrupted. For example, the information in the Owners combo box might be incorrect.
Issue 5
Consider the following scenario:
- You delete a configuration variable. The configuration variable has no value for the Allowed Values field.
- You try to open the configuration in the Test Configuration Manager page.
In this scenario, a
Microsoft.TeamFoundation.TestManagement.Client.TestManagementValidationException exception occurs, and then you receive the following error message:
The test variable contains a value that is not valid.
Issue 6
When you try to delete an iteration of a test case by using the shortcut menu in Test Manager, Test Manager may crash.
Note If you debug the problem, a System.Data.DeletedRowInaccessibleException exception occurs, and then you receive the following error message:
Deleted row information cannot be accessed through the row.
The following is the stack trace when this issue occurs:
at System.Data.DataRow.GetDefaultRecord()
at System.Data.DataRow.get_Item()
at Microsoft.TeamFoundation.TestManagement.Client.TestCase.HasDataSetChanged()
at Microsoft.TeamFoundation.TestManagement.Client.TestCase.Flush()
at Microsoft.TeamFoundation.TestManagement.Controls.TestStepsPart.set_Dirty()
at Microsoft.TeamFoundation.TestManagement.Controls.TestStepsPart.SetDirtyHandler()
at Microsoft.TeamFoundation.TestManagement.Controls.BaseActionItem.OnSetDirty()
at Microsoft.TeamFoundation.TestManagement.Controls.DeleteIterationActon.Perform
at Microsoft.TeamFoundation.TestManagement.Controls.TestStepsCustomControl.ContextMenuClickHandler()
at System.Windows.RoutedEventHandlerInfo.InvokeHandler()
at System.Windows.EventRoute.InvokeHandlersImpl()
Issue 7
When you try to assign a build that has an unassigned drop folder to a test plan in Test Manager, Test Manager may crash.
Issue 8
When you perform an operation in Test Manager, a Dr. Watson error may occur, and then you receive the following error message:
Application: mtm.exe
Event type: Clr20r3
Exception code: system.argumentexception
FAULT SYMBOL:
MICROSOFT.TEAMFOUNDATION.TESTMANAGEMENT.COMMON.NI.DLL!Microsoft.TeamFoundation.TestManagement.Common.KeyedObservableCollection_2[[System.Int32,_mscorlib]]
Issue 9
When you perform an operation in Test Manager, a Dr. Watson error may occur, and then you receive the following error message:
Application: mtm.exe
Event type: Clr20r3
Exception code: system.exception
FAULT SYMBOL:
MICROSOFT.VISUALSTUDIO.TESTTOOLS.MANUALTEST.COMMON.DLL!Microsoft.VisualStudio.TestTools.ManualTest.Common.TestPointCollectionViewModel.set_ActiveIteration
Issue 10
When you perform an operation in Test Manager, a Dr. Watson error may occur, and then you receive the following error message:
Application: mtm.exe
Event type: Clr20r3
Exception code: System.ComponentModel.Win32
FAULT SYMBOL:
MICROSOFT.VISUALSTUDIO.QUALITYTOOLS.COMMON.NI.DLL!Microsoft.VisualStudio.TestTools.Common.SingleInstance.RunningObjectTable.GetObject
Issue 11
When you insert a new step in a test case that contains some parameters, data corruption occurs. For example, an iteration of a parameter disappears.
Memory leaks
Issue 1
When you repeatedly open and close a work item that includes a webpage control in the template, the Test Manager process leaks memory.
Issue 2
Consider the following scenario:
- You have a manual test process that is in several steps in Test Manager.
- You run the manual test process for a long time while you open an instance of an application. For example, you run the manual test process for a long time while you open an instance of Microsoft Visual Studio.
In this scenario, the process leaks memory, and the process may grow by hundreds of megabytes (MB).
Issue 3
When you run a test case in Test Manager while an instance of an application is running, the MTM.exe process leaks memory and may grow by hundreds of megabytes. For example, you run a test case in Test Manager while an instance of a Visual Studio 2010 is running.
Issue 4
When you run concurrent operations for several hours in Test Manager, you may receive an Out-of-Memory exception, and then Test Manager crashes.
Issue 5
When you add many test cases to a test suite, a memory leak occurs.
Other issues
Issue 1
After you close the Test Case Manager page, the test cases continue to be downloaded from Microsoft Team Foundation Server (TFS).
Issue 2
When you run a test case, and when the Assigned To field in the test case is empty, you receive the following error message:
Object reference not set to instance of object.
Additionally, the test case returns no data.
Issue 3
Test Manager does not have a feature to let you type a fractional number in a Double data type field of a work item.
Issue 4
An automated test case from a build-drop path requires a long time to load.
Issue 5
When a test result is published on a test suite that contains thousands of test cases in Test Manager, the publishing operation is slow.
Issue 6
When you connect Test Manager to a Team Foundation Server (TFS) server, you may receive the following error message:
Automatic connection to the following team project failed: <project_name> on server <tfs server>.
Have Fun!!!