java.lang.IllegalStateException: Handler (tv.teads.exoplayer.upstream.Loader$LoadTask) {c137ec0} sending message to a Handler on a dead thread

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

,
via Stack Overflow by Mitodina

You can solve this by using an actual Service instead of an IntentService

,

Thrown to indicate that a method has been invoked at an illegal or inappropriate or wrong time. Try reobtaining message using Message.obtain method.

Solutions on the web

via GitHub by oneenam
, 1 year ago
Handler (tv.teads.exoplayer.upstream.Loader$LoadTask) {c137ec0} sending message to a Handler on a dead thread
via GitHub by oneenam
, 1 year ago
Handler (tv.teads.exoplayer.upstream.Loader$LoadTask) {dcce0ff} sending message to a Handler on a dead thread
via Stack Overflow by Palak Darji
, 1 year ago
Handler (android.os.Handler) {5451758} sending message to a Handler on a dead thread
via GitHub by madhavajay
, 2 years ago
Handler (android.graphics.SurfaceTexture$1) {1582ed32} sending message to a Handler on a dead thread
via GitHub by madhavajay
, 2 years ago
Handler (android.graphics.SurfaceTexture$1) {2b83a144} sending message to a Handler on a dead thread
via GitHub by mikosik
, 1 year ago
Handler (android.graphics.SurfaceTexture$1) {156a802e} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (tv.teads.exoplayer.upstream.Loader$LoadTask) {c137ec0} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543)
at android.os.Handler.enqueueMessage(Handler.java:631)
at android.os.Handler.sendMessageAtTime(Handler.java:600)
at android.os.Handler.sendMessageDelayed(Handler.java:570)
at android.os.Handler.sendEmptyMessageDelayed(Handler.java:534)
at tv.teads.exoplayer.upstream.Loader$LoadTask.run(Loader.java:212)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

Users with the same issue

42 times, 1 week ago
16 times, 1 month ago
Once, 1 month ago
73 times, 3 months ago
26 times, 3 months ago

Write tip

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