ccole7884 / google-docs-upload

Automatically exported from code.google.com/p/google-docs-upload
0 stars 0 forks source link

Old .doc file upload crashes app #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upload old document
2. Program Crashes

What is the expected output? What do you see instead?
I would expect the error to be trapped so uploading can continue, instead I get 
this:
Exception in thread "main" com.google.gdata.util.InvalidEntryException: Could 
not convert 
document.
<errors xmlns='http://schemas.google.com/g/2005'>
<error>
<domain>GData</domain>
<code>InvalidEntryException</code>
<internalReason>Could not convert document.</internalReason>
</error>
</errors>

    at 
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataReque
st.java:55
8)
    at 
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataR
equest.jav
a:543)
    at 
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.jav
a:536)
    at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)
    at 
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:
515)
    at com.google.gdata.client.media.MediaService.insert(MediaService.java:390)
    at DocumentList.uploadFile(DocumentList.java:527)
    at GoogleDocsUpload.upload(GoogleDocsUpload.java:261)
    at GoogleDocsUpload.main(GoogleDocsUpload.java:198)

What version of the product are you using? On what operating system?
OS X 10.6

Original issue reported on code.google.com by matthewv...@gmail.com on 5 Sep 2009 at 6:59

GoogleCodeExporter commented 9 years ago
Thank you for the report. I fixed handling of unsupported formats, but wasn't 
able to
test your case, because all my .doc files have been converted properly.

Original comment by anton.be...@gmail.com on 6 Sep 2009 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by anton.be...@gmail.com on 7 Sep 2009 at 4:57