java.util.concurrent.RejectedExecutionException: Task okhttp3.internal.ws.RealWebSocket$1$2@2d270c9d rejected from java.util.concurrent.ThreadPoolExecutor@3de66512[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by rafaelekol
, 1 year ago
Task okhttp3.internal.ws.RealWebSocket$1$2@2d270c9d rejected from java.util.concurrent.ThreadPoolExecutor@3de66512[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
via GitHub by tormozzg
, 1 year ago
Task okhttp3.internal.ws.RealWebSocket$1$2@b41c0738 rejected from java.util.concurrent.ThreadPoolExecutor@b3e86460[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
via GitHub by hamberluo
, 1 year ago
Task okhttp3.internal.ws.RealWebSocket$1$2@21f58605 rejected from java.util.concurrent.ThreadPoolExecutor@313dc65a[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
via GitHub by fingdo
, 4 months ago
Task okhttp3.internal.ws.RealWebSocket$1$2@2ddff9b rejected from java.util.concurrent.ThreadPoolExecutor@9493f38[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
via GitHub by guoxiaoxing
, 2 months ago
Task okhttp3.internal.ws.RealWebSocket$1$2@2ddff9b rejected from java.util.concurrent.ThreadPoolExecutor@9493f38[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
via GitHub by wildfly-ci
, 1 year ago
Task org.jboss.remoting3.remote.RemoteReadListener$1$1@891d00 rejected from org.xnio.XnioWorker$TaskPool@6bc63d[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 11]
java.util.concurrent.RejectedExecutionException: Task okhttp3.internal.ws.RealWebSocket$1$2@2d270c9d rejected from java.util.concurrent.ThreadPoolExecutor@3de66512[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2011)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:793)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1339)
at okhttp3.internal.ws.RealWebSocket$1.onClose(RealWebSocket.java:82)
at okhttp3.internal.ws.WebSocketReader.readControlFrame(WebSocketReader.java:205)
at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:106)
at okhttp3.internal.ws.RealWebSocket.readMessage(RealWebSocket.java:97)
at okhttp3.ws.WebSocketCall.createWebSocket(WebSocketCall.java:152)
at okhttp3.ws.WebSocketCall.access$000(WebSocketCall.java:41)
at okhttp3.ws.WebSocketCall$1.onResponse(WebSocketCall.java:97)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:811)

Users with the same issue

15 times, 9 months ago
4 times, 2 months ago
Once, 3 weeks ago
3 times, 6 months ago
109 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.