java.lang.IllegalStateException: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {1d720b54} 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 vincenzoiacovone
, 1 year ago
Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {1d720b54} 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 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 c3ph3us
, 1 year ago
Handler (android.os.Handler) {23d9b8e} 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
java.lang.IllegalStateException: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {1d720b54} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:325)
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 com.facebook.react.bridge.queue.MessageQueueThreadImpl.runOnQueue(MessageQueueThreadImpl.java:61)
at com.facebook.react.bridge.ReactContext.runOnJSQueueThread(ReactContext.java:247)
at com.facebook.react.uimanager.events.EventDispatcher$ScheduleDispatchFrameCallback.doFrame(EventDispatcher.java:258)
at com.facebook.react.uimanager.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:131)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:765)
at android.view.Choreographer.doCallbacks(Choreographer.java:580)
at android.view.Choreographer.doFrame(Choreographer.java:549)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)

Users with the same issue

42 times, 5 days 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.