-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I have a simple Java project with two classes. It seems that there is an error on Server side (with JDT Language Server). When I open a Java file, I have this error in the console:
!MESSAGE org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Internal error, please look at the server's logs.
!STACK 0
java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Internal error, please look at the server's logs.
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture.uniApply(Unknown Source)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.lambda$request$1(RemoteEndpoint.java:114)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:155)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:142)
at org.eclipse.lsp4e.ProjectSpecificLanguageServerWrapper.lambda$1(ProjectSpecificLanguageServerWrapper.java:172)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessaige(StreamMessageProducer.java:149)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:77)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:84)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Completion, hover, etc is working, but 'textDocument/didChange' is never called because DocumentContentSynchronizer is never called.
@mickaelistria I think it's a bug for lsp4e, but I create here since bugs is found for Java support.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels