Skip to content

(GoogleSignInFragment.java:529) Fatal Exception #28

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

Open
dwulive opened this issue Feb 10, 2018 · 3 comments
Open

(GoogleSignInFragment.java:529) Fatal Exception #28

dwulive opened this issue Feb 10, 2018 · 3 comments

Comments

@dwulive
Copy link

dwulive commented Feb 10, 2018

java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2017.3.0p2
Device model : LENOVO Lenovo TB2-X30L
Device fingerprint: Lenovo/TB2-X30L/TB2-X30L:6.0.1/LenovoTB2-X30L/TB2-X30L_S000118_160831_ROW:user/release-keys
Caused by
at android.app.ActivityThread.deliverResults (ActivityThread.java:3699)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:3742)
at android.app.ActivityThread.access$1400 (ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1393)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:5417)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:616)
Caused by: java.lang.NullPointerException:
at com.google.googlesignin.GoogleSignInFragment.onActivityResult (GoogleSignInFragment.java:529)
at android.app.Activity.dispatchActivityResult (Activity.java:6514)
at android.app.ActivityThread.deliverResults (ActivityThread.java:3695)

@lukezbihlyj
Copy link
Contributor

I'm seeing this same issue in crash reports on the Play Store affecting a significant number of users across all Android versions. Did you ever figure anything out?

@dwulive
Copy link
Author

dwulive commented Jun 4, 2018

Here is the patch that I used. It is not good, but it prevents a crash and we display an error to the user when we encounter the problem.
I don't know what triggers it.

GoogleSignInFragment.zip

@pfleeter
Copy link

pfleeter commented May 28, 2019

We were not seeing this error until we upgraded to Unity 2018.3. Also, it is only happening for us on Android 9. Our call stack is a little different, tho:

Correction: The call stack below is for Android 9, but we are seeing the call stack as originally reported for earlier versions of Android.

java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2018.3.11f1
Device model : Xiaomi Mi A2
Device fingerprint: xiaomi/jasmine/jasmine_sprout:9/PKQ1.180904.001/V10.0.9.0.PDIMIXM:user/release-keys
Caused by
at android.app.ActivityThread.deliverResults (ActivityThread.java:4361)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:4403)
at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1809)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:193)
at android.app.ActivityThread.main (ActivityThread.java:6692)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
Caused by: java.lang.NullPointerException:
at com.google.googlesignin.GoogleSignInFragment.onActivityResult (GoogleSignInFragment.java:529)
at android.app.Activity.dispatchActivityResult (Activity.java:7481)
at android.app.ActivityThread.deliverResults (ActivityThread.java:4354)

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