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

java.lang.NullPointerException - Attempt to invoke virtual method 'int java.util.AbstractCollection.size()' on a null object reference #6628

Open
benoitletondor opened this issue Jan 17, 2025 · 7 comments

Comments

@benoitletondor
Copy link

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

Yes

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Android Studio Ladybug Feature Drop | 2024.2.2
    Build #AI-242.23726.103.2422.12816248, built on December 18, 2024
  • Firebase Component: BOM 33.7.0
  • Component version: com.google.firebase:[email protected]

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

Crash when calling com.google.firebase.auth.FirebaseAuth.getInstance() on Chromebook, exactly like #5735

The stack trace:

trace.txt

Seems to happen only on AMD Stoney Ridge Chromebook running Android 11

@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.

@benoitletondor
Copy link
Author

This seems to have started on January 15

Image

@benoitletondor
Copy link
Author

@lehcar09 👋 I see you triaged my issue but didn't answer. This is an actual production bug affecting all of my users so I'd love to get at least a bit of insight of what's going on and if there's something I can do on my end to mitigate this.

Many thanks!

Image

@lehcar09
Copy link
Contributor

Hi @benoitletondor, I’m currently taking a look at this. Based on your description, this looks like a device specific issue and started on Jan 15. Did you recently update the Firebase version you’re using? Can you share the previous version you’re using?

Looking into our release notes, there are no changes in Firebase Authentication in BOM 33.7.0.

@benoitletondor
Copy link
Author

I didn't bump any firebase dependency no, the only I changed is the AGP version from 8.7.3 to 8.8.0

@benoitletondor
Copy link
Author

@lehcar09 ?

@lehcar09
Copy link
Contributor

This issue might be caused by the incompatibility of the AGP version on Chromebook devices running Android 11.

Could you share your gradle app/module file? Aside from that, have you tried reverting to AGP 8.7.3 to see if the error rate reduces?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants