-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor
-
Component/s: github-branch-source-plugin
-
Environment:Jenkins LTS 2.42.1
github-branch-source-plugin 2.0.5
When scanning our repo, most projects are picked up OK. But we have one single project that fails, with the following stack trace:
Getting remote pull requests...
Checking pull request #2
ERROR: [Tue Apr 18 06:52:35 PDT 2017] Could not fetch branches from source 088114bd-4ea3-4dc1-9d60-54e6ec5fcaa3
java.lang.NullPointerException
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.doRetrieve(GitHubSCMSource.java:623)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:462)
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:628)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:266)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:162)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:967)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
[Tue Apr 18 06:52:35 PDT 2017] Finished branch indexing. Indexing took 3.1 sec
FATAL: Failed to recompute children of Tanium » Content-IC-Network
java.lang.NullPointerException
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.doRetrieve(GitHubSCMSource.java:623)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:462)
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:628)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:266)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:162)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:967)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
Finished: FAILURE
Â
I don't see anything particularly special or different about this repo, so I can't really describe why only this one is having problems. Happy to provide any information required that might be useful.
- is related to
-
JENKINS-41246 Branch scanning fails when PR refer to a deleted fork
-
- Closed
-