google-api-dotnet-client: NullReferenceException in ResumableUpload.Uplod
Steps to reproduce:
1. Create an insert request with
"Google.Apis.Drive.v2.FilesResource.InsertMediaUpload
Insert(Google.Apis.Drive.v2.Data.File body, System.IO.Stream stream, string
contentType)", size of uploaded file should be more than about 20MB.
2. Let ChunkSize 0 value.
3. Invoke "Upload()"
Expected result: If I put some invalid parameters, I expect get a message with
error description.
Actual result: In the code
catch (WebException we)
{
var responseStream = we.Response.GetResponseStream();
if (responseStream == null)
throw;
we.Response is null. As a result I get NullReferenceException, no message about
a cause of the issue.
Original issue reported on code.google.com by passm...@gmail.com on 23 Sep 2012 at 9:31
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 22