What steps will reproduce the problem?
I'm using ResumableGDataFileUploader to upload some 2-5 MB XLS files, and
convert them to native google format (convert=true in URL).
What is the expected output? What do you see instead?
Upload completes successfully (the spreadsheet is present in my documents
list/drive) BUT ResumableGDataFileUploader fails with CLIENT ERROR. At this
point I can't retrieve the newly created DocumentListEntry as
getResponse(DocumentListEntry.class) throws a NullPointer exception:
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at java.lang.NullPointerException.<init>(NullPointerException.java:36)
at com.google.gdata.client.media.ResumableGDataFileUploader.getResponse(ResumableGDataFileUploader.java:92)
Looks like it has something to do with the time it takes Google to convert the
XLS to native format after upload is complete. Without conversion, I have no
problems with this class.
What version of the product are you using? On what operating system?
jars in gdata-samples.java-1.47.1.zip
Please provide any additional information below.
Original issue reported on code.google.com by asbole on 5 Sep 2012 at 2:30
Original issue reported on code.google.com by
asbole
on 5 Sep 2012 at 2:30