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

NPE in AuthenticationActivity.kt:72 #749

Open
6 tasks done
asif1189 opened this issue Jul 5, 2024 · 3 comments
Open
6 tasks done

NPE in AuthenticationActivity.kt:72 #749

asif1189 opened this issue Jul 5, 2024 · 3 comments
Labels
bug This points to a verified bug in the code

Comments

@asif1189
Copy link

asif1189 commented Jul 5, 2024

Checklist

Description

Hi,
We are using com.auth0.android:auth0:2.10.1 version of library & we are getting Null Pointer Exceptions in AuthenticationActivity. Below are the Crashlytics logs that we are getting.

com.auth0.android.provider.AuthenticationActivity.launchAuthenticationIntent (AuthenticationActivity.kt:72)
com.auth0.android.provider.AuthenticationActivity.onResume (AuthenticationActivity.kt:50)
android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1412)
android.app.Activity.performResume (Activity.java:7300)
android.app.ActivityThread.performResumeActivity (ActivityThread.java:3814)
android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3854)
android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:51)
android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1816)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:193)
android.app.ActivityThread.main (ActivityThread.java:6718)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

Looks like this issue is related to this issue #137

Reproduction

We are not able to reproduce this issue on our end but we are getting Crashlytics logs on a daily basis.

Screenshot 2024-07-05 at 5 44 33 PM

Additional context

No response

Auth0.Android version

2.10.1

Android version(s)

Android 9 (88%)

@asif1189 asif1189 added the bug This points to a verified bug in the code label Jul 5, 2024
@desusai7
Copy link
Contributor

desusai7 commented Jul 8, 2024

Hi @asif1189,

We will look into this and get back to you.

@asif1189
Copy link
Author

Hi @desusai7,

Any updates on this issue ?

@asif1189
Copy link
Author

asif1189 commented Jul 31, 2024

Hey @desusai7,

Did you get a chance to look into this issue ?
It's still impacting a lot of users & it's the Top Crash in our crashlytics dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

2 participants