{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/comments/40159792","id":40159792,"diff_hunk":"@@ -89,7 +89,7 @@ public void onBuildTriggered(AbstractProject<?, ?> project, String commitSha, bo\n         String triggeredStatus = getDescriptor().getTriggeredStatusDefault(this);\n \n         // check if we even need to update\n-        if (triggeredStatus.equals(\"--none--\")) {\n+        if (triggeredStatus != null && triggeredStatus.equals(\"--none--\")) {","path":"src/main/java/org/jenkinsci/plugins/ghprb/extensions/status/GhprbSimpleStatus.java","position":5,"original_position":5,"commit_id":"e730ece9eb0a7d886e3ec7262e0a78582db56e5f","original_commit_id":"e730ece9eb0a7d886e3ec7262e0a78582db56e5f","user":{"login":"arcivanov","id":5355666,"avatar_url":"https://avatars.githubusercontent.com/u/5355666?v=3","gravatar_id":"","url":"https://api.github.com/users/arcivanov","html_url":"https://github.com/arcivanov","followers_url":"https://api.github.com/users/arcivanov/followers","following_url":"https://api.github.com/users/arcivanov/following{/other_user}","gists_url":"https://api.github.com/users/arcivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/arcivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcivanov/subscriptions","organizations_url":"https://api.github.com/users/arcivanov/orgs","repos_url":"https://api.github.com/users/arcivanov/repos","events_url":"https://api.github.com/users/arcivanov/events{/privacy}","received_events_url":"https://api.github.com/users/arcivanov/received_events","type":"User","site_admin":false},"body":"yep, makes sense, LGTM :+1: ","created_at":"2015-09-23T00:01:50Z","updated_at":"2015-09-23T00:01:50Z","html_url":"https://github.com/jenkinsci/ghprb-plugin/pull/187#discussion_r40159792","pull_request_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/comments/40159792"},"html":{"href":"https://github.com/jenkinsci/ghprb-plugin/pull/187#discussion_r40159792"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187","id":45729205,"html_url":"https://github.com/jenkinsci/ghprb-plugin/pull/187","diff_url":"https://github.com/jenkinsci/ghprb-plugin/pull/187.diff","patch_url":"https://github.com/jenkinsci/ghprb-plugin/pull/187.patch","issue_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/187","number":187,"state":"open","locked":false,"title":"More places for NPE error","user":{"login":"DavidTanner","id":368889,"avatar_url":"https://avatars.githubusercontent.com/u/368889?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidTanner","html_url":"https://github.com/DavidTanner","followers_url":"https://api.github.com/users/DavidTanner/followers","following_url":"https://api.github.com/users/DavidTanner/following{/other_user}","gists_url":"https://api.github.com/users/DavidTanner/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidTanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidTanner/subscriptions","organizations_url":"https://api.github.com/users/DavidTanner/orgs","repos_url":"https://api.github.com/users/DavidTanner/repos","events_url":"https://api.github.com/users/DavidTanner/events{/privacy}","received_events_url":"https://api.github.com/users/DavidTanner/received_events","type":"User","site_admin":false},"body":"More issues not addressed by #184, #185, and #186 ","created_at":"2015-09-22T23:18:26Z","updated_at":"2015-09-23T00:01:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd899f388609698318227646f12873b1f3667541","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/187/comments","statuses_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/statuses/e730ece9eb0a7d886e3ec7262e0a78582db56e5f","head":{"label":"jenkinsci:moreNpe","ref":"moreNpe","sha":"e730ece9eb0a7d886e3ec7262e0a78582db56e5f","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":5672873,"name":"ghprb-plugin","full_name":"jenkinsci/ghprb-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/ghprb-plugin","description":"github pull requests builder plugin for Jenkins","fork":true,"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin","forks_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/releases{/id}","created_at":"2012-09-04T13:34:20Z","updated_at":"2015-09-07T14:31:41Z","pushed_at":"2015-09-22T23:18:26Z","git_url":"git://github.com/jenkinsci/ghprb-plugin.git","ssh_url":"git@github.com:jenkinsci/ghprb-plugin.git","clone_url":"https://github.com/jenkinsci/ghprb-plugin.git","svn_url":"https://github.com/jenkinsci/ghprb-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin","size":2581,"stargazers_count":112,"watchers_count":112,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":163,"mirror_url":null,"open_issues_count":29,"forks":163,"open_issues":29,"watchers":112,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"48755331ec61c2a176f795471fcb82cbd6a50190","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":5672873,"name":"ghprb-plugin","full_name":"jenkinsci/ghprb-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/ghprb-plugin","description":"github pull requests builder plugin for Jenkins","fork":true,"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin","forks_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/releases{/id}","created_at":"2012-09-04T13:34:20Z","updated_at":"2015-09-07T14:31:41Z","pushed_at":"2015-09-22T23:18:26Z","git_url":"git://github.com/jenkinsci/ghprb-plugin.git","ssh_url":"git@github.com:jenkinsci/ghprb-plugin.git","clone_url":"https://github.com/jenkinsci/ghprb-plugin.git","svn_url":"https://github.com/jenkinsci/ghprb-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin","size":2581,"stargazers_count":112,"watchers_count":112,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":163,"mirror_url":null,"open_issues_count":29,"forks":163,"open_issues":29,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187"},"html":{"href":"https://github.com/jenkinsci/ghprb-plugin/pull/187"},"issue":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/187"},"comments":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/187/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/pulls/187/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/ghprb-plugin/statuses/e730ece9eb0a7d886e3ec7262e0a78582db56e5f"}}}}