1

Closed

Null Exception with 1.2

description

I have just installed a new computer, with all my development tools, including this extension that I already find indispensable. But as soon as there is something to color in the output pane, Visual Studio reports an exception, and after enabling the log it appears that this is related to VSColorOutput. i can confirm that disabling the extensions fixes the problem - Visual Studio stops reporting exceptions. Here is the error stack trace that appears many times over in the log file:

System.NullReferenceException: Object reference not set to an instance of an object.
 at BlueOnionSoftware.RegistryKeyImpl.GetValue(String name)
 at BlueOnionSoftware.Settings.Load()
 at BlueOnionSoftware.OutputClassifier.LoadClassifiers()
 at BlueOnionSoftware.OutputClassifier.GetClassificationSpans(SnapshotSpan span)
 at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTagger.<GetTags>d__0.MoveNext()
 at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__16.MoveNext()

I have attached the associated log file, for good measure.

Closed Jan 25 at 12:14 PM by blueonion
Fixed in Version 1.3

comments

igorfrance wrote Jan 25 at 6:21 AM

Looks fixed, Visual Studio doesn't issue exception reports anymore. Thanks!

blueonion wrote Jan 24 at 11:17 PM

Please download Version 1.3 and check if this issue is fixed.

blueonion wrote Jan 24 at 12:33 PM

Yeah! A stack trace. I see the problem now.