Hi,
I'm using Objectify to write to the datastore. Within a transaction I get
an exception like below. Can someone explains what the error means?
TIA
An Hong
<p>Problem accessing /resources/item/4/share. Reason:
<pre> Transaction is in state COMPLETION_IN_PROGRESS. There is no legal
transition out of this state.</pre></p><h3>Caused
by:</h3><pre>java.lang.IllegalStateException: Transaction is in state
COMPLETION_IN_PROGRESS. There is no legal transition out of this state.
at
com.google.appengine.api.datastore.TransactionImpl.ensureTxnStarted(TransactionImpl.java:204)
at
com.google.appengine.api.datastore.TransactionImpl.rollbackAsync(TransactionImpl.java:116)
at
com.google.appengine.api.datastore.TransactionImpl.rollback(TransactionImpl.java:112)
at com.kintris.kiim.entity.Element.share(Element.java:92)
at com.kintris.kiim.entity.Element.share(Element.java:55)
at
com.kintris.kiim.rest.resources.ItemResource.shareItem(ItemResource.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100)
....
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/aiLZw39ub_cJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.