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.

  • GitHub comment 2224#181189646
    via GitHub by stk1m1
    ,
  • GitHub comment 244#226338647
    via GitHub by PhatJo
    ,
  • GitHub comment 247#243628633
    via GitHub by makleyston
    ,
  • Error while setVideoPath
    via GitHub by marekSeda
    ,
  • Cannot get MediaPlayer.prepareAsync to work
    via Stack Overflow by JimCzek
    ,
    • java.lang.IllegalStateException: Handler (com.google.android.exoplayer.drm.StreamingDrmSessionManager$PostResponseHandler) {f8e69c4} 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.sendMessage(Handler.java:507) at android.os.Message.sendToTarget(Message.java:416) at com.google.android.exoplayer.drm.StreamingDrmSessionManager$PostRequestHandler.handleMessage(StreamingDrmSessionManager.java:557) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.os.HandlerThread.run(HandlerThread.java:61)

    Users with the same issue

    bluebunnty
    2 times, last one,
    iridic
    4 times, last one,
    cesarnog
    1 times, last one,
    ajinkya_w
    11 times, last one,
    0x60
    2 times, last one,
    94 more bugmates