Skip to content

Crash rotating device #155

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

Closed
Fax3D opened this issue May 30, 2016 · 4 comments
Closed

Crash rotating device #155

Fax3D opened this issue May 30, 2016 · 4 comments

Comments

@Fax3D
Copy link

Fax3D commented May 30, 2016

I got a crash rotating a device while signing in with e-mail&password.
I'm using com.firebaseui:firebase-ui-auth:0.4.0. on a Nexus 5 with Android 6.0.1.

Step to reproduce:

  • Launch AuthUI intent to show sign in dialog
  • Insert email & password
  • When clicking "Next" to start sign in process, during the progress loader try to rotate your device
  • Crash!

Hope this additional info could help.

Here the stack trace:
FATAL EXCEPTION: main
Process: ***, PID: 6978
java.lang.IllegalArgumentException: View=com.android.internal.policy.PhoneWindow$DecorView{1d3e843 V.E...... R......D 0,0-1026,348} not attached to window manager
at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:424)
at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:350)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:116)
at android.app.Dialog.dismissDialog(Dialog.java:362)
at android.app.Dialog.dismiss(Dialog.java:345)
at com.firebase.ui.auth.ui.ActivityHelper.dismissDialog(ActivityHelper.java:47)
at com.firebase.ui.auth.ui.email.RegisterEmailActivity$2$1.onComplete(RegisterEmailActivity.java:159)
at com.google.android.gms.tasks.zzc$1.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

@katowulf
Copy link

Add code and version info please. See creating an mcve.

@Fax3D
Copy link
Author

Fax3D commented Jun 1, 2016

@katowulf Added some info.

Thanks.

@samtstern
Copy link
Contributor

Fixed implemented in #238, will make it into next release.

@samtstern samtstern added this to the 0.5.0 milestone Aug 16, 2016
@samtstern
Copy link
Contributor

This fix for this issue is included in version 0.5.0.

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

4 participants