You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Error - 8:17:16 PM] Failed to handle request textDocument/didChange - System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at DarkId.Papyrus.Server.TextDocumentScriptTextProvider.Handle(DidChangeTextDocumentParams request, CancellationToken cancellationToken) in C:\projects\papyrus-lang\src\DarkId.Papyrus.Server\TextDocumentScriptTextProvider.cs:line 102
at OmniSharp.Extensions.Embedded.MediatR.Internal.RequestHandlerWrapperImpl`2.<>c__DisplayClass0_0.<Handle>g__Handler|0()
at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.<Handle>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.<RouteNotification>d__10.MoveNext()
To Reproduce
Unsure, the trigger appears to be inconsistent. However I did notice it most often appearing after the script file has been saved, at which time every action that would modify the file's contents would throw this error. It also appeared to persist through closing and reopening the document's tab, and would sometimes continue even after closing and reopening the document through the recent files menu option. Opening the file manually seemed to reset the issue until the next instance, as did reloading VSCode's window.
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
Unsure, the trigger appears to be inconsistent. However I did notice it most often appearing after the script file has been saved, at which time every action that would modify the file's contents would throw this error. It also appeared to persist through closing and reopening the document's tab, and would sometimes continue even after closing and reopening the document through the recent files menu option. Opening the file manually seemed to reset the issue until the next instance, as did reloading VSCode's window.
The text was updated successfully, but these errors were encountered: