[JIRA] (JENKINS-60413) Regression: Branch scanning fails when PR refer to a deleted fork

9 views
Skip to first unread message

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 9, 2019, 10:23:03 PM12/9/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ created an issue
 
Jenkins / Bug JENKINS-60413
Regression: Branch scanning fails when PR refer to a deleted fork
Issue Type: Bug Bug
Assignee: Unassigned
Components: github-branch-source-plugin
Created: 2019-12-10 03:22
Environment: github-branch-source:2.5.7
Priority: Major Major
Reporter: Allan BURDAJEWICZ

When scanning a repository, if the source fork of a pull request have been deleted the scan fails:

ERROR: [Mon Dec 09 22:02:34 GMT 2019] Could not fetch branches from source 09803c5b-0046-46ea-8ed5-3f98d5cf31e7
java.lang.NullPointerException
	at org.jenkinsci.plugins.github_branch_source.PullRequestSCMHead.<init>(PullRequestSCMHead.java:95)
	at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrievePullRequest(GitHubSCMSource.java:1168)
	at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:1027)
	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373)
	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283)
	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:635)
	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)
	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)
	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1026)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
[Mon Dec 09 22:02:34 GMT 2019] Finished branch indexing. Indexing took 7.4 sec

This is a regression caused by https://issues.jenkins.io/browse/JENKINS-58450

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 9, 2019, 11:34:02 PM12/9/19
to jenkinsc...@googlegroups.com

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 9, 2019, 11:34:03 PM12/9/19
to jenkinsc...@googlegroups.com

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 9, 2019, 11:34:03 PM12/9/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ started work on Bug JENKINS-60413
 
Change By: Allan BURDAJEWICZ
Status: Open In Progress

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 9, 2019, 11:47:03 PM12/9/19
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Feb 3, 2020, 5:12:02 PM2/3/20
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Feb 3, 2020, 5:13:02 PM2/3/20
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Feb 3, 2020, 5:13:03 PM2/3/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages