java.lang.IllegalStateException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 14#241634436
    via GitHub by pietgk
    ,
  • GitHub comment 281#244897529
    via GitHub by DanielMaly
    ,
  • GitHub comment 662#294297658
    via GitHub by natdm
    ,
  • React-Native bundle --dev false
    via GitHub by Amurmurmur
    ,
  • GitHub comment 582#259018042
    via GitHub by silhouettes
    ,
  • GitHub comment 582#260833783
    via GitHub by silhouettes
    ,
  • GitHub comment 50#264399508
    via GitHub by wangfangc
    ,
    • java.lang.IllegalStateException: Handler (com.facebook.react.bridge.queue.MessageQueueThreadHandler) {8b4a5c2} 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)

    Users with the same issue

    bluebunnty
    5 times, last one,
    pranavprakash
    317 times, last one,
    justCodeit
    6 times, last one,
    filpgame
    1 times, last one,
    malhobayyeb
    2 times, last one,
    94 more bugmates