Firebase Database considers public fields and JavaBean-like getters and setters when serializing/deserializing JSON. A public field with a getter and a setter may cause this exception. Try to change to private or removing getter and setter.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Firebase Parsing Error
    via Stack Overflow by Hannes
  • App crash on Feed
    via GitHub by MrThiago
    • Expected a List while deserializing, but got a class java.util.HashMap at Source) at Source) at Source) at Source) at com.firstintel.zimnights.EventFragment$1.onDataChange( at Source) at Source) at$ Source) at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$ at

    Users with the same issue

    8 times, last one,
    Unknown visitor1 times, last one,
    9 times, last one,