Issue Type: Bug Bug
Affects Versions: current
Assignee: shinodkm
Attachments: jenkins.log
Components: downstream-buildview
Created: 25/Oct/12 9:38 AM
Description:

Please see our Jenkins run output in the attached file jenkins.log

It seems some of our downstream projects are null (possibly because the project is disabled?) This causes the exception on line 61.

Snippet from DownstreamProjectActionFactory:
--------------------------------------------
52 public Collection<? extends Action> createFor(@SuppressWarnings("unchecked") AbstractProject target) {
53 LOG.fine(this + " adds DownStreamProjectAction for " + target);
54 final ArrayList<Action> actions = new ArrayList<Action>();
55
56
57 // add the DownstreamBuildViewAction to all run builds, DownstreamBuildViewRunListener will append this to the others.
58 final List<?> builds = (List<?>) target.getBuilds();
59 for (Object object : builds) {
60 final AbstractBuild<?, ?> build = (AbstractBuild<?, ?>) object;
61 final List<DownstreamBuildViewAction> dBuildViewAction = build.getActions(DownstreamBuildViewAction.class);

Project: Jenkins
Priority: Minor Minor
Reporter: Tjaart van der Walt
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to