Skip to content

RejectedExecutionException Occured in onMessage. #295

Closed
@joshimohit

Description

@joshimohit

We are getting following exception from our Obfuscated android Application :

Non-fatal Exception: java.util.concurrent.RejectedExecutionException: Task b.a.e.d@1ab979f rejected from java.util.concurrent.ThreadPoolExecutor@223c30ec[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.onMessage(Unknown Source)
at okhttp3.internal.ws.WebSocketReader.readControlFrame(Unknown Source)
at okhttp3.internal.ws.WebSocketReader.processNextFrame(Unknown Source)
at okhttp3.internal.ws.RealWebSocket.readMessage(Unknown Source)
at okhttp3.ws.WebSocketCall.create(Unknown Source)
at okhttp3.ws.WebSocketCall.create(Unknown Source)
at okhttp3.ws.WebSocketCall$1.onResponse(Unknown Source)
at okhttp3.RealCall$AsyncCall.execute(Unknown Source)
at okhttp3.internal.NamedRunnable.run(Unknown Source)
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:818)

Android Versions : 4.1.2, 4.2.2, 5.0, 5.1, 6.0
Server Version : 1.4.5
Android Socket Client version : 0.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions