-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Promoted Build 2.14
After upgrading to Promoted Build Plugin 2.14 I am getting a null pointer exception for builds which perform an Automatic Promotion after the build completes.
Reexecuting the promotion manually also fails.
If the Promotion is configured for manual promotion, it promotes successfully when I click apply
java.lang.NullPointerException at hudson.plugins.promoted_builds.Promotion.getParameterValues(Promotion.java:142) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:206) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.Run.run(Run.java:1612) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:170) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)
initial guess would be the manualCondition is null?
ManualCondition manualCondition=(ManualCondition) getProject().getPromotionCondition(ManualCondition.class.getName()); for (ParameterValue pvalue:parametersAction.getParameters()){ if (manualCondition.getParameterDefinition(pvalue.getName())!=null)
- is duplicated by
-
JENKINS-20912 promoted-builds plugin NullPointerException on getParameterValues
- Resolved
- is related to
-
JENKINS-8962 Cannot change parameter value for promotion re-execution
- Closed
-
JENKINS-20912 promoted-builds plugin NullPointerException on getParameterValues
- Resolved