java.lang.IllegalStateException: Handler (android.media.MediaRecorder$EventHandler) {1934a667} sending message to a Handler on a dead thread

  1. 0

    Camera2Api Video Recording giving blank output file

    Stack Overflow | 5 months ago | Vaibhav Agarwal
    java.lang.IllegalStateException: Handler (android.media.MediaRecorder$EventHandler) {1934a667} sending message to a Handler on a dead thread
  2. 0

    Cannot get MediaPlayer.prepareAsync to work

    Stack Overflow | 2 years ago | JimCzek
    java.lang.IllegalStateException: Handler (android.media.MediaPlayer$EventHandler) {27bce352} sending message to a Handler on a dead thread
  3. 0

    GitHub comment 352#235688249

    GitHub | 4 months ago | AdFad666
    java.lang.IllegalStateException: Handler (android.media.SoundPool$EventHandler) {72a6428} sending message to a Handler on a dead thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 89#234512708

    GitHub | 4 months ago | 2ndGAB
    java.lang.IllegalStateException: Handler (android.media.MediaPlayer$EventHandler) {2d81fea} sending message to a Handler on a dead thread
  6. 0

    GitHub comment 4760#259770230

    GitHub | 3 weeks ago | daniloercoli
    java.lang.IllegalStateException: Handler (android.media.MediaPlayer$EventHandler) {6d1e7b3} sending message to a Handler on a dead thread

    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.media.MediaRecorder$EventHandler) {1934a667} sending message to a Handler on a dead thread

      at android.os.MessageQueue.enqueueMessage()
    2. Android Platform
      MediaRecorder.postEventFromNative
      1. android.os.MessageQueue.enqueueMessage(MessageQueue.java:325)
      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.sendMessage(Handler.java:507)
      6. android.media.MediaRecorder.postEventFromNative(MediaRecorder.java:1029)
      6 frames