expert icon indicating copy to clipboard operation
expert copied to clipboard

Error using LSP: XPGenLSP.Requests.Shutdown

Open salfum opened this issue 3 months ago • 2 comments

Environment:

OS: Manjaro Linux x86_64 Expert - Elixir: 1.18.4 Expert - Erlang: 26.2.2 Project - Elixir: 1.16.0 Project - Erlang: 26.2.2 Editor: Neovim Installation Method: building from source

LSP server shutdown on every project, even a new ones. Log from neovim

[START][2025-08-29 01:54:34] LSP logging initiated
[ERROR][2025-08-29 01:54:34] ...lsp/handlers.lua:562	"handling server specific request XPGenLSP.Requests.Shutdown"

Log from .expert in a project directory

02:36:31.767 [info] Finding or building engine for project **project_name**
02:36:31.772 [debug] handled request client -> server initialize in 61ms
02:36:31.774 [debug] sent request server -> client client/registerCapability
02:36:31.777 [info] ################### opened file:///home/salfum/**project_file_path**
02:36:31.777 [debug] handled notification client -> server textDocument/didOpen in 4ms
02:36:31.780 [debug] handled notification client -> server initialized in 8ms
02:36:36.655 [debug] sent notification server -> client window/logMessage
02:36:36.656 [info] Shutting down
02:36:36.656 [error] ** (XPGenLSP.InvalidResponse) Invalid response for request shutdown.

Response: {:ok, nil}
Errors: "expected either null or a %XPGenLSP.ErrorResponse{}"

02:36:36.656 [debug] handled request client -> server shutdown in 5ms
02:36:36.667 [info] SIGTERM received - shutting down

salfum avatar Aug 28 '25 23:08 salfum