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

err: Fatal Exception: java.lang.RuntimeException #22

Open
erikwalle opened this issue Aug 20, 2021 · 1 comment
Open

err: Fatal Exception: java.lang.RuntimeException #22

erikwalle opened this issue Aug 20, 2021 · 1 comment
Assignees

Comments

@erikwalle
Copy link

I haven't reproduced this myself but google is reporting it in their automated tests. I've also seen it on crashlytics, occurs in Android 8.1.

Line:

https://github.com/openforge/capacitor-game-services/blob/development/android/src/main/java/io/openforge/gameservices/GameServices.java#L57

Error:

Fatal Exception: java.lang.RuntimeException
Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {com.overworld.app/com.overworld.app.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.gms.auth.api.signin.GoogleSignInResult.isSuccess()' on a null object reference

io.openforge.gameservices.GameServices.handleOnActivityResult (GameServices.java:57)
com.getcapacitor.Bridge.onActivityResult (Bridge.java:1000)
com.getcapacitor.BridgeActivity.onActivityResult (BridgeActivity.java:216)
android.app.Activity.dispatchActivityResult (Activity.java:8300)

@jedihacks
Copy link
Member

@Ricardo385 can you look into this?

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