Skip to content

High crash rate (NPE) com.firebase.ui.auth.ui.phone.PhoneActivity.dismissLoadingDialog #1127

@RuiVarela

Description

@RuiVarela

Step 1: Are you in the right place?

Yes

Step 2: Describe your environment

  • Android device: several
  • Android OS version: 4,5,6,7
  • Google Play Services version: 11.8.0
  • Firebase/Play Services SDK version: 11.8.0
  • FirebaseUI version: 3.2.0

Step 3: Describe the problem:

Hi All,
we have been experiencing an high crash rate for this issue since november,
while connecting with phone (we only use fb for phone) we have erratically this NPE in production

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v4.app.p android.support.v4.app.l.a()' on a null object reference
       at android.support.v4.app.DialogFragment.dismissInternal(DialogFragment.java:200)
       at android.support.v4.app.DialogFragment.dismissAllowingStateLoss(DialogFragment.java:181)
       at com.firebase.ui.auth.ui.phone.PhoneActivity.dismissLoadingDialog(PhoneActivity.java:398)
       at com.firebase.ui.auth.ui.phone.PhoneActivity.access$000(PhoneActivity.java:55)
       at com.firebase.ui.auth.ui.phone.PhoneActivity$4$1.run(PhoneActivity.java:330)
       at android.os.Handler.handleCallback(Handler.java:751)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6816)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)

we have released a version with the ui locked to portrait to try mitigating this issue, but no luck

here is the more detailed info from crashlitics
http://crashes.to/s/558e77a34fd
any advice, or workaround for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions