java.lang.IllegalStateException

Handler (android.media.MediaPlayer$EventHandler) {2d81fea} 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 2ndGAB
    ,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.IllegalStateException: Handler (android.media.MediaPlayer$EventHandler) {2d81fea} 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.media.MediaPlayer.postEventFromNative(MediaPlayer.java:2988)

    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

    poroszdporoszd
    4 times, last one
    gamebusterzgamebusterz
    70 times, last one
    andreeaa marinandreeaa marin
    15 times, last one
    malhobayyebmalhobayyeb
    19 times, last one
    AjeetAjeet
    95 times, last one
    96 more bugmates