java.lang.IllegalStateException

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

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web118

  • via GitHub by oneenam
    ,
  • via GitHub by oneenam
    ,
  • via Stack Overflow by Kolchuga
    ,
  • Stack trace

    • 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 android.os.Handler.sendEmptyMessage(Handler.java:519) 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) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    justCodeitjustCodeit
    18 times, last one
    andreeaa marinandreeaa marin
    2 times, last one
    bluebunntybluebunnty
    2 times, last one
    iridiciridic
    4 times, last one
    ivotje50ivotje50
    Once,
    96 more bugmates