{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/111","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/111/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/111/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/111","id":59360193,"number":111,"title":"NPE during OAuthGetTemporaryToken","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/Component-HTTP","name":"Component-HTTP","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.2.3","name":"Milestone-Version1.2.3","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-28T21:52:15Z","updated_at":"2015-02-28T21:52:17Z","closed_at":"2015-02-28T21:52:15Z","body":"```\nVersion: google-api-client-1.2.2-alpha\nEnvironment: Android\n\nWhen attempting to dance with LoVEFILM, I'm getting the following:\n\nFATAL EXCEPTION: IntentService[AuthorizationService]\njava.lang.NullPointerException\n    at com.google.api.client.http.UrlEncodedParser.parse(UrlEncodedParser.java:139)\n    at com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java:67)\n    at com.ctoforaday.livefilm.AuthorizationService.onHandleIntent(AuthorizationService.java:40)\n    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:59)\n    at android.os.Handler.dispatchMessage(Handler.java:99)\n    at android.os.Looper.loop(Looper.java:123)\n    at android.os.HandlerThread.run(HandlerThread.java:60)\n\nNow, I can't tell what it's doing yet, but it definitely shouldn't be doing \nthat.  It suggests that, while parsing, the map is null.  I believe that's \nbecause the OAuthCredentialsResponse isn't itself a Map.\n\nThe problem with that is that LOVEFiLM is attempting to tell me in the response \n(I believe) which URL to use; I believe they set one (today, possibly two \ntomorrow) login_url value in the response containing the URL to use when \nauthenticating.\n\nI *think* that's triggering this NPE, when it goes to set the map value and \ncan't.\n\nNow, as it happens, I don't need that map value - though it'd be nice to let \nthem tell me, I'm happy to hardcode.  However, Either OAuthCredentialsResponse \nneeds to support Map, or UrlEncodedParser shouldn't throw under these \ncircumstances.\n\nOr both.\n```\n\nOriginal issue reported on code.google.com by `gblock@google.com` on 3 Feb 2011 at 9:00"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76548612","html_url":"https://github.com/chrsmith/google-api-java-client/issues/111#issuecomment-76548612","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/111","id":76548612,"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},"created_at":"2015-02-28T21:52:17Z","updated_at":"2015-02-28T21:52:17Z","body":"```\nIssue 110 has been merged into this issue.\n```\n\nOriginal comment by `yan...@google.com` on 18 Feb 2011 at 1:27"}}