java.lang.IllegalStateException

Handler (android.media.MediaRecorder$EventHandler) {1934a667} 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 web118

  • via Stack Overflow by JimCzek
    ,
  • Stack trace

    • java.lang.IllegalStateException: Handler (android.media.MediaRecorder$EventHandler) {1934a667} sending message to a Handler on a dead thread at android.os.MessageQueue.enqueueMessage(MessageQueue.java:325) 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.sendMessage(Handler.java:507) at android.media.MediaRecorder.postEventFromNative(MediaRecorder.java:1029)

    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

    Hiren AmaliyarHiren Amaliyar
    4 times, last one
    ReichReich
    41 times, last one
    filipebatistafilipebatista
    515 times, last one
    SacchiSacchi
    94 times, last one
    Agócs TamásAgócs Tamás
    43 times, last one
    94 more bugmates