You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building an tutorial for users to implement their own LSP server using lsp4J. Works fine and I hope it will help with the adaption of lsp4j. But if the runtime IDE shuts down I get an exception. I think I have seen that also in other LSP implementation and they implemented a fix which AFAICS is not documented.
Is their some information how to prevent this exception?
INFO: The input stream was closed.
java.io.InterruptedIOException
at java.base/java.io.PipedInputStream.read(PipedInputStream.java:334)
at java.base/java.io.FilterInputStream.read(FilterInputStream.java:71)
at java.base/java.io.FilterInputStream.read(FilterInputStream.java:71)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:82)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:114)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
The text was updated successfully, but these errors were encountered:
I'm building an tutorial for users to implement their own LSP server using lsp4J. Works fine and I hope it will help with the adaption of lsp4j. But if the runtime IDE shuts down I get an exception. I think I have seen that also in other LSP implementation and they implemented a fix which AFAICS is not documented.
Is their some information how to prevent this exception?
The text was updated successfully, but these errors were encountered: