11

My app has about 20k daily active users and there is a fatal crash affecting only android 11 users that I'm not able to identify the root cause.

the stack trace is

Fatal Exception: android.app.RemoteServiceException: Attempt to invoke virtual method 'int com.android.server.wm.TaskDisplayArea.getDisplayId()' on a null object reference
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2054)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:250)
       at android.app.ActivityThread.main(ActivityThread.java:7755)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)

100% affected users are android 11 Motorola devices [3 different Motorola models] and 100% of the times app is in the background

the stack trace shows that is something related to showing an image on the screen but the error happens in many different situations that I'm aware of a common code [of mine] that could be the cause

does anyone face this issue?
is there any Motorola-related issue known that could be the cause?
is there any way to better debug it and maybe identify the root cause?

Rahul
  • 3,293
  • 2
  • 31
  • 43
Rafael Lima
  • 3,079
  • 3
  • 41
  • 105

0 Answers0