eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
20.1k stars 2.5k forks source link

root ERROR Uncaught Exception: Error: Connection got disposed. #9606

Closed safisa closed 3 years ago

safisa commented 3 years ago

Bug Description:

Hi, Sometimes I am getting this error many times one after another until Theia stopped and needs restart.

Steps to Reproduce:

Not sure but this could happen once I refresh the page while it still loading some plugins.

root ERROR Uncaught Exception:  Error: Connection got disposed.
root ERROR Error: Connection got disposed.
    at Object.dispose (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\main.js:904:25)
    at C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\connection.js:14:41
    at CallbackList.invoke (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:62:39)
    at Emitter.fire (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:121:36)
    at closeHandler (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\main.js:240:26)
    at CallbackList.invoke (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:62:39)
    at Emitter.fire (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:121:36)
    at WebSocketMessageReader.fireClose (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\messageReader.js:111:27)
    at WebSocketMessageReader.fireClose (C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:67:19)
    at C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:24:18
root ERROR Uncaught Exception:  Error: Connection got disposed.
root ERROR Error: Connection got disposed.
    at Object.dispose (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\main.js:904:25)
    at C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\connection.js:14:41
    at CallbackList.invoke (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:62:39)
    at Emitter.fire (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:121:36)
    at closeHandler (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\main.js:240:26)
    at CallbackList.invoke (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:62:39)
    at Emitter.fire (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:121:36)
    at WebSocketMessageReader.fireClose (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\messageReader.js:111:27)
    at WebSocketMessageReader.fireClose (C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:67:19)
    at C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:24:18
root ERROR Uncaught Exception:  Error: Connection got disposed.
root ERROR Error: Connection got disposed.
    at Object.dispose (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\main.js:904:25)
    at C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\connection.js:14:41
    at CallbackList.invoke (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:62:39)
    at Emitter.fire (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:121:36)
    at closeHandler (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\main.js:240:26)
    at CallbackList.invoke (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:62:39)
    at Emitter.fire (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\events.js:121:36)
    at WebSocketMessageReader.fireClose (C:\home\k2view\webStudio\node_modules\vscode-jsonrpc\lib\messageReader.js:111:27)
    at WebSocketMessageReader.fireClose (C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:67:19)
    at C:\home\k2view\webStudio\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:24:18

Additional Information

vince-fugnitto commented 3 years ago

@safisa please see past discussions related to vscode-jsonrpc connection disposal logs:

There should not be a loss of functionality, the third-part dependency is displaying an error when the connection has been lost (example during a restart).

vince-fugnitto commented 3 years ago

Closing due to inactivity.