Open sebthom opened 5 months ago
There have been some updates to language servers recently. Can you please retry with latest build?
Same problem with version 5.4.5:
eclipse.buildId=4.23.1.202406150140
java.version=21.0.3
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product org.springframework.boot.ide.branding.sts4
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4
org.eclipse.lsp4e
Error
Thu Jul 18 11:09:25 CEST 2024
org.eclipse.lsp4j.jsonrpc.ResponseErrorException: <semantic> TypeScript Server Error (5.4.5)
Debug Failure. False expression.
Error: Debug Failure. False expression.
at ConfiguredProject2.updateGraphWorker (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:179506:11)
at ConfiguredProject2.updateGraph (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:179365:32)
at ConfiguredProject2.updateGraph (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:180626:24)
at updateProjectIfDirty (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:181085:35)
at ConfiguredProject2.getLanguageService (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:178968:7)
at IpcIOSession.getEncodedSemanticClassifications (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:185922:20)
at encodedSemanticClassifications-full (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:185224:43)
at C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187569:69
at IpcIOSession.executeWithRequestId (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187561:14)
at IpcIOSession.executeCommand (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187569:29)
at IpcIOSession.onMessage (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187611:51)
at process.<anonymous> (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:189220:14)
at process.emit (node:events:519:28)
at emit (node:internal/child_process:951:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: <semantic> TypeScript Server Error (5.4.5)
Debug Failure. False expression.
Error: Debug Failure. False expression.
at ConfiguredProject2.updateGraphWorker (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:179506:11)
at ConfiguredProject2.updateGraph (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:179365:32)
at ConfiguredProject2.updateGraph (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:180626:24)
at updateProjectIfDirty (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:181085:35)
at ConfiguredProject2.getLanguageService (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:178968:7)
at IpcIOSession.getEncodedSemanticClassifications (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:185922:20)
at encodedSemanticClassifications-full (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:185224:43)
at C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187569:69
at IpcIOSession.executeWithRequestId (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187561:14)
at IpcIOSession.executeCommand (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187569:29)
at IpcIOSession.onMessage (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187611:51)
at process.<anonymous> (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:189220:14)
at process.emit (node:events:519:28)
at emit (node:internal/child_process:951:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at org.eclipse.lsp4e.operations.semanticTokens.SemanticHighlightReconcilerStrategy.fullReconcile(SemanticHighlightReconcilerStrategy.java:274)
at org.eclipse.lsp4e.operations.semanticTokens.SemanticHighlightReconcilerStrategy.fullReconcileOnce(SemanticHighlightReconcilerStrategy.java:311)
at org.eclipse.lsp4e.operations.semanticTokens.SemanticHighlightReconcilerStrategy.reconcile(SemanticHighlightReconcilerStrategy.java:296)
at org.eclipse.ui.internal.genericeditor.CompositeReconcilerStrategy.reconcile(CompositeReconcilerStrategy.java:63)
at org.eclipse.jface.text.reconciler.Reconciler.process(Reconciler.java:149)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:207)
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: <semantic> TypeScript Server Error (5.4.5)
Debug Failure. False expression.
Error: Debug Failure. False expression.
at ConfiguredProject2.updateGraphWorker (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:179506:11)
at ConfiguredProject2.updateGraph (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:179365:32)
at ConfiguredProject2.updateGraph (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:180626:24)
at updateProjectIfDirty (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:181085:35)
at ConfiguredProject2.getLanguageService (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:178968:7)
at IpcIOSession.getEncodedSemanticClassifications (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:185922:20)
at encodedSemanticClassifications-full (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:185224:43)
at C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187569:69
at IpcIOSession.executeWithRequestId (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187561:14)
at IpcIOSession.executeCommand (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187569:29)
at IpcIOSession.onMessage (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:187611:51)
at process.<anonymous> (C:\develop\eclipse\sts-bundle\sts-4.23.1.RELEASE\plugins\org.eclipse.wildwebdeveloper_1.2.2.202405280856\node_modules\typescript\lib\tsserver.js:189220:14)
at process.emit (node:events:519:28)
at emit (node:internal/child_process:951:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:220)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:204)
at org.eclipse.lsp4e.LanguageServerWrapper.lambda$3(LanguageServerWrapper.java:313)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:185)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:97)
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)
For me, this happens randomly during coding. I must restart my IDE to fix this issue. Not every restart solves this problem. Then I must restart multiple times.
Any update for this issue?
Thanks for verifying.
I don't have further hint to provide here and personally cannot spend time on this issue for the next months or so because of higher priority tasks in my todo-list.
I think you could start by looking at the code of the tsserver to identify what is the "False expression" and then evaluate if the issue is purely on tsserver (thus it should be reported there), or whether it is an issue of integration missing some steps or configuration.
If you're comfortable with Eclipse plugin development, you can also tweak the JSTSLanguageServer class to add the --node-inspect
flag to the launch so that the LS starts in debug mode and you can then connect a debugger (from another IDE instance!) to it and hopefully identify the cause of the error.
It seems that after upgrading to Eclipse 2024-03 open declaration via F3 is not working anymore at all. The error message isn't really helpful.