Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual Studio Unit Test failure to start
    text
    copied!<p>I am having an issue when starting the tests under debug mode in Visual Studio 2008 Team Test where it gives the following error:</p> <p>"Failed to queue test run '{user@machinename}': Object reference not set to an instance of an object."</p> <p>I googled for the error but no joy. Don't even understand what it means as it is too brief. Has anyone come across this? </p> <p>Note that I can run tests fine if I am not debugging and I get the same error irrespective of the test I run.</p> <p>Thank you,</p> <p>Swati</p> <p>ETA:</p> <p>Being new to Visual Studio Team Test, I didn't know there was a better exception log then what I was seeing. Anyhow, here it is:</p> <pre><code>&lt;Exception&gt; System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage. ShowToolWindow [T](T&amp;amp; toolWindow, String errorMessage, Boolean show) at Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage. OpenTestResultsToolWindow() at Microsoft.VisualStudio.TestTools.TestCaseManagement.SolutionIntegrationManager. DebugTarget(DebugInfo debugInfo, Boolean prepareEnvironment) at Microsoft.VisualStudio.TestTools.TestManagement.DebugProcessLauncher.Launch( String exeFileName, String args, String workingDir, EventHandler processExitedHandler, Process&amp;amp; process) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.StartProcess( TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.RestartProcess( TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareProcess( TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy. InitializeController(TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.ControllerProxy.QueueTestRunWorker( Object state) &lt;/Exception&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload