java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Norbert Weiß,
  • 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
    via by Norbert Weiß,
    • 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
    No Bugmate found.