This bug is viewable through the following 2-step process :
1) Persisting an object that contains a list of embedded element that are composed of persistent objects --> OK
2) Retrieving the list of embedded element --> NOK
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to com.mongodb.DBObject
at org.datanucleus.store.mongodb.fieldmanager.FetchFieldManager.fetchObjectField(FetchFieldManager.java:383)
at org.datanucleus.state.AbstractStateManager.replacingObjectField(AbstractStateManager.java:2353)
...
Description
This bug is viewable through the following 2-step process :
1) Persisting an object that contains a list of embedded element that are composed of persistent objects --> OK
2) Retrieving the list of embedded element --> NOK
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to com.mongodb.DBObject
at org.datanucleus.store.mongodb.fieldmanager.FetchFieldManager.fetchObjectField(FetchFieldManager.java:383)
at org.datanucleus.state.AbstractStateManager.replacingObjectField(AbstractStateManager.java:2353)
...
If someone have any idea of a way of solving this issue, I would greatly appreciate ?
I have previously attached a test case that helps understanding the problem. Should you need any further information, don't hesitate.
Thanks in advance.
Paul de Monchy added a comment - 19/Dec/12 12:46 PM Hi,
If someone have any idea of a way of solving this issue, I would greatly appreciate ?
I have previously attached a test case that helps understanding the problem. Should you need any further information, don't hesitate.
Thanks in advance.
Best regards,
Paul.
If someone have any idea of a way of solving this issue, I would greatly appreciate ?
I have previously attached a test case that helps understanding the problem. Should you need any further information, don't hesitate.
Thanks in advance.
Best regards,
Paul.