java.lang.ClassCastException: hudson.maven.MavenModuleSetBuild

Jenkins JIRA | shashiatjavadotnet | 8 years ago
  1. 0

    Problem checking out (from VSS) and building maven project in Hudson

    Stack Overflow | 8 years ago | Petr Macek
    java.lang.ClassCastException: hudson.maven.MavenModuleSetBuild cannot be cast to hudson.model.Build
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      hudson.maven.MavenModuleSetBuild

      at scm.vss.VSSSCM.checkout()
    2. scm.vss
      VSSSCM.checkout
      1. scm.vss.VSSSCM.checkout(VSSSCM.java:227)
      1 frame
    3. Hudson
      Run.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:666)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:261)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235)
      4. hudson.model.Run.run(Run.java:817)
      4 frames
    4. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:70)
      2. hudson.model.Executor.run(Executor.java:89)
      2 frames