I've a HardDeadlineExceededError.I've not all the time this exception.
Uncaught exception from servlet
com.google.apphosting.runtime.HardDeadlineExceededError: This request
(a19d027cb3d5ff54) started at 2010/05/10 09:26:12.460 UTC and was
still executing at 2010/05/10 09:26:41.349 UTC.
at com.google.appengine.runtime.Request.process-
a19d027cb3d5ff54(Request.java)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:443)
at java.util.concurrent.TimeUnit.timedWait(Unknown Source)
at
com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:98)
at
com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
58)
at
com.google.appengine.api.datastore.DatastoreServiceImpl.beginTransaction(DatastoreServiceImpl.java:
297)
at
com.googlecode.objectify.ObjectifyFactory.beginTransaction(ObjectifyFactory.java:
104)
at
com.googlecode.objectify.ObjectifyService.beginTransaction(ObjectifyService.java:
33)
at
miro.server.GreetingServiceImpl.putData(GreetingServiceImpl.java:
148)
at
miro.server.GreetingServiceImpl.updateAssignments(GreetingServiceImpl.java:
123)
my code where it bug:
void putData(List<Assignment> assignmentList) {
ObjectifyService.register(Assignment.class);
for (Assignment assignment : assignmentList) {
try {
Objectify ofy =
ObjectifyService.beginTransaction();
ofy.put(assignment);
ofy.getTxn().commit();
} catch (Exception e) {
}
}
}
Thanks for your request
--
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 [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.