[
https://issues.jenkins-ci.org/browse/JENKINS-10342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162352#comment-162352
]
Ben Dean commented on JENKINS-10342:
------------------------------------
Having same issue with:
* Jenkins: 1.461
* Downstream Build View: 1.7
* Promoted builds: 2.5
Stacktrace:
{code}
java.lang.NullPointerException
at
org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:85)
at
org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:46)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:188)
at hudson.model.Run.run(Run.java:1429)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:239)
{code}
> Build triggered by promotion fails
> ----------------------------------
>
> Key: JENKINS-10342
> URL: https://issues.jenkins-ci.org/browse/JENKINS-10342
> Project: Jenkins
> Issue Type: Bug
> Components: downstream-buildview
> Affects Versions: current
> Environment: Jenkins version = 1.420
> Promoted builds plugin version = 2.2
> Reporter: Roy Truelove
> Attachments: PromotionConfig.jpg
>
>
> I created two bare bones test projects to replicate:
> # *BUG TEST - promoter* - Does nothing, but has a promotion which must be
> manually approved, and which triggers a parametrized build of another project
> (See screenshot)
> # *BUG TEST - downstream* - Does nothing at all.
> When I promote the first project, I expect the second to run. Instead I get:
> {code}
> Started by upstream project "BUG TEST -
> promoter/promotion/GoldStarPromotions" build number 5
> FATAL: null
> java.lang.NullPointerException
> at
> org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:85)
> at
> org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:46)
> at hudson.model.listeners.RunListener.fireStarted(RunListener.java:188)
> at hudson.model.Run.run(Run.java:1371)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:175)
> {code}
> If any further information would be helpful please let me know.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira