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

Crash with password saved on Google Smart Lock

Open Fax3D opened this issue 10 years ago • 9 comments

I'm having an issue if i save the password with Google smart lock. The second time i try to login (email+password) into my app, the Firebase ui flow crash... only after erasing password on passwords.google.com i can login without problem.

Here the stacktrace:

Class not found when unmarshalling: com.firebase.ui.auth.ui.FlowParameters java.lang.ClassNotFoundException: com.firebase.ui.auth.ui.FlowParameters at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:324) at android.os.Parcel.readParcelableCreator(Parcel.java:2404) at android.os.Parcel.readParcelable(Parcel.java:2358) at android.os.Parcel.readValue(Parcel.java:2264) at android.os.Parcel.readArrayMapInternal(Parcel.java:2614) at android.os.BaseBundle.unparcel(BaseBundle.java:221) at android.os.BaseBundle.getString(BaseBundle.java:920) at android.content.Intent.getStringExtra(Intent.java:6183) at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2695) at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:2157) at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6319) at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:6097) at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:170) at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3990) at android.os.Binder.execTransact(Binder.java:453) Caused by: java.lang.ClassNotFoundException: com.firebase.ui.auth.ui.FlowParameters at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method)  at java.lang.Class.forName(Class.java:324)  at android.os.Parcel.readParcelableCreator(Parcel.java:2404)  at android.os.Parcel.readParcelable(Parcel.java:2358)  at android.os.Parcel.readValue(Parcel.java:2264)  at android.os.Parcel.readArrayMapInternal(Parcel.java:2614)  at android.os.BaseBundle.unparcel(BaseBundle.java:221)  at android.os.BaseBundle.getString(BaseBundle.java:920)  at android.content.Intent.getStringExtra(Intent.java:6183)  at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2695)  at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:2157)  at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6319)  at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:6097)  at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:170)  at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3990)  at android.os.Binder.execTransact(Binder.java:453) 

Fax3D avatar May 26 '16 12:05 Fax3D

Someone could check this issue please?

Thanks!

Fax3D avatar Jun 01 '16 15:06 Fax3D

Not sure we can help here. We don't use smart lock much and don't have much experience with this. Caused by: java.lang.ClassNotFoundException: com.firebase.ui.auth.ui.FlowParameters suggests that there is an incorrectly configured intent, but there are a lot of reasons you could see this, and not nearly enough info here to help you troubleshoot.

katowulf avatar Jun 01 '16 17:06 katowulf

@iainmcgin can you weigh in here?

puf avatar Jun 01 '16 19:06 puf

Crashed with the same exception

tsadoklf avatar Aug 17 '16 12:08 tsadoklf

same here

I am using KitKat it crashed, but when I am using Android 5.1 it is good to go

since kitkat doesn't have smartlock, I think it is the problem

stevedj avatar Sep 14 '16 02:09 stevedj

@Fax3D @stevedj @tsadoklf From the stack trace it seems to be a classloader issue, but I am unable to reproduce it either on Android M or on KitKat. Can anyone confirm that it is still an issue on the latest FirebaseUI 0.6.1? Thanks!

amandle avatar Oct 16 '16 22:10 amandle

closing as I am unable to reproduce this, please comment if it is still happening for you!

amandle avatar Oct 21 '16 20:10 amandle

Still Happening to me same issue.

riddy6421 avatar Jan 31 '17 13:01 riddy6421

I hit the same exception today, I believe I fixed it by ensuring my firebaseUI matched the appropriate firebase versions found on the readme https://github.com/firebase/FirebaseUI-Android (Currently UI v1.1.1 should be using either firebase v10.0.0 or v10.0.1)

ahaverty avatar Feb 07 '17 16:02 ahaverty