Version of google-api-java-client (e.g. 1.5.0-beta)?
1.13.2
Java environment (e.g. Java 6, Android 2.3, App Engine)?
Tomcat 6
OpenJDK Runtime Environment (IcedTea6 1.11.4)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Describe the problem.
Uploading files is working but in some cases I receive this error:
java.lang.IllegalStateException
at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
at com.google.api.client.googleapis.media.MediaHttpUploader.serverErrorCallback(MediaHttpUploader.java:586)
at com.google.api.client.googleapis.media.MediaUploadExponentialBackOffPolicy.getNextBackOffMillis(MediaUploadExponentialBackOffPolicy.java:53)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1053)
at com.google.api.client.googleapis.media.MediaHttpUploader.upload(MediaHttpUploader.java:368)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:415)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:340)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:458)
How would you expect it to be fixed?
I expect the retry logic to catch and handle that exception, or throw an
IOException with more information about the error.
Original issue reported on code.google.com by qtxomad...@gmail.com on 3 Mar 2013 at 3:55
Original issue reported on code.google.com by
qtxomad...@gmail.com
on 3 Mar 2013 at 3:55