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 143#272719265
    via GitHub by killingdjef
    ,
  • Stopping CaptureCallback request
    via by Unknown author,
  • Dead Thread kills Sync
    via GitHub by roundhill
    ,
  • GitHub comment 4961#194189934
    via GitHub by maraujop
    ,
  • React-Native bundle --dev false
    via GitHub by Amurmurmur
    ,
    • java.lang.IllegalStateException: Handler (android.os.Handler) {7e88c7c} sending message to a Handler on a dead thread at android.os.MessageQueue.enqueueMessage(MessageQueue.java:574) 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.hardware.camera2.dispatch.HandlerDispatcher.dispatch(HandlerDispatcher.java:61) at android.hardware.camera2.dispatch.MethodNameInvoker.invoke(MethodNameInvoker.java:88) at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.onClosed(CallbackProxies.java:177) at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:387) at android.hardware.camera2.impl.CameraCaptureSessionImpl.finalize(CameraCaptureSessionImpl.java:598) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:216) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:194) at java.lang.Thread.run(Thread.java:818)

    Users with the same issue

    Reich
    2 times, last one,
    Adrien
    19 times, last one,
    dealloc
    1 times, last one,
    Alexandru Popa
    1 times, last one,
    ank_07
    6 times, last one,
    94 more bugmates