org.springframework.data.mapping.context.InvalidPersistentPropertyPath: No property type found on org.springframework.data.mongodb.core.geo.GeoJsonPoint!

Spring JIRA | Paolo | 9 months ago
  1. 0

    If i try to do an update on Entity with a GeoJsonPoint properties i get the following: {noformat} org.springframework.data.mapping.context.InvalidPersistentPropertyPath: No property type found on org.springframework.data.mongodb.core.geo.GeoJsonPoint! at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:256) at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:229) at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:204) at org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.getPath(QueryMapper.java:838) at org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.<init>(QueryMapper.java:729) at org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.<init>(QueryMapper.java:706) at org.springframework.data.mongodb.core.convert.UpdateMapper$MetadataBackedUpdateField.<init>(UpdateMapper.java:193) at org.springframework.data.mongodb.core.convert.UpdateMapper.createPropertyField(UpdateMapper.java:164) at org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:122) at org.springframework.data.mongodb.core.convert.QueryMapper.convertSimpleOrDBObject(QueryMapper.java:359) at org.springframework.data.mongodb.core.convert.UpdateMapper.getMappedObjectForField(UpdateMapper.java:77) at org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:123) at org.springframework.data.mongodb.core.convert.QueryMapper.convertSimpleOrDBObject(QueryMapper.java:359) at org.springframework.data.mongodb.core.convert.UpdateMapper.getMappedObjectForField(UpdateMapper.java:77) at org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:123) at org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:1108) at org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:1099) at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:462) at org.springframework.data.mongodb.core.MongoTemplate.doUpdate(MongoTemplate.java:1099) at org.springframework.data.mongodb.core.MongoTemplate.doSaveVersioned(MongoTemplate.java:973) at org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:937) at org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:921) {noformat}

    Spring JIRA | 9 months ago | Paolo
    org.springframework.data.mapping.context.InvalidPersistentPropertyPath: No property type found on org.springframework.data.mongodb.core.geo.GeoJsonPoint!
  2. 0

    If i try to do an update on Entity with a GeoJsonPoint properties i get the following: {noformat} org.springframework.data.mapping.context.InvalidPersistentPropertyPath: No property type found on org.springframework.data.mongodb.core.geo.GeoJsonPoint! at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:256) at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:229) at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:204) at org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.getPath(QueryMapper.java:838) at org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.<init>(QueryMapper.java:729) at org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.<init>(QueryMapper.java:706) at org.springframework.data.mongodb.core.convert.UpdateMapper$MetadataBackedUpdateField.<init>(UpdateMapper.java:193) at org.springframework.data.mongodb.core.convert.UpdateMapper.createPropertyField(UpdateMapper.java:164) at org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:122) at org.springframework.data.mongodb.core.convert.QueryMapper.convertSimpleOrDBObject(QueryMapper.java:359) at org.springframework.data.mongodb.core.convert.UpdateMapper.getMappedObjectForField(UpdateMapper.java:77) at org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:123) at org.springframework.data.mongodb.core.convert.QueryMapper.convertSimpleOrDBObject(QueryMapper.java:359) at org.springframework.data.mongodb.core.convert.UpdateMapper.getMappedObjectForField(UpdateMapper.java:77) at org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:123) at org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:1108) at org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:1099) at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:462) at org.springframework.data.mongodb.core.MongoTemplate.doUpdate(MongoTemplate.java:1099) at org.springframework.data.mongodb.core.MongoTemplate.doSaveVersioned(MongoTemplate.java:973) at org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:937) at org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:921) {noformat}

    Spring JIRA | 9 months ago | Paolo
    org.springframework.data.mapping.context.InvalidPersistentPropertyPath: No property type found on org.springframework.data.mongodb.core.geo.GeoJsonPoint!
  3. 0

    spring.data.mongodb upgrade causes InvalidPersistentPropertyPath exception

    Stack Overflow | 10 months ago | maor
    org.springframework.data.mapping.context.InvalidPersistentPropertyPath: No property uDIDHashed found on com.appoxee.server.data.mongo.pojo.DevicePojo!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.data.mapping.context.InvalidPersistentPropertyPath

      No property type found on org.springframework.data.mongodb.core.geo.GeoJsonPoint!

      at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath()
    2. Spring Data Core
      AbstractMappingContext.getPersistentPropertyPath
      1. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:256)
      2. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:229)
      3. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentPropertyPath(AbstractMappingContext.java:204)
      3 frames
    3. Spring Data MongoDB - Core
      MongoTemplate.save
      1. org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.getPath(QueryMapper.java:838)
      2. org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.<init>(QueryMapper.java:729)
      3. org.springframework.data.mongodb.core.convert.QueryMapper$MetadataBackedField.<init>(QueryMapper.java:706)
      4. org.springframework.data.mongodb.core.convert.UpdateMapper$MetadataBackedUpdateField.<init>(UpdateMapper.java:193)
      5. org.springframework.data.mongodb.core.convert.UpdateMapper.createPropertyField(UpdateMapper.java:164)
      6. org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:122)
      7. org.springframework.data.mongodb.core.convert.QueryMapper.convertSimpleOrDBObject(QueryMapper.java:359)
      8. org.springframework.data.mongodb.core.convert.UpdateMapper.getMappedObjectForField(UpdateMapper.java:77)
      9. org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:123)
      10. org.springframework.data.mongodb.core.convert.QueryMapper.convertSimpleOrDBObject(QueryMapper.java:359)
      11. org.springframework.data.mongodb.core.convert.UpdateMapper.getMappedObjectForField(UpdateMapper.java:77)
      12. org.springframework.data.mongodb.core.convert.QueryMapper.getMappedObject(QueryMapper.java:123)
      13. org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:1108)
      14. org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:1099)
      15. org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:462)
      16. org.springframework.data.mongodb.core.MongoTemplate.doUpdate(MongoTemplate.java:1099)
      17. org.springframework.data.mongodb.core.MongoTemplate.doSaveVersioned(MongoTemplate.java:973)
      18. org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:937)
      19. org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:921)
      19 frames