org.mongodb.morphia.mapping.MappingException: Error mapping field:com.cnebula.scas.UserData.data

Google Groups | zhaoyw | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Map<String,List<String> can't save to mongodb

    Google Groups | 2 years ago | zhaoyw
    org.mongodb.morphia.mapping.MappingException: Error mapping field:com.cnebula.scas.UserData.data
  2. 0

    Problems when persisting pojos with propertiets of delcared type "java.lang.Object"

    Google Groups | 1 year ago | Tom
    org.mongodb.morphia.mapping.MappingException: Error mapping field:com.XXX.persistence.mongo.integration.model.pojo.PojoWithObject.objectProperty

    Root Cause Analysis

    1. org.mongodb.morphia.mapping.MappingException

      Error mapping field:com.cnebula.scas.UserData.data

      at org.mongodb.morphia.mapping.Mapper.toDBObject()
    2. Morphia
      DatastoreImpl.save
      1. org.mongodb.morphia.mapping.Mapper.toDBObject(Mapper.java:578)
      2. org.mongodb.morphia.mapping.Mapper.toDBObject(Mapper.java:558)
      3. org.mongodb.morphia.DatastoreImpl.entityToDBObj(DatastoreImpl.java:949)
      4. org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:996)
      5. org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1080)
      6. org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1063)
      6 frames