felixfbecker / php-language-server

PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥
ISC License
1.16k stars 185 forks source link

server down when parsing file #659

Open ggpq opened 6 years ago

ggpq commented 6 years ago

Sorry for my poor English.

"php language server" log in vscode
----------------------------------------------------------------------------
[Info  - 16:58:07] 1521 files total
[Info  - 16:58:07] Indexing project for definitions and static references
Parsing file: blah~blah~
blah~blah~
blah~blah~
blah~blah~
[Info  - 16:59:06] 18 Packages
[Info  - 16:59:06] Connection to server got closed. Server will restart.
[Error - 17:11:00] Request textDocument/hover failed.
Error: Connection got disposed.
    at Object.dispose (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\main.js:825:25)
    at Object.dispose (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-languageclient\lib\client.js:57:35)
    at LanguageClient.handleConnectionClosed (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-languageclient\lib\client.js:1864:38)
    at LanguageClient.handleConnectionClosed (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-languageclient\lib\main.js:106:15)
    at closeHandler (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-languageclient\lib\client.js:1852:18)
    at CallbackList.invoke (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\events.js:71:39)
    at Emitter.fire (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\events.js:135:36)
    at closeHandler (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\main.js:221:26)
    at CallbackList.invoke (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\events.js:71:39)
    at Emitter.fire (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\events.js:135:36)
    at StreamMessageWriter.AbstractMessageWriter.fireClose (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\messageWriter.js:57:27)
    at Socket.<anonymous> (C:\Users\mainpc\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\node_modules\vscode-jsonrpc\lib\messageWriter.js:79:63)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:191:7)
    at TCP._handle.close [as _onclose] (net.js:510:12)

then finally server down and PHP Intellisense is not working.

felixfbecker commented 6 years ago

Is this still happening? Could you look for a stack trace in the logs?