Issue Type: Bug Bug
Assignee: Unassigned
Components: promoted-builds, promoted-builds-simple
Created: 15/Apr/14 5:33 PM
Description:

When trying to configure the promotion process based on a build parameter, the promotion fails as it tries to get the last failed instance for a job that never failed.

As a result the promotion also fails with null pointer exception.

Caused by: java.lang.NullPointerException
at hudson.plugins.promoted_builds.Status.getLastFailed(Status.java:252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297)
at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:201)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:684)

Project: Jenkins
Priority: Minor Minor
Reporter: Raghav Vaidhyanathan
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.

Reply via email to