I've been scratching my head over this one for a while... I have a parent object that participates in an owned one-to-many relationship with a child object. After the parent object is created, it is retrieved with its collection of children in the selected fetch group, and then detached. Then, I add a child to the parent's collection of children, and attach it. If I persist using pm.makePersistent(parent), everything works fine. If I persist using pm.makePersistentAll(listOfParent) then sometimes it works, and sometimes it throws:
Caused by: java.lang.NullPointerException at org.datanucleus.sco.SCOUtils.attachAddNewElements(SCOUtils.java: 743) I am attaching the code in the next post. -- 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.