> This is strange - when I retrieve the object after persisting via
> "JDOHelper.getObjectId(obj)", I get an object back no problem.

Yes, but you haven't told us what is the "id" returned by that method.
And whats in the log when you invoke that pm.getObjectById ... ?

> Then,before trying to delete the object, I do "pm.newObjectIdInstance
> (Categories.class, key)" and I get a NullPointerException.

Perhaps if you post the actual exception and stack trace, cos without
it it means very little.
ANd whats in the log ?

--

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.


Reply via email to