java.lang.ClassCastException: hudson.model.FreeStyleBuild cannot be cast to com.tikal.jenkins.plugins.multijob.MultiJobBuild

Jenkins JIRA | Brian Aker | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      hudson.model.FreeStyleBuild cannot be cast to com.tikal.jenkins.plugins.multijob.MultiJobBuild

      at com.tikal.jenkins.plugins.multijob.MultiJobBuilder.perform()
    2. com.tikal.jenkins
      MultiJobBuilder.perform
      1. com.tikal.jenkins.plugins.multijob.MultiJobBuilder.perform(MultiJobBuilder.java:64)
      1 frame
    3. hudson.plugins.templateproject
      ProxyBuilder.perform
      1. hudson.plugins.templateproject.ProxyBuilder.perform(ProxyBuilder.java:83)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      3. hudson.model.Build$BuildExecution.build(Build.java:199)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      6. hudson.model.Run.execute(Run.java:1502)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:236)
      9 frames