Skip to content

Fatal Exception: java.lang.NullPointerException - Method com.firebase.ui.auth.ui.credentials.CredentialSaveActivity$Companion.createIntent, parameter email #2279

@NamTranDev

Description

@NamTranDev

Fatal Exception: java.lang.NullPointerException
Parameter specified as non-null is null: method com.firebase.ui.auth.ui.credentials.CredentialSaveActivity$Companion.createIntent, parameter email

com.firebase.ui.auth.ui.credentials.CredentialSaveActivity$Companion.createIntent (Unknown Source:12)

My code :

signInWithOnlyOption(
when (authenType) {
AuthenType.GOOGLE -> AuthUI.IdpConfig.GoogleBuilder().build()
AuthenType.FACE_BOOK -> (activity as BaseActivity).getFaceBookProvider()
else -> AuthUI.IdpConfig.EmailBuilder()
.setDefaultEmail(authenManager.getEmail()).build()
}
)
This crash error never happened when using the old version . I updated to lastest version v9.1.1 but issue still happen in firebase crashlytic log

Metadata

Metadata

Assignees

No one assigned

    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