Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor went and remained in a completely out of sync/broken state #10759

Closed
Peter-Juhasz opened this issue Aug 18, 2024 · 13 comments · Fixed by #10806
Closed

Editor went and remained in a completely out of sync/broken state #10759

Peter-Juhasz opened this issue Aug 18, 2024 · 13 comments · Fixed by #10806
Assignees

Comments

@Peter-Juhasz
Copy link

VS 17.12.0 P1

All services broken/out of sync:

  • Syntax coloring
  • Quick info
  • Code completions
  • Other tags (like unnecesseary code)
Rogzites.2024-08-18.171425.mp4

Did not resolve after typing.

No logs in Razor Logger Output.

@Peter-Juhasz
Copy link
Author

Razor regions are affected as well:

image

@davidwengier
Copy link
Contributor

@Peter-Juhasz is this just all the time in 17.12? Or is it intermittent. Does closing and re-opening the Razor file fix the issue?

If its all the time, the best course of action would be to report using VS Feedback, and include a recording so we can see whats going on. I seem to remember that perhaps your company does not allow you to do that? If so, perhaps you could increase the log level for Razor (Tools -> Options -> Text Editor -> Razor -> Advanced -> Output Window Log Level, set to "Debug") and include the content of the output window in the logs? The logs would contain file paths though, so if need be, you could email them to me (david.wengier at microsoft.com) if you don't want to post them on GitHub.

@Peter-Juhasz
Copy link
Author

It doesn't happen all the time, it just happened yesterday. Unfortunately, I don't know how to reproduce it - I did not do anything suspicious. But thought it would be worth to report.

Reopening the file/editor resolved the issue.

Oh, I didn't know there is an option to increase the Razor log level. I'm going try to collect lower-level logs next time I encounter either this or another issue.

@davidwengier
Copy link
Contributor

Thanks for confirming. The issue you're seeing is a symptom of Razor and Roslyn being out of sync, and there are some fixes on the platform side and Razor side in the works that will hopefully help, but it's the type of thing where there are numerous root causes.

@Peter-Juhasz
Copy link
Author

image

Open files got unusable again, here are the logs @davidwengier, hope it helps:

(I cleared the logs first to make sure they belong exclusively to that open tab.)

[LSP][LanguageServer.Hover.HoverEndpoint] [21:40:41.0277136] Error calling delegate server for razor/hover                   StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[CLaSP] [21:40:41.0302661] [null]:                    StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[LSP][LanguageServer.DocumentHighlighting.DocumentHighlightEndpoint] [21:40:41.1375262] Error calling delegate server for razor/documentHighlight                   StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[CLaSP] [21:40:41.1395254] [null]:                    StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1090 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[LSP][LanguageServer.Hover.HoverEndpoint] [21:40:41.4207240] Error calling delegate server for razor/hover                   StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[CLaSP] [21:40:41.4227234] [null]:                    StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[LSP][LanguageServer.DocumentHighlighting.DocumentHighlightEndpoint] [21:40:41.5377912] Error calling delegate server for razor/documentHighlight                   StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[CLaSP] [21:40:41.5394223] [null]:                    StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.AbstractRazorDelegatingEndpoint`2.<HandleRequestAsync>d__25.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1086 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<DelegateTextDocumentPositionAndProjectContextAsync>d__62`1.MoveNext()
[LSP][LanguageServer.CodeActions.CodeActionEndpoint] [21:40:42.3678679] Error getting code actions from delegate language server for CSharp                   StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=1086, Character=29 }, End={ Line=1086, Character=29 } }. text.Length=41401. text.Lines.Count=1085                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.CodeActions.CodeActionEndpoint.<GetCodeActionsFromLanguageServerAsync>d__21.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=1086, Character=29 }, End={ Line=1086, Character=29 } }. text.Length=41401. text.Lines.Count=1085                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnMultipleServersAsync>d__10`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnMultipleServersAsync>d__10`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideCodeActionsAsync>d__21.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideCodeActionsAsync>d__21.MoveNext()
[LSP][LanguageServer.Semantic.RazorSemanticTokensInfoService] [21:41:05.2709497] Error thrown while retrieving CSharp semantic range.                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.Semantic.LSPCSharpSemanticTokensProvider.<GetCSharpSemanticTokensResponseAsync>d__4.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetCSharpSemanticRangesAsync>d__10.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetSemanticTokensAsync>d__8.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideSemanticTokensAsync>d__53.MoveNext()
[CLaSP] [21:41:05.7095425] [null]:                    StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41402. text.Lines.Count=1085                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.InlayHints.InlayHintService.<GetInlayHintsAsync>d__2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41402. text.Lines.Count=1085                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideInlayHintsAsync>d__41.MoveNext()
[LSP][LanguageServer.Semantic.RazorSemanticTokensInfoService] [21:41:06.6198375] Error thrown while retrieving CSharp semantic range.                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.Semantic.LSPCSharpSemanticTokensProvider.<GetCSharpSemanticTokensResponseAsync>d__4.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetCSharpSemanticRangesAsync>d__10.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetSemanticTokensAsync>d__8.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideSemanticTokensAsync>d__53.MoveNext()
[CLaSP] [21:41:07.0737066] [null]:                    StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41401. text.Lines.Count=1085                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.InlayHints.InlayHintService.<GetInlayHintsAsync>d__2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41401. text.Lines.Count=1085                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideInlayHintsAsync>d__41.MoveNext()
[CLaSP] [21:41:07.2481706] [null]:                    StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41401. text.Lines.Count=1085                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.InlayHints.InlayHintService.<GetInlayHintsAsync>d__2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41401. text.Lines.Count=1085                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideInlayHintsAsync>d__41.MoveNext()
[LSP][LanguageServer.Semantic.RazorSemanticTokensInfoService] [21:41:10.5099123] Error thrown while retrieving CSharp semantic range.                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.Semantic.LSPCSharpSemanticTokensProvider.<GetCSharpSemanticTokensResponseAsync>d__4.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetCSharpSemanticRangesAsync>d__10.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetSemanticTokensAsync>d__8.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideSemanticTokensAsync>d__53.MoveNext()
[CLaSP] [21:41:10.5202003] [null]:                    StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41401. text.Lines.Count=1085                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.InlayHints.InlayHintService.<GetInlayHintsAsync>d__2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.<StartRequestAsync>d__16`2.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: Range={ Start={ Line=137, Character=0 }, End={ Line=1101, Character=0 } }. text.Length=41401. text.Lines.Count=1085                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideInlayHintsAsync>d__41.MoveNext()
[LSP][LanguageServer.Semantic.RazorSemanticTokensInfoService] [21:41:10.7714327] Error thrown while retrieving CSharp semantic range.                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                      at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.ClientConnection.<SendRequestAsync>d__3`2.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.AspNetCore.Razor.LanguageServer.Semantic.LSPCSharpSemanticTokensProvider.<GetCSharpSemanticTokensResponseAsync>d__4.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetCSharpSemanticRangesAsync>d__10.MoveNext()                   --- End of stack trace from previous location where exception was thrown ---                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                      at Microsoft.CodeAnalysis.Razor.SemanticTokens.AbstractRazorSemanticTokensInfoService.<GetSemanticTokensAsync>d__8.MoveNext()                   RPC server exception:                   StreamJsonRpc.RemoteInvocationException: The requested line number 1101 must be less than the number of lines 1085.                   Parameter name: Line                         at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__155`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestWithTelemetryAsync>d__0`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.<TrackTaskAsync>d__116`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<>c__DisplayClass3_0`2.<<SendRequestAsync>g__SendRequestAsync|0>d.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstanceExtensions.<<SendRequestAsync>g__UnwrapAsync|3_3>d`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClient.EnqueuedMessage`2.<GetResponsesAsync>d__8.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<MoveNextWrappedAsync>d__2`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.AsyncEnumerableExtensions.<SelectManyAsync>d__1`1.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.LanguageServiceClientManager.<RequestFromSpecificClientsAsync>d__48`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAllAsync>d__55`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(Int16 token)                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageServiceBroker.<RequestAsync>d__54`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.LanguageServer.ContainedLanguage.DefaultLSPRequestInvoker.<ReinvokeRequestOnServerAsync>d__6`2.MoveNext()                      --- End of stack trace from previous location where exception was thrown ---                         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()                         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)                         at Microsoft.VisualStudio.Razor.LanguageClient.Endpoints.RazorCustomMessageTarget.<ProvideSemanticTokensAsync>d__53.MoveNext()

@Peter-Juhasz
Copy link
Author

It got completely unusable again:

image

Some more logs (Debug level):

[CLaSP] [18:18:39.5428344] Using default language handler for textDocument/hover: 
[LSP][LanguageServer.RazorRequestContextFactory] [18:18:39.5428344] Trying to create DocumentContext for textDocument/hover for S:/git/app/src/App.Client.Web/obj/Debug/net8.0/ for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor
[CLaSP] [18:18:39.5428344] [StartContext] textDocument/hover
[Razor.LanguageClient.Endpoints.RazorCustomMessageTarget] [18:18:39.5441212] Trying to synchronize for GetProjectedRequestDetailsAsync to version 204 of file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor for S:/git/app/src/App.Client.Web/obj/Debug/net8.0/
[Razor.LanguageClient.Endpoints.RazorCustomMessageTarget] [18:18:39.5441212] Did synchronize for GetProjectedRequestDetailsAsync: Version 204 for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor.VkLZIsy2uc15-A1E.ide.g.cs
[CLaSP] [18:18:39.5441212] [EndContext] textDocument/hover
[CLaSP] [18:18:39.8444349] Using default language handler for textDocument/_vs_getProjectContexts: 
[CLaSP] [18:18:39.8444349] [StartContext] textDocument/_vs_getProjectContexts
[CLaSP] [18:18:39.8444349] [EndContext] textDocument/_vs_getProjectContexts
[CLaSP] [18:18:39.8504347] Using default language handler for textDocument/linkedEditingRange: 
[LSP][LanguageServer.RazorRequestContextFactory] [18:18:39.8504347] Trying to create DocumentContext for textDocument/linkedEditingRange for S:/git/app/src/App.Client.Web/obj/Debug/net8.0/ for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor
[CLaSP] [18:18:39.8504347] [StartContext] textDocument/linkedEditingRange
[LSP][LanguageServer.LinkedEditingRange.LinkedEditingRangeEndpoint] [18:18:39.8504347] LinkedEditingRange request was null at line 26, column 46 for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor
[CLaSP] [18:18:39.8504347] [EndContext] textDocument/linkedEditingRange
[CLaSP] [18:18:40.0632094] Using default language handler for textDocument/documentHighlight: 
[LSP][LanguageServer.RazorRequestContextFactory] [18:18:40.0632094] Trying to create DocumentContext for textDocument/documentHighlight for S:/git/app/src/App.Client.Web/obj/Debug/net8.0/ for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor
[CLaSP] [18:18:40.0632094] [StartContext] textDocument/documentHighlight
[Razor.LanguageClient.Endpoints.RazorCustomMessageTarget] [18:18:40.0640023] Trying to synchronize for GetProjectedRequestDetailsAsync to version 204 of file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor for S:/git/app/src/App.Client.Web/obj/Debug/net8.0/
[Razor.LanguageClient.Endpoints.RazorCustomMessageTarget] [18:18:40.0640023] Did synchronize for GetProjectedRequestDetailsAsync: Version 204 for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor.VkLZIsy2uc15-A1E.ide.g.cs
[CLaSP] [18:18:40.0650006] [EndContext] textDocument/documentHighlight
[CLaSP] [18:18:40.8714746] Using default language handler for textDocument/codeAction: 
[LSP][LanguageServer.RazorRequestContextFactory] [18:18:40.8714746] Trying to create DocumentContext for textDocument/codeAction for S:/git/app/src/App.Client.Web/obj/Debug/net8.0/ for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor
[CLaSP] [18:18:40.8714746] [StartContext] textDocument/codeAction
[Razor.LanguageClient.Endpoints.RazorCustomMessageTarget] [18:18:40.8724676] Trying to synchronize for ProvideCodeActionsAsync to version 204 of file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor for S:/git/app/src/App.Client.Web/obj/Debug/net8.0/
[Razor.LanguageClient.Endpoints.RazorCustomMessageTarget] [18:18:40.8724676] Did synchronize for ProvideCodeActionsAsync: Version 204 for file:///S:/git/app/src/App.Client.Web/Pages/Components/Dialog.razor.VkLZIsy2uc15-A1E.ide.g.cs
[CLaSP] [18:18:40.8976567] [EndContext] textDocument/codeAction

@Peter-Juhasz
Copy link
Author

It keeps doing that after working on a file for like 30 minutes, makes work quite difficult.

@davidwengier
Copy link
Contributor

davidwengier commented Aug 25, 2024

Bad news: The logs you've attached, whilst appreciated, don't really show anything useful
Good news: I have found a very simply repro that gets me into a bad state
Bad news: The logs on my machine don't show anything useful either 🤦‍♂️

I do at least have something I can debug now though, the only risk of course is that the issue I have found, and will hopefully fix, is not the same as the same one you are running in to. Only time will tell there.

Also worth noting that closing and re-opening the file always fixes things for me.

@Peter-Juhasz
Copy link
Author

@davidwengier I was finally able to find a consistent repro yesterday, it is not time dependent.

Here you go, type a . here, right before the < (I typed a T as well, but the . is enough):

Kepernyofelvetel.2024-08-26.090415.mp4
@page "/counter"
@rendermode InteractiveServer

<PageTitle>Counter</PageTitle>

<h1>Counter</h1>

<p role="status">Current count: @currentCount$$</p>

<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>

@code {
    private int currentCount = 0;

    private void IncrementCount()
    {
        currentCount++;
    }
}

@davidwengier
Copy link
Contributor

Great news, that's the exact repro I found too!

It's the result of a system called "provisional completion", where the "." is Html (the end of a sentence) but then you type the next character and now the "." has to become C#, and we hit a sync issue with Roslyn as we frantically try to update the generated C# document while completion is happening. There is a PR on the editor side that has that I'm hoping will fix the issue, but it hasn't been merged into VS yet. Hoping to follow up tomorrow when America wakes up.

@davidwengier
Copy link
Contributor

davidwengier commented Aug 28, 2024

Okay the editor fix did not fix this. Looks like a bug with how we actually handle provisional completion on the tooling side maybe? Generated code ends up looking like this:
image

Where that says "isable" is where I typed a .. Continuing to type the next letter, results in this (note the "ble" on the next line):
image

@davidwengier
Copy link
Contributor

Found the problem! Classic bug, easiest mistake to make. A parameter changed from a character offset to a length:
da767fc#diff-162a821db79e94de8762bfd592df14c73bc88a7c82111d9e03422f339e39feaeR193

@JoelleMarcChua
Copy link

JoelleMarcChua commented Sep 6, 2024

Verified this issue does not repro in VS 17.12 Preview 2 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants