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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Mitodina

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

,

Thrown to indicate that a method has been invoked at an illegal or inappropriate or wrong time. Try reobtaining message using Message.obtain method.

Solutions on the web

via GitHub by c3ph3us
, 1 year ago
Handler (android.os.Handler) {23d9b8e} sending message to a Handler on a dead thread
via GitHub by shirriff
, 1 year ago
Handler (android.os.Handler) {128af18d} sending message to a Handler on a dead thread
via Stack Overflow by yashwanth tumuluri
, 1 year ago
Handler (android.os.Handler) {10dcdab} sending message to a Handler on a dead thread
via GitHub by shellshocker
, 1 year ago
Handler (android.os.Handler) {9f0295f} sending message to a Handler on a dead thread
via Stack Overflow by Technicolor
, 1 year ago
Handler (android.os.Handler) {f9c4a9b} sending message to a Handler on a dead thread
via Stack Overflow by Daniel N.
, 1 year ago
Handler (akgv) {896094c} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (android.os.Handler) {23d9b8e} 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.post(Handler.java:326)
at android.widget.Toast$TN.hide(Toast.java:393)
at android.app.ITransientNotification$Stub.onTransact(ITransientNotification.java:55)
at android.os.Binder.execTransact(Binder.java:453)

Users with the same issue

42 times, 1 week ago
16 times, 1 month ago
Once, 1 month ago
73 times, 3 months ago
26 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.