Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many non-blocking read actions submitted at once #1246

Open
starksm64 opened this issue Oct 30, 2023 · 7 comments
Open

Too many non-blocking read actions submitted at once #1246

starksm64 opened this issue Oct 30, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@starksm64
Copy link

Quite often on the load of the quarkus core project I'm getting the following error being shown by Intellij:

java.lang.Throwable: Too many non-blocking read actions submitted at once. Please use coalesceBy, BoundedTaskExecutor or another way of limiting the number of concurrently running threads.: 11 with similar stack traces are currently active
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
	at com.intellij.openapi.application.impl.SubmissionTracker.preventTooManySubmissions(SubmissionTracker.java:45)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.<init>(NonBlockingReadActionImpl.java:272)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl.submit(NonBlockingReadActionImpl.java:227)
	at com.redhat.devtools.intellij.lsp4ij.internal.PromiseToCompletableFuture.nonBlockingReadActionPromise(PromiseToCompletableFuture.java:156)
	at com.redhat.devtools.intellij.lsp4ij.internal.PromiseToCompletableFuture.init(PromiseToCompletableFuture.java:79)
	at com.redhat.devtools.intellij.lsp4ij.client.LSPCompletableFuture.<init>(LSPCompletableFuture.java:30)
	at com.redhat.devtools.intellij.lsp4ij.client.IndexAwareLanguageClient.runAsBackground(IndexAwareLanguageClient.java:54)
	at com.redhat.devtools.intellij.qute.lsp.QuteLanguageClient.getDataModelProject(QuteLanguageClient.java:153)
	at jdk.internal.reflect.GeneratedMethodAccessor2951.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
	at com.redhat.devtools.intellij.lsp4ij.LanguageServerWrapper.lambda$start$1(LanguageServerWrapper.java:353)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
@fbricon
Copy link
Contributor

fbricon commented Oct 30, 2023

we've tried to fix that error before. Which version of quarkus tools are you using?

@starksm64
Copy link
Author

starksm64 commented Oct 30, 2023 via email

@fbricon
Copy link
Contributor

fbricon commented Oct 30, 2023

@starksm64
Copy link
Author

starksm64 commented Oct 30, 2023 via email

@fbricon fbricon added the bug Something isn't working label Oct 31, 2023
@angelozerr angelozerr moved this to 📋 Backlog in IDE Cloudaptors Nov 8, 2023
@gastaldi
Copy link
Contributor

I can confirm this also happens in 1.30.1

@angelozerr
Copy link
Contributor

Thanks @gastaldi, I need to undertsnad how to reproduce this issue.

@gastaldi
Copy link
Contributor

@angelozerr I get this error when opening the https://github.com/quarkusio/quarkus project in IntelliJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants