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

[LSP] Failed to handle notification textDocument/documentSymbol #1083

Closed
mickaelistria opened this issue Jan 11, 2018 · 2 comments
Closed

[LSP] Failed to handle notification textDocument/documentSymbol #1083

mickaelistria opened this issue Jan 11, 2018 · 2 comments
Labels

Comments

@mickaelistria
Copy link

I get the following stacktrace when running Omnisharp LSP support in Eclipse IDE

        Failed to handle notification textDocument/documentSymbol
System.NullReferenceException: Object reference not set to an instance of an object
  at OmniSharp.LanguageServerProtocol.Helpers.ToUri (System.String fileName) [0x00000] in <7b5a7a76b82241e79b11d53ab5acb828>:0 
  at OmniSharp.LanguageServerProtocol.Handlers.DocumentSymbolHandler.ToDocumentSymbol (OmniSharp.Models.MembersTree.FileMemberElement node, System.Collections.Generic.List`1[T] symbolInformationContainer, System.String containerName) [0x0003e] in <7b5a7a76b82241e79b11d53ab5acb828>:0 
  at OmniSharp.LanguageServerProtocol.Handlers.DocumentSymbolHandler+<Handle>d__6.MoveNext () [0x000b2] in <7b5a7a76b82241e79b11d53ab5acb828>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <c9f8153c41de4f8cbafd0e32f9bf6b28>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <c9f8153c41de4f8cbafd0e32f9bf6b28>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <c9f8153c41de4f8cbafd0e32f9bf6b28>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <c9f8153c41de4f8cbafd0e32f9bf6b28>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <c9f8153c41de4f8cbafd0e32f9bf6b28>:0 
  at OmniSharp.Extensions.LanguageServer.LspRequestRouter+<RouteRequest>d__11.MoveNext () [0x00161] in <43976da1155b4e5492c57f3d85e24f0e>:0 
@bqv
Copy link

bqv commented Jun 22, 2020

duplicate #1742

@yatli yatli mentioned this issue Nov 5, 2020
@filipw
Copy link
Member

filipw commented Nov 20, 2020

fixed with #2005

@filipw filipw closed this as completed Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants