Hi,

My Application has encountered several periods of time where calls 
to MemcacheService.increment(Object obj, long l, Long long1) result in an 
InvalidValueException.
This happens when obj is not in the cache.
This API fails when I call it with 1l as delta and 0l as initial value.
The documentation states that this exception is thrown when  "An attempt to 
MemcacheService.increment(java.lang.Object, 
long)<http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#increment(java.lang.Object,
 
long)> a non-integral value".
I am sure this is not the case for me.
I have also noticed that during the period of time this happens, I also get 
many datastore timeouts for other requests.
I have looked into the implementation of MemcacheServiceImpl (on local dev 
server) and it looks like the InvalidValueException is thrown whenever 
any ApplicationException is thrown by the call to 
ApiProxy.makeSyncCall("memcache", "Increment", 
request.toByteArray()) is performed.
This looks like a bug in the error handling if ApiProxy.makeSyncCall fails 
due to a timeout (or any other reason besides an invalid value). 
I have no idea how close the local dev server code is to the production code 
so I can't confirm this without a Googlers' assistance.
Please assist.
Thanx, Lior

-- 
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.

Reply via email to