[
https://issues.jenkins-ci.org/browse/JENKINS-11215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160472#comment-160472
]
Gabriele Giuseppini commented on JENKINS-11215:
-----------------------------------------------
Hitting the same issue. We are using jenkins 1.435. The log shows:
Legacy code started this job. No cause information is available
FATAL: hudson.plugins.promoted_builds.PromotionProcess cannot be cast to
hudson.model.Project
←[8mha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=←[0mjava.lang.ClassCastException:
hudson.plugins.promoted_builds.PromotionProcess cannot be cast to
hudson.model.Project
at
org.jenkinsci.plugins.postbuildscript.PostBuildScriptListener.onStarted(PostBuildScriptListener.java:34)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:188)
at hudson.model.Run.run(Run.java:1399)
at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:94)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:230)
> Promotion Job Fails - Fatal Error while Casting
> -----------------------------------------------
>
> Key: JENKINS-11215
> URL: https://issues.jenkins-ci.org/browse/JENKINS-11215
> Project: Jenkins
> Issue Type: Bug
> Components: promoted-builds
> Environment: Windows XP, Jenkins 1.433, (see attached list of plugins)
> Reporter: John Werner
> Attachments: Jenkins-plugins-20111004.pdf, log
>
>
> Trying to promote a build fails to run the promotion job. This applies to
> any job I create. The error returned on the UI is "Pending promotion
> (promotion not queued. Please re-execute promotion)"
> The log from the promotion jobs all appear to be identical. The content of
> one is attached, but summary is given as
> "FATAL: hudson.plugins.promoted_builds.PromotionProcess cannot be cast to
> hudson.model.Project"
> The list of other installed plugins is as also attached.
--
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