Visual Studio 2019 16.5.4 with VSSonarExtension 8.1.0 crashes when opening LiveShare session

  • Visual Studio Enterprise 2019 16.5.4
  • VSSonarExtension 8.1.0
  • devenv.exe crash, errors in Windows EventViewer:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IndexOutOfRangeException
at VSSonarQubeExtension.Helpers.VsPropertiesHelper.GetProperFilePathCapitalization(System.String)
at VSSonarQubeExtension.Helpers.VsPropertiesHelper.ActiveSolutionPath()
at VSSonarQubeExtension.Helpers.VsEvents+d__21.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_1(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Faulting application name: devenv.exe, version: 16.5.30011.22, time stamp: 0x5e928a4c
Faulting module name: KERNELBASE.dll, version: 10.0.18362.778, time stamp: 0x692cf0ab
Exception code: 0xe0434352
Fault offset: 0x00114192
Faulting process id: 0x49e8
Faulting application start time: 0x01d61d23d1dec20c
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: aeabef70-b2ca-4f04-9870-d3c5eb77c49f
Faulting package full name:
Faulting package-relative application ID:

Reproduce steps:

Get invited to Live Share session
Open the link from the brower.
The link open Visual Studio 2019
Do nothing
crash

Hi @azadro. Welcome to the community!

It looks like that exception is coming from the VSSonarExtension2019 extension.That extension is written by a third-party, not SonarSource, so you’ll need to contact them for support.

FYI the SonarSource extension for Visual Studio is called SonarLint.

1 Like

This topic was automatically closed after 9 days. New replies are no longer allowed.