java.lang.IllegalStateException

Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {2634651} 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 web17253

  • via GitHub by DanielMaly
    , 10 months ago
    Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {2634651} sending message to a Handler on a dead thread
  • via GitHub by evasyuk
    , 5 months ago
    Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {6726b48} sending message to a Handler on a dead thread
  • Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {1d720b54} sending message to a Handler on a dead thread
  • Stack trace

    • java.lang.IllegalStateException: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {2634651} 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 com.facebook.react.bridge.queue.MessageQueueThreadImpl.runOnQueue(MessageQueueThreadImpl.java:61) at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) at android.os.Looper.loop(Looper.java:148) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) at java.lang.Thread.run(Thread.java:818)

    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

    5 times, 8 months ago
    562 times, 9 months ago
    6 times, 4 months ago
    Once, 6 months ago
    2 times, 8 months ago
    96 more bugmates