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

.ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.BuildableItemWithBuildWrappers

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • maven-plugin
    • None
    • jenkins 1.629 -1.631
      maven Project Plugin 1.6

      FATAL: java.lang.ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.BuildableItemWithBuildWrappers
      java.lang.RuntimeException: java.lang.ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.BuildableItemWithBuildWrappers
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:136)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944)
      at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:408)
      Caused by: java.lang.ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.BuildableItemWithBuildWrappers
      at org.jfrog.hudson.util.BuildUniqueIdentifierHelper.isPassIdentifiedDownstream(BuildUniqueIdentifierHelper.java:95)
      at org.jfrog.hudson.util.BuildUniqueIdentifierHelper.getRootBuild(BuildUniqueIdentifierHelper.java:39)
      at org.jfrog.hudson.util.ExtractorUtils.addBuildRootIfNeeded(ExtractorUtils.java:406)
      at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:139)
      at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132)
      ... 9 more

          [JENKINS-30696] .ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.BuildableItemWithBuildWrappers

          There are no comments yet on this issue.

            Unassigned Unassigned
            nweiss Norbert Weiß
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: