java.lang.ClassCastException: hudson.ivy.IvyBuild cannot be cast to hudson.ivy.IvyModuleSetBuild

Jenkins JIRA | Moulali Shaik | 4 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.ivy.IvyBuild cannot be cast to hudson.ivy.IvyModuleSetBuild

      at jenkins.plugins.ivyreport.IvyReportPublisher.perform()
    2. jenkins.plugins.ivyreport
      IvyReportPublisher.perform
      1. jenkins.plugins.ivyreport.IvyReportPublisher.perform(IvyReportPublisher.java:102)
      1 frame
    3. Hudson
      AbstractBuild$AbstractBuildExecution.performAllBuildSteps
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
      3 frames
    4. hudson.ivy
      IvyBuild$RunnerImpl.post2
      1. hudson.ivy.IvyBuild$RunnerImpl.post2(IvyBuild.java:463)
      1 frame
    5. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
      2. hudson.model.Run.execute(Run.java:1600)
      3. hudson.model.Run.run(Run.java:1521)
      3 frames
    6. hudson.ivy
      IvyBuild.run
      1. hudson.ivy.IvyBuild.run(IvyBuild.java:167)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:241)
      2 frames