org.mongodb.morphia.mapping.MappingException: Cannot use non-static inner class: class java.security.ProtectionDomain$Key. Please make static.

Stack Overflow | stack man | 3 months ago
  1. 0

    Morphia throwing inner exception when saving basic entity

    Stack Overflow | 3 months ago | stack man
    org.mongodb.morphia.mapping.MappingException: Cannot use non-static inner class: class java.security.ProtectionDomain$Key. Please make static.
  2. 0

    Error in ensureIndexes() in 1.0.0

    Google Groups | 1 year ago | david kilmer
    org.mongodb.morphia.mapping.MappingException: A type could not be found for the field null.null
  3. 0

    Unable to query entity with List of Map

    GitHub | 2 years ago | yeefan
    java.lang.RuntimeException: java.lang.RuntimeException: org.mongodb.morphia.mapping.MappingException: Embedded element isn't a DBObject! How can it be that is a class java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can reflection cause JVM processes to have too many open file handles?

    Stack Overflow | 2 years ago | smeeb
    org.mongodb.morphia.mapping.MappingException: Could not get map classes from package myapp.common
  6. 0

    AdvancedDatastore#insert(T...) and UseBulkWriteOperations & postPersit are not working

    GitHub | 2 years ago | dinosavings
    org.mongodb.morphia.mapping.MappingException: Missing _id after save!

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.mongodb.morphia.mapping.MappingException

      Cannot use non-static inner class: class java.security.ProtectionDomain$Key. Please make static.

      at org.mongodb.morphia.mapping.MappedClass.basicValidate()
    2. Morphia
      DatastoreImpl.ensureIndexes
      1. org.mongodb.morphia.mapping.MappedClass.basicValidate(MappedClass.java:495)
      2. org.mongodb.morphia.mapping.MappedClass.<init>(MappedClass.java:123)
      3. org.mongodb.morphia.mapping.Mapper.getMappedClass(Mapper.java:451)
      4. org.mongodb.morphia.DatastoreImpl.processEmbeddedAnnotations(DatastoreImpl.java:1545)
      5. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1185)
      6. org.mongodb.morphia.DatastoreImpl.processEmbeddedAnnotations(DatastoreImpl.java:1545)
      7. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1185)
      8. org.mongodb.morphia.DatastoreImpl.processEmbeddedAnnotations(DatastoreImpl.java:1545)
      9. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1185)
      10. org.mongodb.morphia.DatastoreImpl.processEmbeddedAnnotations(DatastoreImpl.java:1545)
      11. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1185)
      12. org.mongodb.morphia.DatastoreImpl.processEmbeddedAnnotations(DatastoreImpl.java:1545)
      13. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1185)
      14. org.mongodb.morphia.DatastoreImpl.processEmbeddedAnnotations(DatastoreImpl.java:1545)
      15. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1185)
      16. org.mongodb.morphia.DatastoreImpl.processEmbeddedAnnotations(DatastoreImpl.java:1545)
      17. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1185)
      18. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1167)
      19. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:1189)
      20. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:274)
      21. org.mongodb.morphia.DatastoreImpl.ensureIndexes(DatastoreImpl.java:266)
      21 frames
    3. repositories
      UsersRepository.main
      1. repositories.UsersRepository.createUser(UsersRepository.java:65)
      2. repositories.UsersRepository.main(UsersRepository.java:101)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame