FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

Crash NullPointerException from email of CredentialSaveActivity

Open splendapps opened this issue 1 month ago • 3 comments

This issue: https://github.com/firebase/FirebaseUI-Android/issues/2208 was marked as Closed but exception I still existing. It seems that if a user tries to register via Facebook using a phone number (without an email address) it generates an error.

splendapps avatar Dec 04 '25 08:12 splendapps

Hi @splendapps , can you attach the error you're encountering and if possible a minimal sample of the code that produces this error.

Also are you using v10.0.0-beta01?

demolaf avatar Dec 11 '25 13:12 demolaf

Hi @splendapps , can you attach the error you're encountering and if possible a minimal sample of the code that produces this error.

Also are you using v10.0.0-beta01?

Please try to create an account using firebase UI by creating it using your Facebook account without email address (registered with phone number).

splendapps avatar Dec 11 '25 13:12 splendapps

@splendapps Just to be clear a facebook account registered on facebook using a phone number and no email address attached to it, right?

This means that when authenticating on facebook only that phone number can be used alongside a password to access that account.

This works fine without any errors hence the reason why I need to know what error you're facing with v10.0.0-beta01.

demolaf avatar Dec 11 '25 15:12 demolaf

Hi @demolaf Yes. Alternatively you can try to login via facebook but dont allow access to email address.

PrativeshArya avatar Dec 18 '25 07:12 PrativeshArya

Hi @PrativeshArya , can I get an error message or screenshot of the issue you're facing?

demolaf avatar Dec 18 '25 08:12 demolaf

@PrativeshArya try version-10.0.0-beta01 branch and let me know what error you see when you attempt to login.

demolaf avatar Dec 18 '25 08:12 demolaf

@demolaf

Image

PrativeshArya avatar Dec 18 '25 08:12 PrativeshArya

@PrativeshArya kindly try out the version-10.0.0-beta01 branch, v9.x.x and below are no longer being maintained.

Let me know if the issue still exists on version-10.0.0-beta01.

demolaf avatar Dec 18 '25 09:12 demolaf