com.firebase.client.FirebaseException: Failed to bounce to type

Stack Overflow | Dr. J | 2 years ago
  1. 0

    Android chat crashes on DataSnapshot.getValue() for timestamp

    Stack Overflow | 2 years ago | Dr. J
    com.firebase.client.FirebaseException: Failed to bounce to type
  2. 0

    Retrieving data from firebase

    Stack Overflow | 1 year ago | Irving Amukasa Anjere
    com.firebase.client.FirebaseException: Failed to bounce to type

    Root Cause Analysis

    1. com.shaded.fasterxml.jackson.databind.JsonMappingException

      Can not deserialize instance of java.util.LinkedHashMap out of VALUE_NUMBER_INT token at [Source: java.io.StringReader@41f8c588; line: 1, column: 2] (through reference chain: com.firebase.androidchat.Chat["timestamp"])

      at com.shaded.fasterxml.jackson.databind.DeserializationContext.mappingException()
    2. com.shaded.fasterxml
      ObjectMapper.readValue
      1. com.shaded.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
      2. com.shaded.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:569)
      3. com.shaded.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:310)
      4. com.shaded.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:26)
      5. com.shaded.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
      6. com.shaded.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
      7. com.shaded.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
      8. com.shaded.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
      9. com.shaded.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
      10. com.shaded.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
      10 frames
    3. com.firebase.client
      DataSnapshot.getValue
      1. com.firebase.client.DataSnapshot.getValue(DataSnapshot.java:181)
      1 frame