Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointer in AppSettingsDialog #316

Open
RahulBhavani opened this issue Dec 6, 2020 · 3 comments
Open

NullPointer in AppSettingsDialog #316

RahulBhavani opened this issue Dec 6, 2020 · 3 comments

Comments

@RahulBhavani
Copy link

Basic Information

Device type: Android
OS version: 8.1.0
EasyPermissions version: 3.0.0

Describe the problem

What happened? What did you expect to happen?

I had this crash in one of my user's device.

Code and logs

Caused by java.lang.NullPointerException
Attempt to invoke direct method 'void pub.devrel.easypermissions.AppSettingsDialog.setActivityOrFragment(java.lang.Object)' on a null object reference
pub.devrel.easypermissions.AppSettingsDialog.fromIntent (AppSettingsDialog.java:86)
pub.devrel.easypermissions.AppSettingsDialogHolderActivity.onCreate (AppSettingsDialogHolderActivity.java:31)
android.app.Activity.performCreate (Activity.java:7009)
android.app.Activity.performCreate (Activity.java:7000)
android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1214)
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2731)
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2856)
android.app.ActivityThread.-wrap11
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1589)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:164)
android.app.ActivityThread.main (ActivityThread.java:6494)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)

@elinkthings
Copy link

I also encountered the same problem

@drissfoo
Copy link

Any solution for this issue ? happens only in Android 8.10 (Nexus 5X)

@drissfoo
Copy link

BTW i think it's the same issue as this one #278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants