eclipsesource / graphical-lsp

Graphical language server platform for building web-based diagram editors
https://www.eclipse.org/glsp
Eclipse Public License 2.0
37 stars 8 forks source link

TypeError: Cannot read property 'bind' of undefined #208

Closed planger closed 5 years ago

planger commented 5 years ago

An error was introduced in 39220018a28aa204fe30c8cf158f0e46721be057

Error on client:

glsp-client.ts:112 Uncaught TypeError: Cannot read property 'bind' of undefined
    at BaseGLSPClient.push.../../../packages/glsp-theia-extension/lib/browser/language/glsp-client.js.BaseGLSPClient.doCreateConnection (glsp-client.ts:112)
    at BaseGLSPClient.push.../../../packages/glsp-theia-extension/lib/browser/language/glsp-client.js.BaseGLSPClient.resolveConnection (glsp-client.ts:106)
    at BaseGLSPClient.push.../../../packages/glsp-theia-extension/lib/browser/language/glsp-client.js.BaseGLSPClient.start (glsp-client.ts:66)
    at Object.onConnection (glsp-client-contribution.ts:148)
    at ws-connection-provider.ts:90
    at WebSocketChannel.fireOpen (ws-connection-provider.ts:120)
    at WebSocketChannel.../../../node_modules/@theia/core/lib/common/messaging/web-socket-channel.js.WebSocketChannel.handleMessage (web-socket-channel.ts:47)
    at WebSocketConnectionProvider.socket.onmessage (ws-connection-provider.ts:58)

Error on Server Backend:

root ERROR Error: GLSP client is not ready yet
    at BaseGLSPClient.push.../../../packages/glsp-theia-extension/lib/browser/language/glsp-client.js.BaseGLSPClient.onNotification (http://localhost:3000/14.bundle.js:1012:19)
    at http://localhost:3000/20.bundle.js:5526:16