{"action":"created","comment":{"url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/comments/68493659","id":68493659,"diff_hunk":"@@ -111,7 +111,8 @@ protected void onPostExecute(String response) {\n             decodedString = new String(response.getBytes(\"ISO-8859-1\"), \"UTF-8\");\n             onSuccess(decodedString);\n         } catch (UnsupportedEncodingException e) {\n-            e.printStackTrace();\n+            onSuccess(response);\n+        } catch (NullPointerException e) {","path":"androidsdk/src/main/java/com/wootric/androidsdk/network/tasks/WootricRemoteRequestTask.java","position":6,"original_position":6,"commit_id":"0f41288741bfa5be753b7dee0d99507d968cde93","original_commit_id":"0f41288741bfa5be753b7dee0d99507d968cde93","user":{"login":"prabhatjha","id":353292,"avatar_url":"https://avatars.githubusercontent.com/u/353292?v=3","gravatar_id":"","url":"https://api.github.com/users/prabhatjha","html_url":"https://github.com/prabhatjha","followers_url":"https://api.github.com/users/prabhatjha/followers","following_url":"https://api.github.com/users/prabhatjha/following{/other_user}","gists_url":"https://api.github.com/users/prabhatjha/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhatjha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhatjha/subscriptions","organizations_url":"https://api.github.com/users/prabhatjha/orgs","repos_url":"https://api.github.com/users/prabhatjha/repos","events_url":"https://api.github.com/users/prabhatjha/events{/privacy}","received_events_url":"https://api.github.com/users/prabhatjha/received_events","type":"User","site_admin":false},"body":"Looks safer. Pls go through similar checks on rest of code as well. Gracias.","created_at":"2016-06-25T20:47:11Z","updated_at":"2016-06-25T20:47:11Z","html_url":"https://github.com/Wootric/WootricSDK-Android/pull/28#discussion_r68493659","pull_request_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/comments/68493659"},"html":{"href":"https://github.com/Wootric/WootricSDK-Android/pull/28#discussion_r68493659"},"pull_request":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28","id":75213017,"html_url":"https://github.com/Wootric/WootricSDK-Android/pull/28","diff_url":"https://github.com/Wootric/WootricSDK-Android/pull/28.diff","patch_url":"https://github.com/Wootric/WootricSDK-Android/pull/28.patch","issue_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/28","number":28,"state":"open","locked":false,"title":"Catch null pointer exception","user":{"login":"diegoserranoa","id":1431421,"avatar_url":"https://avatars.githubusercontent.com/u/1431421?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoserranoa","html_url":"https://github.com/diegoserranoa","followers_url":"https://api.github.com/users/diegoserranoa/followers","following_url":"https://api.github.com/users/diegoserranoa/following{/other_user}","gists_url":"https://api.github.com/users/diegoserranoa/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoserranoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoserranoa/subscriptions","organizations_url":"https://api.github.com/users/diegoserranoa/orgs","repos_url":"https://api.github.com/users/diegoserranoa/repos","events_url":"https://api.github.com/users/diegoserranoa/events{/privacy}","received_events_url":"https://api.github.com/users/diegoserranoa/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-25T19:56:17Z","updated_at":"2016-06-25T20:47:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fe52006df43293d4fbfe4609d55c78aadba0737","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28/commits","review_comments_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28/comments","review_comment_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/28/comments","statuses_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/statuses/0f41288741bfa5be753b7dee0d99507d968cde93","head":{"label":"Wootric:ds-fix-null-response","ref":"ds-fix-null-response","sha":"0f41288741bfa5be753b7dee0d99507d968cde93","user":{"login":"Wootric","id":5396837,"avatar_url":"https://avatars.githubusercontent.com/u/5396837?v=3","gravatar_id":"","url":"https://api.github.com/users/Wootric","html_url":"https://github.com/Wootric","followers_url":"https://api.github.com/users/Wootric/followers","following_url":"https://api.github.com/users/Wootric/following{/other_user}","gists_url":"https://api.github.com/users/Wootric/gists{/gist_id}","starred_url":"https://api.github.com/users/Wootric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wootric/subscriptions","organizations_url":"https://api.github.com/users/Wootric/orgs","repos_url":"https://api.github.com/users/Wootric/repos","events_url":"https://api.github.com/users/Wootric/events{/privacy}","received_events_url":"https://api.github.com/users/Wootric/received_events","type":"Organization","site_admin":false},"repo":{"id":33854851,"name":"WootricSDK-Android","full_name":"Wootric/WootricSDK-Android","owner":{"login":"Wootric","id":5396837,"avatar_url":"https://avatars.githubusercontent.com/u/5396837?v=3","gravatar_id":"","url":"https://api.github.com/users/Wootric","html_url":"https://github.com/Wootric","followers_url":"https://api.github.com/users/Wootric/followers","following_url":"https://api.github.com/users/Wootric/following{/other_user}","gists_url":"https://api.github.com/users/Wootric/gists{/gist_id}","starred_url":"https://api.github.com/users/Wootric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wootric/subscriptions","organizations_url":"https://api.github.com/users/Wootric/orgs","repos_url":"https://api.github.com/users/Wootric/repos","events_url":"https://api.github.com/users/Wootric/events{/privacy}","received_events_url":"https://api.github.com/users/Wootric/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wootric/WootricSDK-Android","description":"","fork":false,"url":"https://api.github.com/repos/Wootric/WootricSDK-Android","forks_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/forks","keys_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/teams","hooks_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/hooks","issue_events_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/events{/number}","events_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/events","assignees_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/assignees{/user}","branches_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/branches{/branch}","tags_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/tags","blobs_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/languages","stargazers_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/stargazers","contributors_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/contributors","subscribers_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/subscribers","subscription_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/subscription","commits_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/contents/{+path}","compare_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/merges","archive_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/downloads","issues_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues{/number}","pulls_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/labels{/name}","releases_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/releases{/id}","deployments_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/deployments","created_at":"2015-04-13T07:46:12Z","updated_at":"2016-04-06T23:33:51Z","pushed_at":"2016-06-25T19:56:17Z","git_url":"git://github.com/Wootric/WootricSDK-Android.git","ssh_url":"git@github.com:Wootric/WootricSDK-Android.git","clone_url":"https://github.com/Wootric/WootricSDK-Android.git","svn_url":"https://github.com/Wootric/WootricSDK-Android","homepage":null,"size":1300,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Wootric:master","ref":"master","sha":"252c55a433e502ae57c27a074a77e02d97e81345","user":{"login":"Wootric","id":5396837,"avatar_url":"https://avatars.githubusercontent.com/u/5396837?v=3","gravatar_id":"","url":"https://api.github.com/users/Wootric","html_url":"https://github.com/Wootric","followers_url":"https://api.github.com/users/Wootric/followers","following_url":"https://api.github.com/users/Wootric/following{/other_user}","gists_url":"https://api.github.com/users/Wootric/gists{/gist_id}","starred_url":"https://api.github.com/users/Wootric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wootric/subscriptions","organizations_url":"https://api.github.com/users/Wootric/orgs","repos_url":"https://api.github.com/users/Wootric/repos","events_url":"https://api.github.com/users/Wootric/events{/privacy}","received_events_url":"https://api.github.com/users/Wootric/received_events","type":"Organization","site_admin":false},"repo":{"id":33854851,"name":"WootricSDK-Android","full_name":"Wootric/WootricSDK-Android","owner":{"login":"Wootric","id":5396837,"avatar_url":"https://avatars.githubusercontent.com/u/5396837?v=3","gravatar_id":"","url":"https://api.github.com/users/Wootric","html_url":"https://github.com/Wootric","followers_url":"https://api.github.com/users/Wootric/followers","following_url":"https://api.github.com/users/Wootric/following{/other_user}","gists_url":"https://api.github.com/users/Wootric/gists{/gist_id}","starred_url":"https://api.github.com/users/Wootric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wootric/subscriptions","organizations_url":"https://api.github.com/users/Wootric/orgs","repos_url":"https://api.github.com/users/Wootric/repos","events_url":"https://api.github.com/users/Wootric/events{/privacy}","received_events_url":"https://api.github.com/users/Wootric/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wootric/WootricSDK-Android","description":"","fork":false,"url":"https://api.github.com/repos/Wootric/WootricSDK-Android","forks_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/forks","keys_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/teams","hooks_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/hooks","issue_events_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/events{/number}","events_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/events","assignees_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/assignees{/user}","branches_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/branches{/branch}","tags_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/tags","blobs_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/languages","stargazers_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/stargazers","contributors_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/contributors","subscribers_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/subscribers","subscription_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/subscription","commits_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/contents/{+path}","compare_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/merges","archive_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/downloads","issues_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues{/number}","pulls_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/labels{/name}","releases_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/releases{/id}","deployments_url":"https://api.github.com/repos/Wootric/WootricSDK-Android/deployments","created_at":"2015-04-13T07:46:12Z","updated_at":"2016-04-06T23:33:51Z","pushed_at":"2016-06-25T19:56:17Z","git_url":"git://github.com/Wootric/WootricSDK-Android.git","ssh_url":"git@github.com:Wootric/WootricSDK-Android.git","clone_url":"https://github.com/Wootric/WootricSDK-Android.git","svn_url":"https://github.com/Wootric/WootricSDK-Android","homepage":null,"size":1300,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28"},"html":{"href":"https://github.com/Wootric/WootricSDK-Android/pull/28"},"issue":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/28"},"comments":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/Wootric/WootricSDK-Android/statuses/0f41288741bfa5be753b7dee0d99507d968cde93"}}}}
{"actor":{"display_login":"prabhatjha"}}