Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-291929: Running tests with Resharper produces VSTTExceptions

$
0
0
Reporter Charlie Hairston (charlieh) Charlie Hairston (charlieh)
Created Mar 26, 2012 8:32:25 PM
Updated Mar 26, 2012 8:33:14 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions 6.1, 6.1.1
Fixed in build No Fixed in build
After upgrading to Resharper 6 or 6.1, I am getting these exceptions when I use Resharper to run tests:

exception

The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

(JetBrains.ReSharper.TaskRunner.CLR4.exe, PID 4152, Thread 7) DataCollectorNotificationsHelper.RaiseTestFailedEvent: Exception occured raising the test failed event: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.VisualStudio.TestTools.Execution.AgentDataCollectorNotifications.RaiseTestFailedEvent(ITestElement testCase, TestCaseFailureType failureType)
   at Microsoft.VisualStudio.TestTools.TestTypes.Unit.DataCollectorNotificationsHelper.RaiseTestFailedEvent(ITestElement test, TestCaseFailureType failureType)
   at Microsoft.VisualStudio.TestTools.TestTypes.Unit.DataCollectorNotificationsHelper.RaiseTestFailedEvent(TestCaseFailureType failureType)

the message resource is present but the message is not found in the string/message table

/ exception


Other users have suggested creating the C:\Program Files (x86)\JetBrains\ReSharper\v6.1\Bin\PrivateAssemblies directory manually. When I do this, the exception message changes to say that it cannot create a DataCollectionHelper. But I'm still getting exceptions, still in JetBrains.

When I run my tests using MSTest, I am not getting any exceptions.

Thanks,
Charlie

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>