java.lang.IllegalStateException

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 8191#279420964
    via GitHub by qwill
    ,
  • Android Wear 2.0 emulator freezes
    via Stack Overflow by user1212027
    ,
  • GitHub comment 590#270424912
    via GitHub by ScottPierce
    ,
  • 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
    ,
    • java.lang.IllegalStateException: Handler (android.os.Handler) {39d5cec} sending message to a Handler on a dead thread at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543) at android.os.Handler.enqueueMessage(Handler.java:643) at android.os.Handler.sendMessageAtTime(Handler.java:612) at android.os.Handler.sendMessageDelayed(Handler.java:582) at android.os.Handler.post(Handler.java:338) at android.os.ResultReceiver$MyResultReceiver.send(ResultReceiver.java:57) at com.android.internal.os.IResultReceiver$Stub.onTransact(IResultReceiver.java:58) at android.os.Binder.execTransact(Binder.java:565)

    Users with the same issue

    filipebatista
    91 times, last one,
    Agócs Tamás
    30 times, last one,
    Hiren Amaliyar
    3 times, last one,
    filpgame
    153 times, last one,
    Adrien
    32 times, last one,
    94 more bugmates