-
Bug
-
Resolution: Fixed
-
Major
Hi!
I noticed that, when scanning a repository, when the source fork of a pull request have been deleted the scan fails:
Checking pull request #5146
ERROR: [Fri Jan 20 10:07:04 CET 2017] Could not fetch branches from source org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator::https://api.github.com::xxx::xxx
java.lang.NullPointerException
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.doRetrieve(GitHubSCMSource.java:553)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:433)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:516)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:187)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:139)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:874)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
[Fri Jan 20 10:07:04 CET 2017] Finished branch indexing. Indexing took 18 sec
FATAL: Failed to recompute children of Xxxxx ยป xxxxxx
java.lang.NullPointerException
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.doRetrieve(GitHubSCMSource.java:553)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:433)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:516)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:187)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:139)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:874)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Finished: FAILURE
Could it be possible to skip those pull requests ? The best would be to be able to build a temporary branch and apply the patch provided by github but any workaround would be appreciated
- is duplicated by
-
JENKINS-45008 NullPointerException when scanning an organization
- Closed
-
JENKINS-45285 Inactive PRs break Branch Indexing
- Closed
-
JENKINS-43487 NPE indexing pull request
- Closed
-
JENKINS-45274 GitHub Organization scanning fails abnormally when user is blocked from repositories
- Closed
- is related to
-
JENKINS-43655 NPE during repository scan
- Resolved