jenkinsci / ghprb-plugin

github pull requests builder plugin for Jenkins
https://plugins.jenkins.io/ghprb/
MIT License
506 stars 612 forks source link

sometimes pull request builder job stuck & not proceeding #789

Open github-akshayas opened 4 years ago

github-akshayas commented 4 years ago

HI ,

We are using jenkins Github Pull request builder version 1.42.0 .

Sometimes Jenkins job stuck for Pull a pull request and blocking other pull request jenkins job to execute and when i checked the . I had to abort the job to have other jobs to execute .

Could you please suggest what could be the issue . jenkins logs i found following error : 2020-07-23 12:15:51.544+0000 [id=8771132] SEVERE o.j.p.ghprb.GhprbRootAction$2#run: Unable to handle PR# 4013 for repo: java.lang.NullPointerException at org.jenkinsci.plugins.ghprb.GhprbTrigger.scheduleBuild(GhprbTrigger.java:396) at org.jenkinsci.plugins.ghprb.GhprbBuilds.build(GhprbBuilds.java:94) at org.jenkinsci.plugins.ghprb.GhprbPullRequest.build(GhprbPullRequest.java:555) at org.jenkinsci.plugins.ghprb.GhprbPullRequest.tryBuild(GhprbPullRequest.java:548) at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:226) at org.jenkinsci.plugins.ghprb.GhprbRepository.onPullRequestHook(GhprbRepository.java:394) at org.jenkinsci.plugins.ghprb.GhprbTrigger.handlePR(GhprbTrigger.java:746) at org.jenkinsci.plugins.ghprb.GhprbRootAction$2.run(GhprbRootAction.java:257)