java.lang.IllegalStateException: Handler (android.os.Handler) {39d5cec} sending message to a Handler on a dead thread


Samebug tips

You can solve this by using an actual Service instead of an IntentService


,
via Stack Overflow by Mitodina

Solutions on the web

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

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

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

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

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

Solution icon of github
via GitHub by ScottPierce
, 9 months ago
Handler (android.os.Handler) {113e4e7} sending message to a Handler on a dead thread

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

Solution icon of github
via GitHub by mahomahomaho
, 1 month ago
Handler (android.os.Handler) {917e108} sending message to a Handler on a dead thread

Solution icon of stackoverflow
via Stack Overflow by user1212027
, 11 months ago
Handler (android.os.Handler) {7c76d81} sending message to a Handler on a dead thread

Solution icon of github
via GitHub by bpappin
, 1 year ago
Handler (android.os.Handler) {1bb94f4b} 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

125 times, 1 week ago
Once, 1 month ago
2 times, 1 month ago
601 times, 2 months ago
515 times, 3 months ago
100 more bugmates