You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when trying to map this, I get a RuntimeException: "bad type, not parameterized...". I thought this was related to issue #80, which is fixed sind 0.99.1, and we are using 0.105, but it still doesn't work. Am I doing something wrong or is this just not supported?
Cheers,
David
What version are you using? (Morphia/Driver/MongoDB)
Morphia 0.105, Driver 2.11.3, DB v2.4.7
Please include a stack trace below:
java.lang.RuntimeException: bad type, not parameterized...
at org.mongodb.morphia.utils.ReflectionUtils.isPropertyType(ReflectionUtils.java:177)
at org.mongodb.morphia.mapping.MappedField.discover(MappedField.java:104)
at org.mongodb.morphia.mapping.MappedField.(MappedField.java:76)
at org.mongodb.morphia.mapping.MappedClass.discover(MappedClass.java:194)
at org.mongodb.morphia.mapping.MappedClass.(MappedClass.java:119)
at org.mongodb.morphia.mapping.Mapper.addMappedClass(Mapper.java:152)
at org.mongodb.morphia.Morphia.map(Morphia.java:64)
at com.fileee.SomeTest.createMorphia(SynchronizationStatusTest.java:43)
The text was updated successfully, but these errors were encountered:
I tried to set up a class hierarchy like this:
But when trying to map this, I get a RuntimeException: "bad type, not parameterized...". I thought this was related to issue #80, which is fixed sind 0.99.1, and we are using 0.105, but it still doesn't work. Am I doing something wrong or is this just not supported?
Cheers,
David
What version are you using? (Morphia/Driver/MongoDB)
Morphia 0.105, Driver 2.11.3, DB v2.4.7
Please include a stack trace below:
java.lang.RuntimeException: bad type, not parameterized...
at org.mongodb.morphia.utils.ReflectionUtils.isPropertyType(ReflectionUtils.java:177)
at org.mongodb.morphia.mapping.MappedField.discover(MappedField.java:104)
at org.mongodb.morphia.mapping.MappedField.(MappedField.java:76)
at org.mongodb.morphia.mapping.MappedClass.discover(MappedClass.java:194)
at org.mongodb.morphia.mapping.MappedClass.(MappedClass.java:119)
at org.mongodb.morphia.mapping.Mapper.addMappedClass(Mapper.java:152)
at org.mongodb.morphia.Morphia.map(Morphia.java:64)
at com.fileee.SomeTest.createMorphia(SynchronizationStatusTest.java:43)
The text was updated successfully, but these errors were encountered: