A type could not be found for final java.lang.Object problem

25 views
Skip to first unread message

Tim Thomas

unread,
Jun 6, 2012, 10:30:30 AM6/6/12
to mongodb-user
I encounter the same problem as stated in http://code.google.com/p/morphia/issues/detail?id=176.
In the issue it states that 0.99 is updated with log wraning without
throwing exception. But I still receive this error and in the source
it actually throw exception, instead of logging the message. Can I
just change that line (MappedField.java line 160) to log.warn()? Or
what is the right way for the solution?

environment 2.6.5 mongo driver, morphia 0.99

I appreciate any suggestion.

Thanks

Bryan

unread,
Jun 19, 2012, 12:32:10 PM6/19/12
to mongod...@googlegroups.com
The fix in .99 may not cover your particular case. Sometimes it would be appropriate to throw a mapping exception. Can you post the error / stack trace you are getting please?
Reply all
Reply to author
Forward
0 new messages