com.google.firebase.database.DatabaseException: No properties to serialize found on class Person

Stack Overflow | warp | 10 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

    Scala case classes with new firebase-server-sdk

    Stack Overflow | 10 months ago | warp
    com.google.firebase.database.DatabaseException: No properties to serialize found on class Person
  2. 0

    Firebase LatLng is missing a constructor with no arguments

    Stack Overflow | 5 months ago | Juan Sierra
    com.google.firebase.database.DatabaseException: Class com.google.android.gms.maps.model.LatLng is missing a constructor with no arguments ...

    Root Cause Analysis

    1. com.google.firebase.database.DatabaseException

      No properties to serialize found on class Person

      at com.google.firebase.database.utilities.encoding.CustomClassMapper$BeanMapper.<init>()
    2. com.google.firebase
      DataSnapshot.getValue
      1. com.google.firebase.database.utilities.encoding.CustomClassMapper$BeanMapper.<init>(CustomClassMapper.java:495)
      2. com.google.firebase.database.utilities.encoding.CustomClassMapper.loadOrCreateBeanMapperForClass(CustomClassMapper.java:285)
      3. com.google.firebase.database.utilities.encoding.CustomClassMapper.convertBean(CustomClassMapper.java:379)
      4. com.google.firebase.database.utilities.encoding.CustomClassMapper.deserializeToClass(CustomClassMapper.java:187)
      5. com.google.firebase.database.utilities.encoding.CustomClassMapper.convertToCustomClass(CustomClassMapper.java:61)
      6. com.google.firebase.database.DataSnapshot.getValue(DataSnapshot.java:181)
      6 frames
    3. Unknown
      PetEventsNodeActorSpec$$anonfun$2$$anonfun$apply$mcV$sp$2$$anonfun$apply$mcV$sp$3$$anon$1.onDataChange
      1. PetEventsNodeActorSpec$$anonfun$2$$anonfun$apply$mcV$sp$2$$anonfun$apply$mcV$sp$3$$anon$1.onDataChange(PetEventsNodeActorSpec.scala:290)
      1 frame
    4. com.google.firebase
      EventRaiser$1.run
      1. com.google.firebase.database.Query$1.onDataChange(Query.java:147)
      2. com.google.firebase.database.core.ValueEventRegistration.fireEvent(ValueEventRegistration.java:57)
      3. com.google.firebase.database.core.view.DataEvent.fire(DataEvent.java:45)
      4. com.google.firebase.database.core.view.EventRaiser$1.run(EventRaiser.java:35)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames