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 352#235688249
    via GitHub by AdFad666
    ,
  • Cannot get MediaPlayer.prepareAsync to work
    via Stack Overflow by JimCzek
    ,
  • Clarity on IntentService
    via Stack Overflow by Napster
    ,
  • Stopping CaptureCallback request
    via by Unknown author,
  • GitHub comment 5#92084569
    via GitHub by madhavajay
    ,
  • GitHub comment 2#92100787
    via GitHub by madhavajay
    ,
    • java.lang.IllegalStateException: Handler (android.media.SoundPool$EventHandler) {72a6428} 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.SoundPool.postEventFromNative(SoundPool.java:532)

    Users with the same issue

    Agócs TamásAgócs Tamás
    32 times, last one,
    filipebatistafilipebatista
    175 times, last one,
    SacchiSacchi
    44 times, last one,
    Hiren AmaliyarHiren Amaliyar
    269 times, last one,
    Indri YunitaIndri Yunita
    59 times, last one,
    94 more bugmates