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
    • Can't convert object of type java.lang.String to type com.brueller.model.PostModel at Source) at Source) at Source) at Source) at com.firebase.ui.database.FirebaseRecyclerAdapter.parseSnapshot( at com.firebase.ui.database.FirebaseRecyclerAdapter.getItem( at com.firebase.ui.database.FirebaseRecyclerAdapter.onBindViewHolder( at$Adapter.onBindViewHolder( at$Adapter.bindViewHolder( at$Recycler.getViewForPosition( at$Recycler.getViewForPosition( at$ at at at at at at at$400( at$ at android.view.Choreographer$ at android.view.Choreographer.doCallbacks( at android.view.Choreographer.doFrame( at android.view.Choreographer$ 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,