ClassCastException on a workflow job

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Exception is thrown from the plugin when rendering the build overview page for a workflow job.

      Jul 31, 2015 3:30:24 PM WARNING hudson.ExpressionFactory2$JexlExpression evaluate
      Caught exception evaluating: it.transientActions in /job/CloudBees%20Jenkins%20Platform/job/all-plugins%20(master)/53/. Reason: java.lang.reflect.InvocationTargetException
      Caused by: java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject
      	at org.jenkinsci.plugins.badge.RunBadgeAction.<init>(RunBadgeAction.java:18)
      	at org.jenkinsci.plugins.badge.RunBadgeActionFactory.createFor(RunBadgeActionFactory.java:21)
      

      full stack attached.

            Assignee:
            Manuel Recena Soto
            Reporter:
            James Nord
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: