Hello everybody, I'm facing a really annoying issue which I stepped into. My unit tests (JDO) sometimes throw a ClassCastException: oid is not instanceof javax.jdo.identity.ObjectIdentity
The most annoying fact is that this is not reproducible in a predictable way. The very same JUnit test (using the App Engine testing suite) throws this error, then stops, then throws it again. I got this error for a while, tried to set up a simpler data model to reproduce it, without success (all tests on simplified model passed without errors). Then i re-run the failed test, and it completed successfully *without any code modifications*. Looks like this behavior is difficult to reproduce and appears to happen quite randomly: http://groups.google.com/group/google-appengine-java/browse_thread/thread/042b674e7f7cb8a2 If anyone has advice about the reasons for this behavior, it would be a great help. It makes testing a data model unreliable, so I would like to understand if this is a bug in the test cases or something due to particular data models, to modify my classes accordingly. Thanks for your help Lorenzo -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.