eclipse-sprotty / sprotty-server

Server implementation for the Sprotty diagramming framework
https://eclipse.org/sprotty
Eclipse Public License 2.0
24 stars 19 forks source link

Illegal state exception is thrown when refreshing the browser #8

Closed dhuebner closed 5 years ago

dhuebner commented 6 years ago

Happens during debugging using backend socket

Caused by: java.lang.IllegalStateException: This language server has already been initialized.
    at org.eclipse.xtext.ide.server.LanguageServerImpl.initialize(LanguageServerImpl.java:225)
    at org.eclipse.sprotty.xtext.ls.DiagramLanguageServer.initialize(DiagramLanguageServer.java:97)
    ... 16 more
JanKoehnlein commented 5 years ago

Fixed in the meantime. This was caused by the socket being used before being connected.