Skip to content

Intellij 2026.2 lsp timing out #1648

Closed
Closed

Description

@evgeshaDoc

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

Activity

  1. angelozerr commented on Aug 27, 2026

    @angelozerr
    Contributor

    LSP and then IDE alongside with it crashes

    What do you mean with crash?

    Server is stopped? Completion works but some other ksp features like quick fix doesnt wotk?

    every now and then, often every 5-15 minutes of work and frequent savings of Typescript files. Logs look like this

    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

    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

  2. evgeshaDoc commented on Aug 27, 2026

    @evgeshaDoc
    Author

    LSP and then IDE alongside with it crashes

    What do you mean with crash?

    Server is stopped? Completion works but some other ksp features like quick fix doesnt wotk?

    every now and then, often every 5-15 minutes of work and frequent savings of Typescript files. Logs look like this

    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

    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

    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

  3. angelozerr commented on Aug 28, 2026

    @angelozerr
    Contributor
  4. angelozerr commented on Aug 31, 2026

    @angelozerr
    Contributor

    @evgeshaDoc please install 0.21.0 which I hope should fix your issue. If not please reopen it.

  5. added this to the 0.21.0 milestone on Aug 31, 2026
  6. self-assigned this
    on Aug 31, 2026
  7. added
    bug
    on Aug 31, 2026
  8. evgeshaDoc commented on Sep 2, 2026

    @evgeshaDoc
    Author

    Installing the nightly build after your first suggestion worked, thanks, no troubles for now

  9. angelozerr commented on Sep 2, 2026

    @angelozerr
    Contributor

    It is a super news! If you like LSP4IJ please add a review in JetBrains marketplace to help us to promote LSP4IJ. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions