java.lang.IllegalStateException

Handler (android.os.Handler) {39d5cec} 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 web17466

Solution icon of github
via GitHub by qwill
, 6 months ago
Handler (android.os.Handler) {39d5cec} sending message to a Handler on a dead thread

Solution icon of github
via GitHub by nelsonalfo
, 1 year ago
Handler (android.os.Handler) {135d4b60} sending message to a Handler on a dead thread

Solution icon of github
Handler (android.os.Handler) {2482f5a9} sending message to a Handler on a dead thread

Solution icon of github
via GitHub by osdamv
, 2 months ago
Handler (android.os.Handler) {f15b46} sending message to a Handler on a dead thread

Solution icon of github
Handler (android.os.Handler) {ed82dba} sending message to a Handler on a dead thread

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Handler (android.os.Handler) {282a7034} sending message to a Handler on a dead thread

Solution icon of stackoverflow
Handler (android.os.Handler) {18ae5da4} sending message to a Handler on a dead thread

Solution icon of stackoverflow
Handler (android.os.Handler) {23de8a0} sending message to a Handler on a dead thread

Solution icon of stackoverflow
via Stack Overflow by tiamat
, 1 year ago
Handler (android.os.Handler) {1e3fad36} sending message to a Handler on a dead thread

Solution icon of stackoverflow
Handler (android.os.Handler) {ef17f10} sending message to a Handler on a dead thread

Stack trace

  • 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)

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

589 times, 8 hours ago
515 times, 1 month ago
43 times, 1 month ago
153 times, 5 months ago
32 times, 6 months ago
97 more bugmates