java.lang.IllegalStateException: Handler (android.os.Handler) {7e88c7c} sending message to a Handler on a dead thread

GitHub | killingdjef | 1 month ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafafviola . Or join the community to write better ones.
  1. 0

    GitHub comment 143#272719265

    GitHub | 1 month ago | killingdjef
    java.lang.IllegalStateException: Handler (android.os.Handler) {7e88c7c} sending message to a Handler on a dead thread
  2. 0

    Sending message to a Handler on a dead thread

    GitHub | 9 months ago | karun2189
    java.lang.IllegalStateException: Handler (android.os.Handler) {18b2b23b} sending message to a Handler on a dead thread
  3. 0

    Stopping CaptureCallback request

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: Handler (android.os.Handler) {282a7034} sending message to a Handler on a dead thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Camera 2 close Daemon Warning

    Stack Overflow | 1 year ago | user2243919
    java.lang.IllegalStateException: Handler (android.os.Handler) {37798789} sending message to a Handler on a dead thread
  6. 0
    samebug tip
    You can solve this by using an actual Service instead of an IntentService

  1. Adrien 19 times, last 3 weeks ago
  2. filpgame 1 times, last 1 month ago
  3. Reich 12 times, last 3 weeks ago
  4. Indri Yunita 22 times, last 2 weeks ago
  5. bluebunnty 1 times, last 3 months ago
42 more registered users
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Handler (android.os.Handler) {7e88c7c} sending message to a Handler on a dead thread

    at android.os.MessageQueue.enqueueMessage()
  2. Android Platform
    Handler.post
    1. android.os.MessageQueue.enqueueMessage(MessageQueue.java:574)
    2. android.os.Handler.enqueueMessage(Handler.java:631)
    3. android.os.Handler.sendMessageAtTime(Handler.java:600)
    4. android.os.Handler.sendMessageDelayed(Handler.java:570)
    5. android.os.Handler.post(Handler.java:326)
    5 frames
  3. Android
    CameraCaptureSessionImpl.finalize
    1. android.hardware.camera2.dispatch.HandlerDispatcher.dispatch(HandlerDispatcher.java:61)
    2. android.hardware.camera2.dispatch.MethodNameInvoker.invoke(MethodNameInvoker.java:88)
    3. android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.onClosed(CallbackProxies.java:177)
    4. android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:387)
    5. android.hardware.camera2.impl.CameraCaptureSessionImpl.finalize(CameraCaptureSessionImpl.java:598)
    5 frames
  4. Java RT
    Thread.run
    1. java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:216)
    2. java.lang.Daemons$FinalizerDaemon.run(Daemons.java:194)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames