Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29750

ClassCastException on a workflow job

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.

            recena Manuel Recena Soto
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: