com.google.firebase.database.DatabaseException: Expected a List while deserializing, but got a class java.util.HashMap

Stack Overflow | Subratsss | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to use FirebaseRecycleAdapter instead of RecyclerAdapter?

    Stack Overflow | 2 months ago | Subratsss
    com.google.firebase.database.DatabaseException: Expected a List while deserializing, but got a class java.util.HashMap
  2. 0

    Populate Date and Time in FireBaseRecyclerView Adapter in Human Readable Form

    Stack Overflow | 1 month ago | Alok Kumar
    com.google.firebase.database.DatabaseException: Failed to convert a value of type java.lang.String to long
  3. 0

    Failed to convert value of type java.util.HashMap to String | Android

    Stack Overflow | 2 weeks ago | Julia Falinska
    com.google.firebase.database.DatabaseException: Failed to convert value of type java.util.HashMap to String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.google.firebase.database.DatabaseException: Failed to convert a value of type java.lang.String to double

    Stack Overflow | 2 months ago | Annonymous177
    com.google.firebase.database.DatabaseException: Failed to convert a value of type java.lang.String to double
  6. 0

    Firebase Android - Crash with "Found a conflicting setters with name: setGregorianChange" when .setValue()

    Stack Overflow | 2 months ago | Valentin
    com.google.firebase.database.DatabaseException: Found a conflicting setters with name: setGregorianChange (conflicts with setGregorianChange defined on java.util.GregorianCalendar)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.google.firebase.database.DatabaseException

      Expected a List while deserializing, but got a class java.util.HashMap

      at com.google.android.gms.internal.zzbqi.zza()
    2. com.google.android
      zzbqi.zza
      1. com.google.android.gms.internal.zzbqi.zza(Unknown Source)
      2. com.google.android.gms.internal.zzbqi.zza(Unknown Source)
      3. com.google.android.gms.internal.zzbqi.zzb(Unknown Source)
      4. com.google.android.gms.internal.zzbqi$zza.zze(Unknown Source)
      5. com.google.android.gms.internal.zzbqi$zza.zzaG(Unknown Source)
      6. com.google.android.gms.internal.zzbqi.zze(Unknown Source)
      7. com.google.android.gms.internal.zzbqi.zzb(Unknown Source)
      8. com.google.android.gms.internal.zzbqi.zza(Unknown Source)
      8 frames
    3. com.google.firebase
      DataSnapshot.getValue
      1. com.google.firebase.database.DataSnapshot.getValue(Unknown Source)
      1 frame
    4. com.firebase.ui
      FirebaseRecyclerAdapter.onBindViewHolder
      1. com.firebase.ui.database.FirebaseRecyclerAdapter.parseSnapshot(FirebaseRecyclerAdapter.java:163)
      2. com.firebase.ui.database.FirebaseRecyclerAdapter.getItem(FirebaseRecyclerAdapter.java:152)
      3. com.firebase.ui.database.FirebaseRecyclerAdapter.onBindViewHolder(FirebaseRecyclerAdapter.java:195)
      3 frames
    5. Android v7
      RecyclerView.onMeasure
      1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6279)
      2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6312)
      3. android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5258)
      4. android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5521)
      5. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5363)
      6. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5359)
      7. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2141)
      8. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1525)
      9. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1488)
      10. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:560)
      11. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3506)
      12. android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2969)
      12 frames
    6. Android Platform
      View.measure
      1. android.view.View.measure(View.java:18809)
      1 frame
    7. Android Support v4
      NestedScrollView.measureChildWithMargins
      1. android.support.v4.widget.NestedScrollView.measureChildWithMargins(NestedScrollView.java:1420)
      1 frame
    8. Android Platform
      FrameLayout.onMeasure
      1. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      1 frame
    9. Android Support v4
      NestedScrollView.onMeasure
      1. android.support.v4.widget.NestedScrollView.onMeasure(NestedScrollView.java:482)
      1 frame
    10. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.View.measure(View.java:18809)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      2 frames
    11. android.support.design
      CoordinatorLayout.onMeasure
      1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:714)
      2. android.support.design.widget.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:90)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1375)
      4. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:784)
      4 frames
    12. Android Platform
      View.measure
      1. android.view.View.measure(View.java:18809)
      1 frame
    13. Android Support v4
      DrawerLayout.onMeasure
      1. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1081)
      1 frame
    14. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18809)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      3 frames
    15. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:139)
      1 frame
    16. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.View.measure(View.java:18809)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      6. android.view.View.measure(View.java:18809)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      9. android.view.View.measure(View.java:18809)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5954)
      10 frames