netcodemetrics icon indicating copy to clipboard operation
netcodemetrics copied to clipboard

Problem loading the extension in VS2017 Enterprise Update 3 (version 15.3.2)

Open andez2000 opened this issue 7 years ago • 1 comments

I get the Visual Studio messagebox saying an extension has caused an issue when loading my .net core 2 project. When I check the Activity Log I get the following:

<entry>
    <record>631</record>
    <time>2017/08/23 13:56:32.423</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.NullReferenceException: Object reference not set to an instance of an object.&#x000D;&#x000A;   at CodeMetrics.Adornments.MetricsAdornment.RepaintComplexity(ITextSnapshot textSnapshot)&#x000D;&#x000A;   at CodeMetrics.Adornments.MetricsAdornment.OnLayoutChanged(Object sender, TextViewLayoutChangedEventArgs e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>

There are a number of errors. I've attached the full log file. This is pretty much a vanilla install with no other extensions downloaded and installed. Any thoughts on this?

andez2000 avatar Aug 23 '17 14:08 andez2000

A possible fix to this issue is in version 0.9.1.1

elishalom avatar Mar 11 '20 14:03 elishalom