Is anyone else experiencing some trouble when trying to persist or merge an 
updated entity back into the datastore using the cloud endpoint update 
method? Inserting a new entity works fine but when I try to update an 
entity though the gpe generated cloud endpoint update method, the entity 
doesn't update and then the manager goes null. When the close method gets 
called on the entity manager, I get a null pointer exception. 

I have tried changing the method  to use an entity transaction and the 
merge method but I get the same result. 

here is a link that shows the code I'm using and the log from the admin 
console. 

http://stackoverflow.com/questions/22215640/cloud-endpoints-update-method-crashes-at-mgr-close

the npe always occurs at the mgr.close() line. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to