{"action":"created","comment":{"url":"https://api.github.com/repos/DataTorrent/Malhar/pulls/comments/30044392","id":30044392,"diff_hunk":"@@ -85,7 +85,11 @@ public void reset() throws IOException\n   @Override\n   public boolean seek(Slice key) throws IOException\n   {\n-    return scanner.seekTo(key.buffer, key.offset, key.length);\n+    try {\n+      return scanner.seekTo(key.buffer, key.offset, key.length);\n+    } catch (NullPointerException ex) {\n+      throw new IOException(\"Converting NPE to IOException\");","path":"contrib/src/main/java/com/datatorrent/contrib/hdht/tfile/TFileReader.java","position":8,"original_position":8,"commit_id":"e5dbc6421306ba6e1d6a5ce2ee1172423599894b","original_commit_id":"e5dbc6421306ba6e1d6a5ce2ee1172423599894b","user":{"login":"tweise","id":263695,"avatar_url":"https://avatars.githubusercontent.com/u/263695?v=3","gravatar_id":"","url":"https://api.github.com/users/tweise","html_url":"https://github.com/tweise","followers_url":"https://api.github.com/users/tweise/followers","following_url":"https://api.github.com/users/tweise/following{/other_user}","gists_url":"https://api.github.com/users/tweise/gists{/gist_id}","starred_url":"https://api.github.com/users/tweise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tweise/subscriptions","organizations_url":"https://api.github.com/users/tweise/orgs","repos_url":"https://api.github.com/users/tweise/repos","events_url":"https://api.github.com/users/tweise/events{/privacy}","received_events_url":"https://api.github.com/users/tweise/received_events","type":"User","site_admin":false},"body":"Please check whether stream was closed an only then do this mapping.","created_at":"2015-05-11T14:45:10Z","updated_at":"2015-05-11T14:45:10Z","html_url":"https://github.com/DataTorrent/Malhar/pull/1383#discussion_r30044392","pull_request_url":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383","_links":{"self":{"href":"https://api.github.com/repos/DataTorrent/Malhar/pulls/comments/30044392"},"html":{"href":"https://github.com/DataTorrent/Malhar/pull/1383#discussion_r30044392"},"pull_request":{"href":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383"}}},"pull_request":{"url":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383","id":34906385,"html_url":"https://github.com/DataTorrent/Malhar/pull/1383","diff_url":"https://github.com/DataTorrent/Malhar/pull/1383.diff","patch_url":"https://github.com/DataTorrent/Malhar/pull/1383.patch","issue_url":"https://api.github.com/repos/DataTorrent/Malhar/issues/1383","number":1383,"state":"open","locked":false,"title":"MLHR-1721: Convert NullPointerException to IOException during seek to avoid operator failure.","user":{"login":"tushargosavi","id":183931,"avatar_url":"https://avatars.githubusercontent.com/u/183931?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargosavi","html_url":"https://github.com/tushargosavi","followers_url":"https://api.github.com/users/tushargosavi/followers","following_url":"https://api.github.com/users/tushargosavi/following{/other_user}","gists_url":"https://api.github.com/users/tushargosavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargosavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargosavi/subscriptions","organizations_url":"https://api.github.com/users/tushargosavi/orgs","repos_url":"https://api.github.com/users/tushargosavi/repos","events_url":"https://api.github.com/users/tushargosavi/events{/privacy}","received_events_url":"https://api.github.com/users/tushargosavi/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-07T11:32:04Z","updated_at":"2015-05-11T14:45:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"707c14a3adbbbb64f4cb2382c8708098033edc38","assignee":{"login":"tweise","id":263695,"avatar_url":"https://avatars.githubusercontent.com/u/263695?v=3","gravatar_id":"","url":"https://api.github.com/users/tweise","html_url":"https://github.com/tweise","followers_url":"https://api.github.com/users/tweise/followers","following_url":"https://api.github.com/users/tweise/following{/other_user}","gists_url":"https://api.github.com/users/tweise/gists{/gist_id}","starred_url":"https://api.github.com/users/tweise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tweise/subscriptions","organizations_url":"https://api.github.com/users/tweise/orgs","repos_url":"https://api.github.com/users/tweise/repos","events_url":"https://api.github.com/users/tweise/events{/privacy}","received_events_url":"https://api.github.com/users/tweise/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383/commits","review_comments_url":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383/comments","review_comment_url":"https://api.github.com/repos/DataTorrent/Malhar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataTorrent/Malhar/issues/1383/comments","statuses_url":"https://api.github.com/repos/DataTorrent/Malhar/statuses/e5dbc6421306ba6e1d6a5ce2ee1172423599894b","head":{"label":"tushargosavi:SPOI-4606","ref":"SPOI-4606","sha":"e5dbc6421306ba6e1d6a5ce2ee1172423599894b","user":{"login":"tushargosavi","id":183931,"avatar_url":"https://avatars.githubusercontent.com/u/183931?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargosavi","html_url":"https://github.com/tushargosavi","followers_url":"https://api.github.com/users/tushargosavi/followers","following_url":"https://api.github.com/users/tushargosavi/following{/other_user}","gists_url":"https://api.github.com/users/tushargosavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargosavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargosavi/subscriptions","organizations_url":"https://api.github.com/users/tushargosavi/orgs","repos_url":"https://api.github.com/users/tushargosavi/repos","events_url":"https://api.github.com/users/tushargosavi/events{/privacy}","received_events_url":"https://api.github.com/users/tushargosavi/received_events","type":"User","site_admin":false},"repo":{"id":17696662,"name":"Malhar","full_name":"tushargosavi/Malhar","owner":{"login":"tushargosavi","id":183931,"avatar_url":"https://avatars.githubusercontent.com/u/183931?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargosavi","html_url":"https://github.com/tushargosavi","followers_url":"https://api.github.com/users/tushargosavi/followers","following_url":"https://api.github.com/users/tushargosavi/following{/other_user}","gists_url":"https://api.github.com/users/tushargosavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargosavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargosavi/subscriptions","organizations_url":"https://api.github.com/users/tushargosavi/orgs","repos_url":"https://api.github.com/users/tushargosavi/repos","events_url":"https://api.github.com/users/tushargosavi/events{/privacy}","received_events_url":"https://api.github.com/users/tushargosavi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tushargosavi/Malhar","description":"DataTorrent open source code.","fork":true,"url":"https://api.github.com/repos/tushargosavi/Malhar","forks_url":"https://api.github.com/repos/tushargosavi/Malhar/forks","keys_url":"https://api.github.com/repos/tushargosavi/Malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tushargosavi/Malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tushargosavi/Malhar/teams","hooks_url":"https://api.github.com/repos/tushargosavi/Malhar/hooks","issue_events_url":"https://api.github.com/repos/tushargosavi/Malhar/issues/events{/number}","events_url":"https://api.github.com/repos/tushargosavi/Malhar/events","assignees_url":"https://api.github.com/repos/tushargosavi/Malhar/assignees{/user}","branches_url":"https://api.github.com/repos/tushargosavi/Malhar/branches{/branch}","tags_url":"https://api.github.com/repos/tushargosavi/Malhar/tags","blobs_url":"https://api.github.com/repos/tushargosavi/Malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tushargosavi/Malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tushargosavi/Malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/tushargosavi/Malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tushargosavi/Malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/tushargosavi/Malhar/languages","stargazers_url":"https://api.github.com/repos/tushargosavi/Malhar/stargazers","contributors_url":"https://api.github.com/repos/tushargosavi/Malhar/contributors","subscribers_url":"https://api.github.com/repos/tushargosavi/Malhar/subscribers","subscription_url":"https://api.github.com/repos/tushargosavi/Malhar/subscription","commits_url":"https://api.github.com/repos/tushargosavi/Malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/tushargosavi/Malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/tushargosavi/Malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/tushargosavi/Malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/tushargosavi/Malhar/contents/{+path}","compare_url":"https://api.github.com/repos/tushargosavi/Malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tushargosavi/Malhar/merges","archive_url":"https://api.github.com/repos/tushargosavi/Malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tushargosavi/Malhar/downloads","issues_url":"https://api.github.com/repos/tushargosavi/Malhar/issues{/number}","pulls_url":"https://api.github.com/repos/tushargosavi/Malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/tushargosavi/Malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/tushargosavi/Malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tushargosavi/Malhar/labels{/name}","releases_url":"https://api.github.com/repos/tushargosavi/Malhar/releases{/id}","created_at":"2014-03-13T04:59:42Z","updated_at":"2014-06-30T15:14:02Z","pushed_at":"2015-05-11T08:26:26Z","git_url":"git://github.com/tushargosavi/Malhar.git","ssh_url":"git@github.com:tushargosavi/Malhar.git","clone_url":"https://github.com/tushargosavi/Malhar.git","svn_url":"https://github.com/tushargosavi/Malhar","homepage":null,"size":72078,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DataTorrent:dt-dev","ref":"dt-dev","sha":"e58457012794d1759967b0b28d1f031f244552fc","user":{"login":"DataTorrent","id":4400063,"avatar_url":"https://avatars.githubusercontent.com/u/4400063?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTorrent","html_url":"https://github.com/DataTorrent","followers_url":"https://api.github.com/users/DataTorrent/followers","following_url":"https://api.github.com/users/DataTorrent/following{/other_user}","gists_url":"https://api.github.com/users/DataTorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTorrent/subscriptions","organizations_url":"https://api.github.com/users/DataTorrent/orgs","repos_url":"https://api.github.com/users/DataTorrent/repos","events_url":"https://api.github.com/users/DataTorrent/events{/privacy}","received_events_url":"https://api.github.com/users/DataTorrent/received_events","type":"Organization","site_admin":false},"repo":{"id":11749698,"name":"Malhar","full_name":"DataTorrent/Malhar","owner":{"login":"DataTorrent","id":4400063,"avatar_url":"https://avatars.githubusercontent.com/u/4400063?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTorrent","html_url":"https://github.com/DataTorrent","followers_url":"https://api.github.com/users/DataTorrent/followers","following_url":"https://api.github.com/users/DataTorrent/following{/other_user}","gists_url":"https://api.github.com/users/DataTorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTorrent/subscriptions","organizations_url":"https://api.github.com/users/DataTorrent/orgs","repos_url":"https://api.github.com/users/DataTorrent/repos","events_url":"https://api.github.com/users/DataTorrent/events{/privacy}","received_events_url":"https://api.github.com/users/DataTorrent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataTorrent/Malhar","description":"DataTorrent open source code.","fork":false,"url":"https://api.github.com/repos/DataTorrent/Malhar","forks_url":"https://api.github.com/repos/DataTorrent/Malhar/forks","keys_url":"https://api.github.com/repos/DataTorrent/Malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataTorrent/Malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataTorrent/Malhar/teams","hooks_url":"https://api.github.com/repos/DataTorrent/Malhar/hooks","issue_events_url":"https://api.github.com/repos/DataTorrent/Malhar/issues/events{/number}","events_url":"https://api.github.com/repos/DataTorrent/Malhar/events","assignees_url":"https://api.github.com/repos/DataTorrent/Malhar/assignees{/user}","branches_url":"https://api.github.com/repos/DataTorrent/Malhar/branches{/branch}","tags_url":"https://api.github.com/repos/DataTorrent/Malhar/tags","blobs_url":"https://api.github.com/repos/DataTorrent/Malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataTorrent/Malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataTorrent/Malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataTorrent/Malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataTorrent/Malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/DataTorrent/Malhar/languages","stargazers_url":"https://api.github.com/repos/DataTorrent/Malhar/stargazers","contributors_url":"https://api.github.com/repos/DataTorrent/Malhar/contributors","subscribers_url":"https://api.github.com/repos/DataTorrent/Malhar/subscribers","subscription_url":"https://api.github.com/repos/DataTorrent/Malhar/subscription","commits_url":"https://api.github.com/repos/DataTorrent/Malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataTorrent/Malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataTorrent/Malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataTorrent/Malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataTorrent/Malhar/contents/{+path}","compare_url":"https://api.github.com/repos/DataTorrent/Malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataTorrent/Malhar/merges","archive_url":"https://api.github.com/repos/DataTorrent/Malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataTorrent/Malhar/downloads","issues_url":"https://api.github.com/repos/DataTorrent/Malhar/issues{/number}","pulls_url":"https://api.github.com/repos/DataTorrent/Malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/DataTorrent/Malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/DataTorrent/Malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataTorrent/Malhar/labels{/name}","releases_url":"https://api.github.com/repos/DataTorrent/Malhar/releases{/id}","created_at":"2013-07-29T21:00:05Z","updated_at":"2015-05-08T01:03:51Z","pushed_at":"2015-05-11T10:48:54Z","git_url":"git://github.com/DataTorrent/Malhar.git","ssh_url":"git@github.com:DataTorrent/Malhar.git","clone_url":"https://github.com/DataTorrent/Malhar.git","svn_url":"https://github.com/DataTorrent/Malhar","homepage":null,"size":112893,"stargazers_count":52,"watchers_count":52,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":56,"mirror_url":null,"open_issues_count":135,"forks":56,"open_issues":135,"watchers":52,"default_branch":"dt-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383"},"html":{"href":"https://github.com/DataTorrent/Malhar/pull/1383"},"issue":{"href":"https://api.github.com/repos/DataTorrent/Malhar/issues/1383"},"comments":{"href":"https://api.github.com/repos/DataTorrent/Malhar/issues/1383/comments"},"review_comments":{"href":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383/comments"},"review_comment":{"href":"https://api.github.com/repos/DataTorrent/Malhar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataTorrent/Malhar/pulls/1383/commits"},"statuses":{"href":"https://api.github.com/repos/DataTorrent/Malhar/statuses/e5dbc6421306ba6e1d6a5ce2ee1172423599894b"}}}}