-
Notifications
You must be signed in to change notification settings - Fork 734
Description
From akhi85pr...@gmail.com on May 16, 2013 12:12:20
Version of google-api-java-client : 1.15.0-rc
Java environment : jdk-7u17-windows-i586
Describe the problem:
i was using goolge-api-clint 1.10.3-beta and commonly getting this "i.e insufficient data witting exception" while uploading files. the chunk size used in the application was 10MB.we also changed the chunk size to 256kb/1mb but the problem remains the same, then we decided to update the API to 1.15.0-rc. But we are still facing the same problem. This issue is destroying my project. Pls help?
Exception trace:
java.io.IOException: insufficient data written
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.close(Unknown Source)
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:81)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:960)
at com.google.api.client.googleapis.media.MediaHttpUploader.executeCurrentRequest(MediaHttpUploader.java:482)
at com.google.api.client.googleapis.media.MediaHttpUploader.upload(MediaHttpUploader.java:390)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:418)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
at WebShortCut.Application.GoogleDrive.GoogleDriveService.uploadFile(GoogleDriveService.java:715)
at WebShortCut.Application.GoogleDrive.GoogleDriveService.saveFileToDrive(GoogleDriveService.java:168)
at WebShortCut.Application.GoogleDrive.WebShortCutApp.qUploadFile(WebShortCutApp.java:537)
at WebShortCut.test.FileUploadTest$RequestFileUpload.run(FileUploadTest.java:75)
at java.lang.Thread.run(Unknown Source) How would you expect it to be fixed?
Original issue: http://code.google.com/p/google-api-java-client/issues/detail?id=781