Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RuntimeException: ActivityThread.handleSleeping

Tags:

android

This crash occured on Samsung Galaxy S8+ (Android 8.0):

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleSleeping (ActivityThread.java:4403)
  at android.app.ActivityThread.-wrap23 (Unknown Source)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1893)
  at android.os.Handler.dispatchMessage (Handler.java:105)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6938)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)

Did you have this kind of crash? Have you got some explanations?

like image 783
anthony Avatar asked Mar 09 '18 19:03

anthony


1 Answers

This seems to be a Samsung Specific Issue. People are facing similar crashes. A thread has been opened on Samsung Forum mentioning the exact same issue. Currently, no workaround is available as it is unknown why it's happening. Keep an eye on the thread, Samsung may come up with a workaround on that thread.

My guess is it is happening due to their Battery Saving Strategy.

like image 74
Sahil Avatar answered Nov 07 '22 22:11

Sahil