{"action":"opened","number":865,"pull_request":{"url":"https://api.github.com/repos/droolsjbpm/drools/pulls/865","id":80244375,"html_url":"https://github.com/droolsjbpm/drools/pull/865","diff_url":"https://github.com/droolsjbpm/drools/pull/865.diff","patch_url":"https://github.com/droolsjbpm/drools/pull/865.patch","issue_url":"https://api.github.com/repos/droolsjbpm/drools/issues/865","number":865,"state":"open","locked":false,"title":"Not closed FileInputStream Object caused \"To many open files\" IOException","user":{"login":"sisivy","id":871786,"avatar_url":"https://avatars.githubusercontent.com/u/871786?v=3","gravatar_id":"","url":"https://api.github.com/users/sisivy","html_url":"https://github.com/sisivy","followers_url":"https://api.github.com/users/sisivy/followers","following_url":"https://api.github.com/users/sisivy/following{/other_user}","gists_url":"https://api.github.com/users/sisivy/gists{/gist_id}","starred_url":"https://api.github.com/users/sisivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sisivy/subscriptions","organizations_url":"https://api.github.com/users/sisivy/orgs","repos_url":"https://api.github.com/users/sisivy/repos","events_url":"https://api.github.com/users/sisivy/events{/privacy}","received_events_url":"https://api.github.com/users/sisivy/received_events","type":"User","site_admin":false},"body":"In our case, this part caused endless loop in the jenkins build process(tests execution) and was returning incorrect error message. The getBytes method was not closing FileInputStream at the end of reading files and caused IOException \"To many open files\". ","created_at":"2016-08-05T13:37:47Z","updated_at":"2016-08-05T13:37:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/droolsjbpm/drools/pulls/865/commits","review_comments_url":"https://api.github.com/repos/droolsjbpm/drools/pulls/865/comments","review_comment_url":"https://api.github.com/repos/droolsjbpm/drools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/droolsjbpm/drools/issues/865/comments","statuses_url":"https://api.github.com/repos/droolsjbpm/drools/statuses/02cd615926a3e0f629549afe1ed1b3f360b33484","head":{"label":"sisivy:master","ref":"master","sha":"02cd615926a3e0f629549afe1ed1b3f360b33484","user":{"login":"sisivy","id":871786,"avatar_url":"https://avatars.githubusercontent.com/u/871786?v=3","gravatar_id":"","url":"https://api.github.com/users/sisivy","html_url":"https://github.com/sisivy","followers_url":"https://api.github.com/users/sisivy/followers","following_url":"https://api.github.com/users/sisivy/following{/other_user}","gists_url":"https://api.github.com/users/sisivy/gists{/gist_id}","starred_url":"https://api.github.com/users/sisivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sisivy/subscriptions","organizations_url":"https://api.github.com/users/sisivy/orgs","repos_url":"https://api.github.com/users/sisivy/repos","events_url":"https://api.github.com/users/sisivy/events{/privacy}","received_events_url":"https://api.github.com/users/sisivy/received_events","type":"User","site_admin":false},"repo":{"id":62291629,"name":"drools","full_name":"sisivy/drools","owner":{"login":"sisivy","id":871786,"avatar_url":"https://avatars.githubusercontent.com/u/871786?v=3","gravatar_id":"","url":"https://api.github.com/users/sisivy","html_url":"https://github.com/sisivy","followers_url":"https://api.github.com/users/sisivy/followers","following_url":"https://api.github.com/users/sisivy/following{/other_user}","gists_url":"https://api.github.com/users/sisivy/gists{/gist_id}","starred_url":"https://api.github.com/users/sisivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sisivy/subscriptions","organizations_url":"https://api.github.com/users/sisivy/orgs","repos_url":"https://api.github.com/users/sisivy/repos","events_url":"https://api.github.com/users/sisivy/events{/privacy}","received_events_url":"https://api.github.com/users/sisivy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sisivy/drools","description":"Drools Expert is the rule engine and Drools Fusion does complex event processing (CEP).","fork":true,"url":"https://api.github.com/repos/sisivy/drools","forks_url":"https://api.github.com/repos/sisivy/drools/forks","keys_url":"https://api.github.com/repos/sisivy/drools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sisivy/drools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sisivy/drools/teams","hooks_url":"https://api.github.com/repos/sisivy/drools/hooks","issue_events_url":"https://api.github.com/repos/sisivy/drools/issues/events{/number}","events_url":"https://api.github.com/repos/sisivy/drools/events","assignees_url":"https://api.github.com/repos/sisivy/drools/assignees{/user}","branches_url":"https://api.github.com/repos/sisivy/drools/branches{/branch}","tags_url":"https://api.github.com/repos/sisivy/drools/tags","blobs_url":"https://api.github.com/repos/sisivy/drools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sisivy/drools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sisivy/drools/git/refs{/sha}","trees_url":"https://api.github.com/repos/sisivy/drools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sisivy/drools/statuses/{sha}","languages_url":"https://api.github.com/repos/sisivy/drools/languages","stargazers_url":"https://api.github.com/repos/sisivy/drools/stargazers","contributors_url":"https://api.github.com/repos/sisivy/drools/contributors","subscribers_url":"https://api.github.com/repos/sisivy/drools/subscribers","subscription_url":"https://api.github.com/repos/sisivy/drools/subscription","commits_url":"https://api.github.com/repos/sisivy/drools/commits{/sha}","git_commits_url":"https://api.github.com/repos/sisivy/drools/git/commits{/sha}","comments_url":"https://api.github.com/repos/sisivy/drools/comments{/number}","issue_comment_url":"https://api.github.com/repos/sisivy/drools/issues/comments{/number}","contents_url":"https://api.github.com/repos/sisivy/drools/contents/{+path}","compare_url":"https://api.github.com/repos/sisivy/drools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sisivy/drools/merges","archive_url":"https://api.github.com/repos/sisivy/drools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sisivy/drools/downloads","issues_url":"https://api.github.com/repos/sisivy/drools/issues{/number}","pulls_url":"https://api.github.com/repos/sisivy/drools/pulls{/number}","milestones_url":"https://api.github.com/repos/sisivy/drools/milestones{/number}","notifications_url":"https://api.github.com/repos/sisivy/drools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sisivy/drools/labels{/name}","releases_url":"https://api.github.com/repos/sisivy/drools/releases{/id}","deployments_url":"https://api.github.com/repos/sisivy/drools/deployments","created_at":"2016-06-30T07:57:31Z","updated_at":"2016-06-30T07:57:49Z","pushed_at":"2016-08-05T13:26:05Z","git_url":"git://github.com/sisivy/drools.git","ssh_url":"git@github.com:sisivy/drools.git","clone_url":"https://github.com/sisivy/drools.git","svn_url":"https://github.com/sisivy/drools","homepage":"http://www.drools.org","size":239732,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"droolsjbpm:master","ref":"master","sha":"b58784b121e28222b614a84f811018067d5eb104","user":{"login":"droolsjbpm","id":517980,"avatar_url":"https://avatars.githubusercontent.com/u/517980?v=3","gravatar_id":"","url":"https://api.github.com/users/droolsjbpm","html_url":"https://github.com/droolsjbpm","followers_url":"https://api.github.com/users/droolsjbpm/followers","following_url":"https://api.github.com/users/droolsjbpm/following{/other_user}","gists_url":"https://api.github.com/users/droolsjbpm/gists{/gist_id}","starred_url":"https://api.github.com/users/droolsjbpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droolsjbpm/subscriptions","organizations_url":"https://api.github.com/users/droolsjbpm/orgs","repos_url":"https://api.github.com/users/droolsjbpm/repos","events_url":"https://api.github.com/users/droolsjbpm/events{/privacy}","received_events_url":"https://api.github.com/users/droolsjbpm/received_events","type":"Organization","site_admin":false},"repo":{"id":1381673,"name":"drools","full_name":"droolsjbpm/drools","owner":{"login":"droolsjbpm","id":517980,"avatar_url":"https://avatars.githubusercontent.com/u/517980?v=3","gravatar_id":"","url":"https://api.github.com/users/droolsjbpm","html_url":"https://github.com/droolsjbpm","followers_url":"https://api.github.com/users/droolsjbpm/followers","following_url":"https://api.github.com/users/droolsjbpm/following{/other_user}","gists_url":"https://api.github.com/users/droolsjbpm/gists{/gist_id}","starred_url":"https://api.github.com/users/droolsjbpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droolsjbpm/subscriptions","organizations_url":"https://api.github.com/users/droolsjbpm/orgs","repos_url":"https://api.github.com/users/droolsjbpm/repos","events_url":"https://api.github.com/users/droolsjbpm/events{/privacy}","received_events_url":"https://api.github.com/users/droolsjbpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/droolsjbpm/drools","description":"Drools Expert is the rule engine and Drools Fusion does complex event processing (CEP).","fork":false,"url":"https://api.github.com/repos/droolsjbpm/drools","forks_url":"https://api.github.com/repos/droolsjbpm/drools/forks","keys_url":"https://api.github.com/repos/droolsjbpm/drools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/droolsjbpm/drools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/droolsjbpm/drools/teams","hooks_url":"https://api.github.com/repos/droolsjbpm/drools/hooks","issue_events_url":"https://api.github.com/repos/droolsjbpm/drools/issues/events{/number}","events_url":"https://api.github.com/repos/droolsjbpm/drools/events","assignees_url":"https://api.github.com/repos/droolsjbpm/drools/assignees{/user}","branches_url":"https://api.github.com/repos/droolsjbpm/drools/branches{/branch}","tags_url":"https://api.github.com/repos/droolsjbpm/drools/tags","blobs_url":"https://api.github.com/repos/droolsjbpm/drools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/droolsjbpm/drools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/droolsjbpm/drools/git/refs{/sha}","trees_url":"https://api.github.com/repos/droolsjbpm/drools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/droolsjbpm/drools/statuses/{sha}","languages_url":"https://api.github.com/repos/droolsjbpm/drools/languages","stargazers_url":"https://api.github.com/repos/droolsjbpm/drools/stargazers","contributors_url":"https://api.github.com/repos/droolsjbpm/drools/contributors","subscribers_url":"https://api.github.com/repos/droolsjbpm/drools/subscribers","subscription_url":"https://api.github.com/repos/droolsjbpm/drools/subscription","commits_url":"https://api.github.com/repos/droolsjbpm/drools/commits{/sha}","git_commits_url":"https://api.github.com/repos/droolsjbpm/drools/git/commits{/sha}","comments_url":"https://api.github.com/repos/droolsjbpm/drools/comments{/number}","issue_comment_url":"https://api.github.com/repos/droolsjbpm/drools/issues/comments{/number}","contents_url":"https://api.github.com/repos/droolsjbpm/drools/contents/{+path}","compare_url":"https://api.github.com/repos/droolsjbpm/drools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/droolsjbpm/drools/merges","archive_url":"https://api.github.com/repos/droolsjbpm/drools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/droolsjbpm/drools/downloads","issues_url":"https://api.github.com/repos/droolsjbpm/drools/issues{/number}","pulls_url":"https://api.github.com/repos/droolsjbpm/drools/pulls{/number}","milestones_url":"https://api.github.com/repos/droolsjbpm/drools/milestones{/number}","notifications_url":"https://api.github.com/repos/droolsjbpm/drools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/droolsjbpm/drools/labels{/name}","releases_url":"https://api.github.com/repos/droolsjbpm/drools/releases{/id}","deployments_url":"https://api.github.com/repos/droolsjbpm/drools/deployments","created_at":"2011-02-18T08:37:05Z","updated_at":"2016-08-04T15:43:19Z","pushed_at":"2016-08-05T13:37:47Z","git_url":"git://github.com/droolsjbpm/drools.git","ssh_url":"git@github.com:droolsjbpm/drools.git","clone_url":"https://github.com/droolsjbpm/drools.git","svn_url":"https://github.com/droolsjbpm/drools","homepage":"http://www.drools.org","size":239871,"stargazers_count":668,"watchers_count":668,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":911,"mirror_url":null,"open_issues_count":10,"forks":911,"open_issues":10,"watchers":668,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/droolsjbpm/drools/pulls/865"},"html":{"href":"https://github.com/droolsjbpm/drools/pull/865"},"issue":{"href":"https://api.github.com/repos/droolsjbpm/drools/issues/865"},"comments":{"href":"https://api.github.com/repos/droolsjbpm/drools/issues/865/comments"},"review_comments":{"href":"https://api.github.com/repos/droolsjbpm/drools/pulls/865/comments"},"review_comment":{"href":"https://api.github.com/repos/droolsjbpm/drools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/droolsjbpm/drools/pulls/865/commits"},"statuses":{"href":"https://api.github.com/repos/droolsjbpm/drools/statuses/02cd615926a3e0f629549afe1ed1b3f360b33484"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"sisivy"}}