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 4#229387179
    via GitHub by jsplaine
    ,
  • GitHub comment 4#229394266
    via GitHub by centogram
    ,
  • 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 (com.android.internal.util.StateMachine$SmHandler) {efcd15c} 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.Registrant.internalNotifyRegistrant(Registrant.java:83) at android.os.RegistrantList.internalNotifyRegistrants(RegistrantList.java:78) at android.os.RegistrantList.notifyRegistrants(RegistrantList.java:104) at com.android.internal.telephony.RIL.processUnsolicited(RIL.java:3825) at com.android.internal.telephony.ItsOnRIL.processUnsolicited(ItsOnRIL.java:306) at com.android.internal.telephony.RIL.processResponse(RIL.java:3011) at com.android.internal.telephony.RIL.access$700(RIL.java:286) at com.android.internal.telephony.RIL$RILReceiver.run(RIL.java:740) at java.lang.Thread.run(Thread.java:818)

    Users with the same issue

    Sacchi
    22 times, last one,
    Hiren Amaliyar
    251 times, last one,
    filipebatista
    85 times, last one,
    Agócs Tamás
    24 times, last one,
    Indri Yunita
    59 times, last one,
    94 more bugmates