edw1nzhao / cs2340_group16

CS2340 Group 16 Crowd-Sourced Water Reporting App
2 stars 1 forks source link

Error: Potential Login Error #34

Closed edw1nzhao closed 7 years ago

edw1nzhao commented 7 years ago

Description: When 13 as the email address and 1 as the password and then create account button is pressed, error comes out.

Steps to reproduce:

Set 13 as email address, and 1 as password. Creating an account gives the exception E/UncaughtException: com.google.android.gms.tasks.RuntimeExecutionException: com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted.

Expected result:

Expected to have Toast message pop up mentioning that email is not of valid form and password is too short.

Observed result:

time: FATAL EXCEPTION: main Process: edu.gatech.group16.watersourcingproject, PID: 3984 com.google.android.gms.tasks.RuntimeExecutionException: com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted. at com.google.android.gms.tasks.zzh.getResult(Unknown Source) at edu.gatech.group16.watersourcingproject.controller.LoginActivity$2.onComplete(LoginActivity.java:103) 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) Caused by: com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted. at com.google.android.gms.internal.zzbix.zzcb(Unknown Source) at com.google.android.gms.internal.zzbiu$zzj.zza(Unknown Source) at com.google.android.gms.internal.zzbjf.zzcc(Unknown Source) at com.google.android.gms.internal.zzbjf$zza.onFailure(Unknown Source) at com.google.android.gms.internal.zzbja$zza.onTransact(Unknown Source) at android.os.Binder.execTransact(Binder.java:453) I/Process: Sending signal. PID: 3984 SIG: 9 Application terminated.