java.lang.IllegalStateException: Handler (lm) {bf1894b} 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 makleyston
, 1 year ago
Handler (lm) {bf1894b} sending message to a Handler on a dead thread
via Stack Overflow by ErLiang
, 1 year ago
Handler (FmRadioServiceHandler) {c972d65} sending message to a Handler on a dead thread
via GitHub by daniloercoli
, 1 year ago
Handler (android.media.MediaPlayer$EventHandler) {6d1e7b3} sending message to a Handler on a dead thread
via GitHub by alcntml
, 1 year ago
Handler (android.hardware.Camera$EventHandler) {ec29f13} sending message to a Handler on a dead thread
via GitHub by AdFad666
, 1 year ago
Handler (android.media.SoundPool$EventHandler) {72a6428} sending message to a Handler on a dead thread
via GitHub by 2ndGAB
, 1 year ago
Handler (android.media.MediaPlayer$EventHandler) {2d81fea} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (lm) {bf1894b} 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.Message.sendToTarget(Message.java:416)

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.