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

Error - Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void #218

Open
avishek-dev opened this issue Sep 1, 2023 · 0 comments

Comments

@avishek-dev
Copy link

Description:

  • In Firebase Crashlytics getting this error, but this error is not coming is development environment.
  • Using "react-native-location": "^2.5.0" this version of the APK.

Error log:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.startIntentSenderForResult(android.content.IntentSender, int, android.content.Intent, int, int, int)' on a null object reference
at com.google.android.gms.common.api.Status.startResolutionForResult(com.google.android.gms:play-services-basement@@18.0.0:2)
at com.google.android.gms.common.api.ResolvableApiException.startResolutionForResult(com.google.android.gms:play-services-basement@@18.0.0:1)
at com.github.reactnativecommunity.location.RNPlayServicesLocationProvider$2.onFailure(RNPlayServicesLocationProvider.java:175)
at com.google.android.gms.tasks.zzk.run(com.google.android.gms:play-services-tasks@@18.0.1:1)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:192)
at android.app.ActivityThread.main(ActivityThread.java:6759)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:875)

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

1 participant