Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
2019-07-03 14:51:59.000 15060-16310/com.noodoe.sunray.dev D/EmergencyReceiver:167: Got SOS operation START_COUNT_DOWN
2019-07-03 14:51:59.002 15060-16310/com.noodoe.sunray.dev D/EmergencyReceiver:179: Accident happened at 2019/07/03 02:51 PM
2019-07-03 14:51:59.003 15060-16310/com.noodoe.sunray.dev W/MessageQueue: Handler (android.media.MediaPlayer$EventHandler) {6acb285} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (android.media.MediaPlayer$EventHandler) {6acb285} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:600)
at android.os.Handler.enqueueMessage(Handler.java:643)
at android.os.Handler.sendMessageAtTime(Handler.java:612)
at android.os.Handler.sendMessageDelayed(Handler.java:582)
at android.os.Handler.sendMessage(Handler.java:519)
at android.media.MediaPlayer.postEventFromNative(MediaPlayer.java:3094)
at android.media.MediaPlayer._start(Native Method)
at android.media.MediaPlayer.start(MediaPlayer.java:1246)
at com.noodoe.sunray.service.EmergencyReceiver$Companion.playAlarmingSound(EmergencyReceiver.kt:259)
at com.noodoe.sunray.service.EmergencyReceiver$Companion.access$playAlarmingSound(EmergencyReceiver.kt:248)
at com.noodoe.sunray.service.EmergencyReceiver.onSOSOperationListener(EmergencyReceiver.kt:180)
at com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler.handleCommandInput(SunrayControlCommandV20Handler.java:340)
at com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler.access$600(SunrayControlCommandV20Handler.java:30)
at com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler$ControlCommandInternalHandler.handleMessage(SunrayControlCommandV20Handler.java:472)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:241)
at android.os.HandlerThread.run(HandlerThread.java:61)
2019-07-03 14:51:59.004 15060-16310/com.noodoe.sunray.dev D/EmergencyReceiver$Companion:261: Alarm sound started
2019-07-03 14:51:59.010 15060-16310/com.noodoe.sunray.dev D/EmergencyReceiver:167: Got SOS operation START_COUNT_DOWN
2019-07-03 14:51:59.011 15060-16310/com.noodoe.sunray.dev D/EmergencyReceiver:179: Accident happened at 2019/07/03 02:51 PM
2019-07-03 14:51:59.013 15060-16310/com.noodoe.sunray.dev W/MessageQueue: Handler (android.media.MediaPlayer$EventHandler) {6acb285} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (android.media.MediaPlayer$EventHandler) {6acb285} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:600)
at android.os.Handler.enqueueMessage(Handler.java:643)
at android.os.Handler.sendMessageAtTime(Handler.java:612)
at android.os.Handler.sendMessageDelayed(Handler.java:582)
at android.os.Handler.sendMessage(Handler.java:519)
at android.media.MediaPlayer.postEventFromNative(MediaPlayer.java:3094)
at android.media.MediaPlayer._start(Native Method)
at android.media.MediaPlayer.start(MediaPlayer.java:1246)
at com.noodoe.sunray.service.EmergencyReceiver$Companion.playAlarmingSound(EmergencyReceiver.kt:259)
at com.noodoe.sunray.service.EmergencyReceiver$Companion.access$playAlarmingSound(EmergencyReceiver.kt:248)
at com.noodoe.sunray.service.EmergencyReceiver.onSOSOperationListener(EmergencyReceiver.kt:180)
at com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler.handleCommandInput(SunrayControlCommandV20Handler.java:340)
at com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler.access$600(SunrayControlCommandV20Handler.java:30)
at com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler$ControlCommandInternalHandler.handleMessage(SunrayControlCommandV20Handler.java:472)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:241)
at android.os.HandlerThread.run(HandlerThread.java:61)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment