Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Indicators have vanished
JonCanning
#1 Posted : Thursday, December 1, 2011 12:16:35 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/1/2011(UTC)
Posts: 5

I've been using NCrunch successfully for a few weeks, then my indicators vanished. I uninstalled, searched for and deleted all related files, and reinstalled, but still no indicators. What gives?!

Cheers
Remco
#2 Posted : Thursday, December 1, 2011 9:56:15 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,138

Thanks: 795 times
Was thanked: 1050 time(s) in 1000 post(s)
Hi Jon, thanks for posting.

Do you see any errors or unusual activity in the processing queue window? It may be that you have an error something happening that is preventing NCrunch from building your project. You can also try turning on the logging of text to an output window (in your global configuration), then check in the NCrunch debug output window to see if there's any errors appearing there.
JonCanning
#3 Posted : Thursday, December 1, 2011 10:04:54 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/1/2011(UTC)
Posts: 5

[22:03:14.5917-UI-1] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
at nCrunch.VSAddIn.UI.Model.EditorDocument.DocumentChanged(Boolean mappingInformationAvailable)
at nCrunch.VSAddIn.UI.EditorWindow.OnChangeLineText(TextLineChange[] pTextLineChange, Int32 fLast)

Does that help?
Remco
#4 Posted : Thursday, December 1, 2011 10:47:18 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,138

Thanks: 795 times
Was thanked: 1050 time(s) in 1000 post(s)
That does help enormously. Would you mind submitting a bug report? This looks like an issue with the engine. Most likely this is being caused by a specific document that you have open in your IDE - does closing all documents and restarting your IDE temporarily remove the problem?
JonCanning
#5 Posted : Friday, December 2, 2011 6:10:42 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/1/2011(UTC)
Posts: 5

No, have tried restarting many times but no change
Remco
#6 Posted : Friday, December 2, 2011 9:00:56 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,138

Thanks: 795 times
Was thanked: 1050 time(s) in 1000 post(s)
Thanks - did you have any luck sending a bug report? This can help me to figure out why it's failing.
Remco
#7 Posted : Sunday, December 4, 2011 10:37:00 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,138

Thanks: 795 times
Was thanked: 1050 time(s) in 1000 post(s)
I received the bug report and had a look at the trace. It looks as though this is being caused by some kind of plug-in clash.

Are you able to let me know which other plugins you have installed in VS2010?
JonCanning
#8 Posted : Sunday, December 4, 2011 11:33:22 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/1/2011(UTC)
Posts: 5

Resharper and git extensions
Remco
#9 Posted : Monday, December 5, 2011 12:17:38 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,138

Thanks: 795 times
Was thanked: 1050 time(s) in 1000 post(s)
Were either of these plugins installed around the same time that NCrunch stopped working? Or have there been any other changes to your Visual Studio installation (i.e. service pack install) that happened about this time?
JonCanning
#10 Posted : Monday, December 5, 2011 7:26:33 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/1/2011(UTC)
Posts: 5

Git extensions, though I did try removing it thinking that it might be the problem but no change
Remco
#11 Posted : Monday, December 5, 2011 8:23:30 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,138

Thanks: 795 times
Was thanked: 1050 time(s) in 1000 post(s)
Ok - essentially the issue is being caused by a VS service that is failing to properly add the adornment layer that NCrunch uses for placing the coverage markers onscreen. I've tried somewhat to reproduce this issue in my development environment but have had no luck with this. The issue itself has also been reported for other VS plugins that use adornment layers and so far no one seems to have managed to discover the actual cause. I suspect that somehow the state of your VS installation (whether through plugins or abnormal system activity) may have been corrupted.

The best suggestion I can give at this stage would be to try reinstalling Visual Studio and reloading your plugins one at a time (starting with NCrunch) to see if this either solves the problem or narrows it down. Sorry, I wish I could offer a less expensive problem solving approach but an elusive issue such as this one doesn't give us many options.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.051 seconds.