![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
huybrechts
|
|
Components:
|
parameterized-trigger-plugin |
|
Created:
|
27/Jan/15 7:16 PM
|
|
Description:
|
hudson.tasks.BuildTrigger#getChildProjects(hudson.model.ItemGroup) doesn't check if childProjects is null.
Even though childProjects is checked for null in the constructor, this can happen if a BuildTrigger is deserialized from an invalid configuration.
What's worse, is that due to JENKINS-26643, this can prevent Jenkins from starting. Example:
SEVERE: Failed Finalizing set up
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(Unknown Source)
at java.util.StringTokenizer.<init>(Unknown Source)
at hudson.model.Items.fromNameList(Items.java:145)
at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getProjectList(BuildTriggerConfig.java:125)
at hudson.plugins.parameterizedtrigger.BuildTrigger.buildDependencyGraph(BuildTrigger.java:74)
at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:213)
at hudson.model.Project.buildDependencyGraph(Project.java:201)
at hudson.model.DependencyGraph.build(DependencyGraph.java:95)
at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3738)
at jenkins.model.Jenkins$20.run(Jenkins.java:2680)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:886)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
|
|
Project:
|
Jenkins
|
|
Labels:
|
robustness
|
|
Priority:
|
Minor
|
|
Reporter:
|
recampbell
|
|
|
|
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
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.