You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one of my apps I got the following crash on crashlytics reporting.
It is one crash but both stacktraces where available on firebase:
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.madlymad.uptime/com.gun0912.tedpermission.TedPermissionActivity}: java.lang.NullPointerException: Attempt to get length of null array
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by java.lang.NullPointerException: Attempt to get length of null array
at com.gun0912.tedpermission.TedPermissionActivity.needWindowPermission(TedPermissionActivity.java:124)
at com.gun0912.tedpermission.TedPermissionActivity.onCreate(TedPermissionActivity.java:77)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
The version of the library that I am using is 2.2.2 but checking the crashing line it looks to me that the crash is still valid in latest master.
Sadly I do not have much information how the user ended up with the crash but it seems that there are cases that the code is triggered and the "permissions" array is not initialized.
Hi,
In one of my apps I got the following crash on crashlytics reporting.
It is one crash but both stacktraces where available on firebase:
The version of the library that I am using is 2.2.2 but checking the crashing line it looks to me that the crash is still valid in latest master.
Sadly I do not have much information how the user ended up with the crash but it seems that there are cases that the code is triggered and the "permissions" array is not initialized.
The library usage on my code is done here
Device info crash:
Brand: LGE
Model: Nexus 5X
Version: 8.1.0
I remain at your disposal for any further information.
The text was updated successfully, but these errors were encountered: