java.lang.IllegalStateException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

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

  • Unable to play HLS URL
    via GitHub by liutingdu
    ,
  • GitHub comment 134#231932501
    via GitHub by hegazy
    ,
  • GitHub comment 29#262173593
    via GitHub by TheLester
    ,
  • GitHub comment 2#187342735
    via GitHub by shroge
    ,
    • java.lang.IllegalStateException: Handler (com.google.android.exoplayer.upstream.Loader$LoadTask) {5fad3e} 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 com.google.android.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) at java.lang.Thread.run(Thread.java:818)

    Users with the same issue

    ivotje50ivotje50
    2 times, last one,
    AjeetAjeet
    1 times, last one,
    Indri YunitaIndri Yunita
    4 times, last one,
    iridiciridic
    4 times, last one,
    ajinkya_wajinkya_w
    192 times, last one,
    94 more bugmates