{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/440","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/440/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/440/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/440","id":59377200,"number":440,"title":"NullPointerException in GoogleJsonResponseExecption","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.8.0","name":"Milestone-Version1.8.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Critical","name":"Priority-Critical","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-01T04:09:03Z","updated_at":"2015-03-01T04:09:03Z","closed_at":null,"body":"```\nVersion of google-api-java-client (e.g. 1.5.0-beta)?\n\n1.7.0-beta\n\nJava environment (e.g. Java 6, Android 2.3, App Engine)?\n\nAll\n\nDescribe the problem.\n\nIt appears that Google APIs sometimes return an HTTP error response with \nContent-Type \"application/json; charset=UTF-8\" but with no actual content.  It \nresults in this stack trace:\n\nThread [main] (Suspended (exception NullPointerException))\n       InputStreamReader(Reader).<init>(Object) line: 78\n       InputStreamReader.<init>(InputStream, Charset) line: 113\n       GsonFactory.createJsonParser(InputStream) line: 48\n       JsonHttpParser.parserForResponse(JsonFactory, HttpResponse) line: 117\n       GoogleJsonResponseException.from(JsonFactory, HttpResponse) line: 121\n       GoogleJsonResponseException.execute(JsonFactory, HttpRequest) line: 187\n\nHow would you expect it to be fixed?\n\nWe should be robust to this kind of problem.\n\nThat said, this is incorrect behavior from the Google servers.  I'll bring that \nup in a separate bug list.\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 27 Mar 2012 at 3:47"}}