Repository navigation
Closed
Description
LSP and then IDE alongside with it crashes every now and then, often every 5-15 minutes of work and frequent savings of Typescript files. Logs look like this
2026-08-27 16:32:10,479 [ 667372] WARN - com.redhat.devtools.lsp4ij.internal.CompletableFutures - waitUntilDone() TIMEOUT after 2008ms in ReadAction. Cause: ReadAction + blocking wait = potential deadlock (LSP might need WriteAction). LSP feature will return no data this time. File: types.ts
java.lang.Throwable
at com.redhat.devtools.lsp4ij.internal.CompletableFutures.waitUntilDone(CompletableFutures.java:215)
at com.redhat.devtools.lsp4ij.internal.CompletableFutures.waitUntilDone(CompletableFutures.java:115)
at com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionCodeActionSupport.getCodeActionAt(LSPIntentionCodeActionSupport.java:160)
at com.redhat.devtools.lsp4ij.features.codeAction.LSPLazyCodeActionIntentionAction.loadCodeActionIfNeeded(LSPLazyCodeActionIntentionAction.java:166)
at com.redhat.devtools.lsp4ij.features.codeAction.LSPLazyCodeActionIntentionAction.isAvailable(LSPLazyCodeActionIntentionAction.java:77)
at com.redhat.devtools.lsp4ij.features.codeAction.intention.LSPIntentionAction.isAvailable(LSPIntentionAction.java:62)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler$Companion.availableFor(ShowIntentionActionsHandler.kt:154)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.kt)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.lambda$getRegisteredIntentionActions$0(ShowIntentionsPass.java:393)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler$Companion.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.kt:217)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.kt)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getRegisteredIntentionActions(ShowIntentionsPass.java:392)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:364)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:262)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:81)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:459)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:29)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:455)
at com.intellij.openapi.application.RunnableToLambda.invoke(coroutines.kt:343)
at com.intellij.openapi.application.RunnableToLambda.invoke(coroutines.kt:341)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunReadAction(NestedLocksThreadingSupport.kt:907)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1278)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$0(PassExecutorService.java:445)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$0(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:832)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:788)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:755)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:444)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:415)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:905)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:415)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:310)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:413)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:290)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Only restart helps, super annoying.
#878 and many other issues referencing my problem are marked like "closed and fixed" but as you can see it's clearly not. Please, look into this one, bc working is simply impossible with this
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Type
Projects
- StatusShow more project fieldsDone
Activity
angelozerr commentedon Aug 27, 2026
What do you mean with crash?
Server is stopped? Completion works but some other ksp features like quick fix doesnt wotk?
This log id just a warn. Main idea is to cancel the lsp resuest like quickfix codeaction when Intellij needs write actions to zvoid freezing the IDE
evgeshaDoc commentedon Aug 27, 2026
No, its not just a warning, its the only sign of any errors. After that the syntax highlighting breaks completely (even with thing like todos and etc.), not mentioning the TS syntax itself.
If i try to restart the tsserver or any other launched lsp, it not only never comes back online, but even makes ide to freeze with message like "ide not responding, press cmd+d to dump trace"
After disabling this plugin everything came back to normal and for a couple pf hours i have no issues whatsoever
angelozerr commentedon Aug 28, 2026
@evgeshaDoc could you please install https://github.com/redhat-developer/lsp4ij#testing-nightly-builds and tell me if it will work better
angelozerr commentedon Aug 31, 2026
@evgeshaDoc please install 0.21.0 which I hope should fix your issue. If not please reopen it.
evgeshaDoc commentedon Sep 2, 2026
Installing the nightly build after your first suggestion worked, thanks, no troubles for now
angelozerr commentedon Sep 2, 2026
It is a super news! If you like LSP4IJ please add a review in JetBrains marketplace to help us to promote LSP4IJ. Thanks!
fix: never wait on the EDT for the code actions of a lazy intention o…
ci: the nightly tests every supported IntelliJ release that ci.yml do…
ci: the nightly tests every supported IntelliJ release that ci.yml do…