Skip to content

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

@erikwalle

Description

@erikwalle

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions