com.google.firebase.database.DatabaseException: Can't convert object of type java.util.ArrayList to type com.rhcloud.escot.bsr.Route

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android Firebase retrieve data from child node
    via Stack Overflow by Isuru
    ,
  • Getting Firebase children to RecyclerView
    via Stack Overflow by 7uthaifah
    ,
    • com.google.firebase.database.DatabaseException: Can't convert object of type java.util.ArrayList to type com.rhcloud.escot.bsr.Route at com.google.android.gms.internal.zzalq.zzd(Unknown Source) at com.google.android.gms.internal.zzalq.zzb(Unknown Source) at com.google.android.gms.internal.zzalq.zza(Unknown Source) at com.google.firebase.database.DataSnapshot.getValue(Unknown Source) at com.rhcloud.escot.bsr.MainActivity$2$2.onChildAdded(MainActivity.java:94) at com.google.android.gms.internal.zzahh.zza(Unknown Source) at com.google.android.gms.internal.zzajh.zzctc(Unknown Source) at com.google.android.gms.internal.zzajk$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:815) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5631) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

    Users with the same issue

    shankari
    shankari1 times, last one,
    Unknown visitor1 times, last one,