{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/apache/commons-jexl/pulls/2","id":59288974,"html_url":"https://github.com/apache/commons-jexl/pull/2","diff_url":"https://github.com/apache/commons-jexl/pull/2.diff","patch_url":"https://github.com/apache/commons-jexl/pull/2.patch","issue_url":"https://api.github.com/repos/apache/commons-jexl/issues/2","number":2,"state":"open","locked":false,"title":"Add NPE check to property for MapGetExecutor","user":{"login":"code4craft","id":1351884,"avatar_url":"https://avatars.githubusercontent.com/u/1351884?v=3","gravatar_id":"","url":"https://api.github.com/users/code4craft","html_url":"https://github.com/code4craft","followers_url":"https://api.github.com/users/code4craft/followers","following_url":"https://api.github.com/users/code4craft/following{/other_user}","gists_url":"https://api.github.com/users/code4craft/gists{/gist_id}","starred_url":"https://api.github.com/users/code4craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code4craft/subscriptions","organizations_url":"https://api.github.com/users/code4craft/orgs","repos_url":"https://api.github.com/users/code4craft/repos","events_url":"https://api.github.com/users/code4craft/events{/privacy}","received_events_url":"https://api.github.com/users/code4craft/received_events","type":"User","site_admin":false},"body":"When the MapGetExecutor is init by the key null, the property of MapGetExecutor will be null. \r\nIf the MapGetExecutor is cached and the key is changed (like map[index]), there will throw an NPE.\r\nI think the intention for the condition is to compare the class compatibility, so I add the NPE check here.","created_at":"2016-02-14T07:02:12Z","updated_at":"2016-02-14T07:02:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/commons-jexl/pulls/2/commits","review_comments_url":"https://api.github.com/repos/apache/commons-jexl/pulls/2/comments","review_comment_url":"https://api.github.com/repos/apache/commons-jexl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/commons-jexl/issues/2/comments","statuses_url":"https://api.github.com/repos/apache/commons-jexl/statuses/a906615e385fea0b7111831cf194541545c743dd","head":{"label":"ipiaoniu:2.0","ref":"2.0","sha":"a906615e385fea0b7111831cf194541545c743dd","user":{"login":"ipiaoniu","id":13975278,"avatar_url":"https://avatars.githubusercontent.com/u/13975278?v=3","gravatar_id":"","url":"https://api.github.com/users/ipiaoniu","html_url":"https://github.com/ipiaoniu","followers_url":"https://api.github.com/users/ipiaoniu/followers","following_url":"https://api.github.com/users/ipiaoniu/following{/other_user}","gists_url":"https://api.github.com/users/ipiaoniu/gists{/gist_id}","starred_url":"https://api.github.com/users/ipiaoniu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipiaoniu/subscriptions","organizations_url":"https://api.github.com/users/ipiaoniu/orgs","repos_url":"https://api.github.com/users/ipiaoniu/repos","events_url":"https://api.github.com/users/ipiaoniu/events{/privacy}","received_events_url":"https://api.github.com/users/ipiaoniu/received_events","type":"Organization","site_admin":false},"repo":{"id":51683576,"name":"commons-jexl","full_name":"ipiaoniu/commons-jexl","owner":{"login":"ipiaoniu","id":13975278,"avatar_url":"https://avatars.githubusercontent.com/u/13975278?v=3","gravatar_id":"","url":"https://api.github.com/users/ipiaoniu","html_url":"https://github.com/ipiaoniu","followers_url":"https://api.github.com/users/ipiaoniu/followers","following_url":"https://api.github.com/users/ipiaoniu/following{/other_user}","gists_url":"https://api.github.com/users/ipiaoniu/gists{/gist_id}","starred_url":"https://api.github.com/users/ipiaoniu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipiaoniu/subscriptions","organizations_url":"https://api.github.com/users/ipiaoniu/orgs","repos_url":"https://api.github.com/users/ipiaoniu/repos","events_url":"https://api.github.com/users/ipiaoniu/events{/privacy}","received_events_url":"https://api.github.com/users/ipiaoniu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipiaoniu/commons-jexl","description":"Mirror of Apache Commons Jexl","fork":true,"url":"https://api.github.com/repos/ipiaoniu/commons-jexl","forks_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/forks","keys_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/teams","hooks_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/hooks","issue_events_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/issues/events{/number}","events_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/events","assignees_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/assignees{/user}","branches_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/branches{/branch}","tags_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/tags","blobs_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/statuses/{sha}","languages_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/languages","stargazers_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/stargazers","contributors_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/contributors","subscribers_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/subscribers","subscription_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/subscription","commits_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/contents/{+path}","compare_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/merges","archive_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/downloads","issues_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/issues{/number}","pulls_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/pulls{/number}","milestones_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/milestones{/number}","notifications_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/labels{/name}","releases_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/releases{/id}","deployments_url":"https://api.github.com/repos/ipiaoniu/commons-jexl/deployments","created_at":"2016-02-14T06:53:41Z","updated_at":"2016-02-14T06:53:42Z","pushed_at":"2016-02-14T06:58:46Z","git_url":"git://github.com/ipiaoniu/commons-jexl.git","ssh_url":"git@github.com:ipiaoniu/commons-jexl.git","clone_url":"https://github.com/ipiaoniu/commons-jexl.git","svn_url":"https://github.com/ipiaoniu/commons-jexl","homepage":null,"size":2670,"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":"trunk"}},"base":{"label":"apache:2.0","ref":"2.0","sha":"504a2f06beadc6748a461b90272685d75a8d519a","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":11304839,"name":"commons-jexl","full_name":"apache/commons-jexl","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/commons-jexl","description":"Mirror of Apache Commons Jexl","fork":false,"url":"https://api.github.com/repos/apache/commons-jexl","forks_url":"https://api.github.com/repos/apache/commons-jexl/forks","keys_url":"https://api.github.com/repos/apache/commons-jexl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/commons-jexl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/commons-jexl/teams","hooks_url":"https://api.github.com/repos/apache/commons-jexl/hooks","issue_events_url":"https://api.github.com/repos/apache/commons-jexl/issues/events{/number}","events_url":"https://api.github.com/repos/apache/commons-jexl/events","assignees_url":"https://api.github.com/repos/apache/commons-jexl/assignees{/user}","branches_url":"https://api.github.com/repos/apache/commons-jexl/branches{/branch}","tags_url":"https://api.github.com/repos/apache/commons-jexl/tags","blobs_url":"https://api.github.com/repos/apache/commons-jexl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/commons-jexl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/commons-jexl/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/commons-jexl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/commons-jexl/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/commons-jexl/languages","stargazers_url":"https://api.github.com/repos/apache/commons-jexl/stargazers","contributors_url":"https://api.github.com/repos/apache/commons-jexl/contributors","subscribers_url":"https://api.github.com/repos/apache/commons-jexl/subscribers","subscription_url":"https://api.github.com/repos/apache/commons-jexl/subscription","commits_url":"https://api.github.com/repos/apache/commons-jexl/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/commons-jexl/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/commons-jexl/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/commons-jexl/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/commons-jexl/contents/{+path}","compare_url":"https://api.github.com/repos/apache/commons-jexl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/commons-jexl/merges","archive_url":"https://api.github.com/repos/apache/commons-jexl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/commons-jexl/downloads","issues_url":"https://api.github.com/repos/apache/commons-jexl/issues{/number}","pulls_url":"https://api.github.com/repos/apache/commons-jexl/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/commons-jexl/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/commons-jexl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/commons-jexl/labels{/name}","releases_url":"https://api.github.com/repos/apache/commons-jexl/releases{/id}","deployments_url":"https://api.github.com/repos/apache/commons-jexl/deployments","created_at":"2013-07-10T07:00:14Z","updated_at":"2016-01-19T06:46:08Z","pushed_at":"2016-02-11T16:46:14Z","git_url":"git://github.com/apache/commons-jexl.git","ssh_url":"git@github.com:apache/commons-jexl.git","clone_url":"https://github.com/apache/commons-jexl.git","svn_url":"https://github.com/apache/commons-jexl","homepage":null,"size":2669,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":"git://git.apache.org/commons-jexl.git","open_issues_count":1,"forks":15,"open_issues":1,"watchers":8,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/commons-jexl/pulls/2"},"html":{"href":"https://github.com/apache/commons-jexl/pull/2"},"issue":{"href":"https://api.github.com/repos/apache/commons-jexl/issues/2"},"comments":{"href":"https://api.github.com/repos/apache/commons-jexl/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/commons-jexl/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/commons-jexl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/commons-jexl/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/apache/commons-jexl/statuses/a906615e385fea0b7111831cf194541545c743dd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}