-
Notifications
You must be signed in to change notification settings - Fork 416
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
OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/documentSymbol 2 #2141
Comments
Not sure what happened here, but the error resolved by itself. |
issue popped up again in two days, all I did was reboot my system. @razzmatazz can you help here? |
I'm running into the same issue using my own language client. Running Mac OS. Release v1.37.8 with built in Mono.
|
…/documentSymbol' The NRE may happen when OS.R.CS.Services.SStructre.CodeStructureService returns a null during the time when projects are still being loaded but LSP client already sends queries for symbol info under cursor. Related to OmniSharp#2141
I have created a PR for fixing this #2144 The issue is that during the time when project is still being loaded LSP clients sends requests for symbol information under cursor, but since the project info is not available, some internal APIs return null and we crash in LSP request handler. This is also why the error is intermittent -- as the issue goes away once the server finishes loading the projects. |
Thanks @razzmatazz for looking at the issue. |
fixed by #2148 |
constantly getting this error for
lsp-mode
inemacs
The text was updated successfully, but these errors were encountered: