Giter VIP home page Giter VIP logo

Comments (11)

kreso22 avatar kreso22 commented on June 18, 2024 2

I confirm having same problem.
Intellisense shows 'Loading...' for 10 seconds or more. Every single time I use it.
Also, I noticed references are not shown.

[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[359..359)' Parameter name: diagnostics System.ArgumentException: Diagnostic must have span '[359..359)' Parameter name: diagnostics at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x117101120 + 0x00417> in :0
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x117100e80 + 0x00057> in :0
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x117100e20 + 0x00042> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__2.MoveNext () <0x117100000 + 0x0080c> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x117101fb0 + 0x0001f> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetActions>d__0.MoveNext () <0x116ef8ad0 + 0x00614> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x10546f3a0 + 0x00017> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+d__4.MoveNext () <0x116ef6300 + 0x00182> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x10546f3a0 + 0x00017> in <filename unknown>:0 at OmniSharp.Middleware.Endpoint.EndpointHandler2+d__18[TRequest,TResponse].MoveNext () <0x10dbada50 + 0x00421> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x10546f3a0 + 0x00017> in <filename unknown>:0 at OmniSharp.Middleware.Endpoint.EndpointHandler2+d__16[TRequest,TResponse].MoveNext () <0x10dbaa690 + 0x0093f> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x10546f3a0 + 0x00017> in <filename unknown>:0 at OmniSharp.Middleware.EndpointMiddleware+<Invoke>d__7.MoveNext () <0x10dba5340 + 0x002b2> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () <0x10546f060 + 0x00012> in <filename unknown>:0 at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+<Invoke>d__4.MoveNext () <0x10dba2c80 + 0x003db> in <filename unknown>:0 [INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 39ms

from vscode-csharp.

Figbash avatar Figbash commented on June 18, 2024 1

Hi all, is there anything at all I can do to help track down this bug? I am still stuck on Code .10.3, .10.7 still has the same issue. I would kill for a fix!

from vscode-csharp.

Figbash avatar Figbash commented on June 18, 2024

Not 100% sure if this is identical, but .10.9 is doing the same thing. This is now happening on a much smaller project.

Below is the output from .10.9:

Diagnostic must have span '[7479..7479)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7479..7479)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 10ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7482..7482)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7482..7482)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 10ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 105ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 49ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7524..7524)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7524..7524)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 16ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 25ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 80ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 70ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 11ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 43ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7450..7450)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7450..7450)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 121ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 232ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 291ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 23ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 32ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 23ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 551ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 122ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 103ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 960ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 31ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 97ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 24ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 68ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 24ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 45ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 21ms

from vscode-csharp.

DustinCampbell avatar DustinCampbell commented on June 18, 2024

I realize that it's been a long while since there was an update on this issue. Are you still experiencing this problem? Note that we've just released a beta of the next release, v1.3.0-beta1. Please try that out and let us know if it works better for you.

from vscode-csharp.

Figbash avatar Figbash commented on June 18, 2024

@DustinCampbell I just tried 1.3.0b1 and same issue. I'm not seeing any output in the omnisharp log when it happens though. I can make it happen almost every time when I save the the file I'm working on.
Here is a video of the issue using 1.3.0b1 and Code Insiders 1.4.0. I am holding the command key the entire time:
VSCodeBug.mov.zip

from vscode-csharp.

BazIdle avatar BazIdle commented on June 18, 2024

@DustinCampbell Tried out 1.3.0b1 as well. Fresh VSCode install, the same project I was trying to work with the last time I investigated the issue.

Seems like OmniSharp doesn't start properly at all, there's no "usages" for variables and functions, etc.

Here's the initial startup log:
Flavor: 1, Platform: 2 [INFO] Installing OmniSharp to /Users/user/.vscode/extensions/ms-vscode.csharp-1.3.0-beta1/out/.omnisharp-mono [INFO] Attempting to download omnisharp-1.9-beta12-mono.tar.gz... [INFO] Downloading to /var/folders/2n/t779hmc15n74l6wflgrm_pqc0000gn/T/tmp-30562M2BmJnf6KACG.tmp... [INFO] Download complete! [INFO] Decompressing... [INFO] Done! 160 files unpacked. [INFO] Starting OmniSharp at '/Users/user/Documents/Eclipse/Something.something/Something.something.sln'... [INFO] Started OmniSharp from '/Users/user/.vscode/extensions/ms-vscode.csharp-1.3.0-beta1/out/.omnisharp-mono/OmniSharp.exe' with process id 31396... OmniSharp: -s /Users/user/Documents/Eclipse/Something.something/Something.something.sln --hostPID 30562 DotNet:enablePackageRestore=false --stdio [INFORMATION:OmniSharp.Startup] Omnisharp server running using Stdio at location '/Users/user/Documents/Eclipse/Something.something' on host 30562. [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in /Users/user/Documents/Eclipse/Something.something [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Auto package restore: False [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update workspace context [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Resolving projects references [INFORMATION:OmniSharp#MSBuild] Detecting projects in '/Users/user/Documents/Eclipse/Something.something/Something.something.sln'. [INFORMATION:OmniSharp#MSBuild] Loading project from '/Users/user/Documents/Eclipse/Something.something/Assembly-CSharp-firstpass.csproj'. [INFORMATION:OmniSharp#MSBuild] Loading project from '/Users/user/Documents/Eclipse/Something.something/Assembly-CSharp.csproj'.

And here's the log that keeps popping up each time I try to reboot the OmniSharp:
http://pastebin.com/f4RUuCaB

Note that I deleted/changed some private things, like the title of the project or script names.

from vscode-csharp.

DustinCampbell avatar DustinCampbell commented on June 18, 2024

This should be fixed with the 1.5 release. My expectation is that this PR will fix the issue: #902

from vscode-csharp.

NinoFloris avatar NinoFloris commented on June 18, 2024

This is not fixed at all, codelens is so heavy for omnisharp to process as nothing is cached. No request are cancelled either (after switching editor tabs, old request are still running)

Omnisharp just chokes up at some point, especially with codelens heavy (many referenceable items) files. Switching a few times between files is also a good way to kill omnisharp.

from vscode-csharp.

DustinCampbell avatar DustinCampbell commented on June 18, 2024

@NinoFloris, could you file a new issue? The issue here has been reported fixed in another bug report by those that filed this issue.

from vscode-csharp.

NinoFloris avatar NinoFloris commented on June 18, 2024

Well it is directly linked because the singlethreadedness was a way to at least throttle the incoming barrage of work. This surfaces now that they are run concurrently

from vscode-csharp.

DustinCampbell avatar DustinCampbell commented on June 18, 2024

Sorry. I'm not sure I understand what you mean. Again, please file a new issue so that we can dig in.

from vscode-csharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.