Neovim LSP Error - Attempt to Index Local 'decoded' (a nil value)
### Issue Description I am encountering an error when using the OmniSharp Language Server Protocol (LSP) integration in Neovim. The error message I receive is as follows: ``` Error executing luv callback: /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:366: attempt to index local 'decoded' (a nil value) stack traceback: /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:366: in function 'handle_body' /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:666: in function 'handle_body' /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:240: in function </usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:224> ``` ### Steps to Reproduce 1. Open Neovim with the OmniSharp LSP integration. 2. Open a C# project or file, and attempt to perform some LSP-related actions. 3. Observe the error message mentioned above in the LSP log. ### Expected Behavior I expect the OmniSharp LSP integration to work without errors and to correctly handle symbol detection and LSP-related requests. ### Actual Behavior The error mentioned above is encountered but normal usage of language server is achievable if the error is ignored. it appears to be related to the decoding of JSON data within the LSP integration. ### System Information - Neovim Version: NVIM v0.10.0-dev-1325+gc4f8be464 Build type: RelWithDebInfo LuaJIT 2.1.1696795921 - OmniSharp Version: 1.39.10 - Operating System: Arch Linux ### Log Files <details> <summary>LspLog:</summary> <monospace>[WARN][2023-10-11
Posted by MiliAxe on Oct 10, 2023, 11:00 PM
Tags
Related issues
- Custom games stuck on "finding server" for all european servers
- Feature request: add ACP (Agent Client Protocol) stdio JSON-RPC mode
- Forza Horizon 6 (2483190)
- Turn off integrated browser for default
- Weekly updates are too frequent
- [BUG] Max 20x plan: 100% usage after 2 hours of light work (5 commits, no agents)
Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments
github (Sysadmin)
Custom games stuck on "finding server" for all european servers
Feature request: add ACP (Agent Client Protocol) stdio JSON-RPC mode
Forza Horizon 6 (2483190)
Turn off integrated browser for default
Weekly updates are too frequent
[BUG] Max 20x plan: 100% usage after 2 hours of light work (5 commits, no agents)
Add gemini-3.1-pro-preview
[TF2] Feature request: Bring Back Quickplay
Neovim LSP Error - Attempt to Index Local 'decoded' (a nil value)
### Issue Description I am encountering an error when using the OmniSharp Language Server Protocol (LSP) integration in Neovim. The error message I receive is as follows: ``` Error executing luv callback: /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:366: attempt to index local 'decoded' (a nil value) stack traceback: /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:366: in function 'handle_body' /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:666: in function 'handle_body' /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:240: in function </usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:224> ``` ### Steps to Reproduce 1. Open Neovim with the OmniSharp LSP integration. 2. Open a C# project or file, and attempt to perform some LSP-related actions. 3. Observe the error message mentioned above in the LSP log. ### Expected Behavior I expect the OmniSharp LSP integration to work without errors and to correctly handle symbol detection and LSP-related requests. ### Actual Behavior The error mentioned above is encountered but normal usage of language server is achievable if the error is ignored. it appears to be related to the decoding of JSON data within the LSP integration. ### System Information - Neovim Version: NVIM v0.10.0-dev-1325+gc4f8be464 Build type: RelWithDebInfo LuaJIT 2.1.1696795921 - OmniSharp Version: 1.39.10 - Operating System: Arch Linux ### Log Files <details> <summary>LspLog:</summary> <monospace>[WARN][2023-10-11
Comments (0)
No comments yet. Start the discussion.