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

firebase-auth:22.1.1 - com.google.android.gms.internal.firebase-auth-api.zzwk: java.lang.NullPointerException #5311

Closed
ShivamGoyal1899 opened this issue Sep 10, 2023 · 15 comments

Comments

@ShivamGoyal1899
Copy link

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Iguana 2023.2.1 Canary 3
  • Firebase Component: Firebase Authentication
  • Component version: 22.1.1

[REQUIRED] Step 3: Describe the problem

Since upgrading our Firebase BOM to 32.2.2, we've received several obfuscated crash reports in Firebase Crashlytics that we cannot reproduce or diagnose.

Steps to reproduce:

Have not been able to reproduce. Crashes generally occur within a second of the session's start.

Relevant Code:

Fatal Exception: com.google.android.gms.internal.firebase-auth-api.zzwk: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.google.firebase.auth.internal.zzt.f()' on a null object reference
       at com.google.firebase.auth.internal.zzbt.zzd(com.google.firebase:firebase-auth@@22.1.1:38)
       at com.google.firebase.auth.FirebaseAuth.zzT(com.google.firebase:firebase-auth@@22.1.1:14)
       at com.google.firebase.auth.zzx.zza(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzzc.zzb(com.google.firebase:firebase-auth@@22.1.1:3)
       at com.google.android.gms.internal.firebase-auth-api.zzabs.zzj(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzabp.zzq(com.google.firebase:firebase-auth@@22.1.1:2)
       at com.google.android.gms.internal.firebase-auth-api.zzaaq.zzq(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzxj.zzb(com.google.firebase:firebase-auth@@22.1.1:2)
       at com.google.android.gms.internal.firebase-auth-api.zzaca.zzc(com.google.firebase:firebase-auth@@22.1.1:12)
       at com.google.android.gms.internal.firebase-auth-api.zzaca.zzb(com.google.firebase:firebase-auth@@22.1.1:14)
       at com.google.android.gms.internal.firebase-auth-api.zzabf.zzf(com.google.firebase:firebase-auth@@22.1.1:4)
       at com.google.android.gms.internal.firebase-auth-api.zzys.zzp(com.google.firebase:firebase-auth@@22.1.1:4)
       at com.google.android.gms.internal.firebase-auth-api.zzaar.zzj(com.google.firebase:firebase-auth@@22.1.1:3)
       at com.google.android.gms.internal.firebase-auth-api.zzzc.zzc(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzabt.run(com.google.firebase:firebase-auth@@22.1.1:1)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java:47)
       at java.lang.Thread.run(Thread.java:1012)

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.google.firebase.auth.internal.zzt.f()' on a null object reference
       at com.google.firebase.auth.internal.zzbt.zzd(com.google.firebase:firebase-auth@@22.1.1:16)
       at com.google.firebase.auth.FirebaseAuth.zzT(com.google.firebase:firebase-auth@@22.1.1:14)
       at com.google.firebase.auth.zzx.zza(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzzc.zzb(com.google.firebase:firebase-auth@@22.1.1:3)
       at com.google.android.gms.internal.firebase-auth-api.zzabs.zzj(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzabp.zzq(com.google.firebase:firebase-auth@@22.1.1:2)
       at com.google.android.gms.internal.firebase-auth-api.zzaaq.zzq(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzxj.zzb(com.google.firebase:firebase-auth@@22.1.1:2)
       at com.google.android.gms.internal.firebase-auth-api.zzaca.zzc(com.google.firebase:firebase-auth@@22.1.1:12)
       at com.google.android.gms.internal.firebase-auth-api.zzaca.zzb(com.google.firebase:firebase-auth@@22.1.1:14)
       at com.google.android.gms.internal.firebase-auth-api.zzabf.zzf(com.google.firebase:firebase-auth@@22.1.1:4)
       at com.google.android.gms.internal.firebase-auth-api.zzys.zzp(com.google.firebase:firebase-auth@@22.1.1:4)
       at com.google.android.gms.internal.firebase-auth-api.zzaar.zzj(com.google.firebase:firebase-auth@@22.1.1:3)
       at com.google.android.gms.internal.firebase-auth-api.zzzc.zzc(com.google.firebase:firebase-auth@@22.1.1:1)
       at com.google.android.gms.internal.firebase-auth-api.zzabt.run(com.google.firebase:firebase-auth@@22.1.1:1)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java:47)
       at java.lang.Thread.run(Thread.java:1012)
@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@UKMIITB
Copy link

UKMIITB commented Sep 11, 2023

Please prioritise & fix this issue. It is impacting many users

@argzdev
Copy link
Contributor

argzdev commented Sep 15, 2023

Thanks for reaching out, @ShivamGoyal1899. I've notified our engineers regarding the issue. We'll keep you posted once we get updates.

@ShivamGoyal1899
Copy link
Author

@9468lgy This is a different issue and is tracked in #5266

@9468lgy
Copy link

9468lgy commented Sep 18, 2023

@9468lgy This is a different issue and is tracked in #5266

Ok,thanks

@argzdev
Copy link
Contributor

argzdev commented Sep 18, 2023

Hi folks, a new version of Firebase Auth has been released. That said could you try the latest version 22.1.2 and see if the issue still persists? Thanks!

@UKMIITB
Copy link

UKMIITB commented Sep 21, 2023

@argzdev When would this version come as part of firebase BOM ?
Currently we are using BOM, will there be any compatibility issue if BOM 32.3.1 is used but for auth we use 22.1.2 ?

@argzdev
Copy link
Contributor

argzdev commented Sep 21, 2023

@UKMIITB, the Firebase BoM version 32.3.1 already have the latest version of Firebase Auth 22.1.2. There shouldn't be any issues using either option (BoM or auth)

@UKMIITB
Copy link

UKMIITB commented Sep 21, 2023

@argzdev
Noted. Have updated the version. Will update here once after rollout is increased to a significant number

@google-oss-bot
Copy link
Contributor

Hey @ShivamGoyal1899. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@ShivamGoyal1899
Copy link
Author

Public Build with the fix went live yesterday. We are still monitoring the fix if it's working.

Will update here once after rollout is increased to a significant number.

@argzdev
Copy link
Contributor

argzdev commented Oct 2, 2023

Got it, let's keep this open for now for monitoring. Thanks folks!

@argzdev
Copy link
Contributor

argzdev commented Oct 16, 2023

Hi all, I'm assuming that the issue has been fixed, since it's been 2 weeks or so. Let me know if the issue is still present in the latest version. Thanks!

@argzdev argzdev closed this as completed Oct 16, 2023
@takashi8
Copy link

Hi,

FirebaseUI issue with SafetyNet API (firebase/FirebaseUI-Android#2133) has keeped #5148 open as mentioned at #5148 (comment), but it has been migrated here and seems lost update.

Just an update, our engineers are already working to updating the firebase/FirebaseUI-Android#2133. We can wait for the latest version release, and see if that fixes the issue. I'll leave this open for now.

@argzdev Do you know any update? Thanks in advance.

@argzdev
Copy link
Contributor

argzdev commented Nov 14, 2023

Hi @takashi8, it looks like the issue with FirebaseUI with SafetyNet API that requires BoM update already has a committed PR in another branch (version-8.1.0-dev). Let me ask our engineer to see if when we'll get this merged to the main branch.

@firebase firebase locked and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants