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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Norbert Weiß, 1 year ago
java.lang.ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.BuildableItemWithBuildWrappers
via Jenkins JIRA by Norbert Weiß, 1 year ago
java.lang.ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.BuildableItemWithBuildWrappers
via Jenkins JIRA by manav brar, 1 year ago
java.lang.IllegalArgumentException: artifactoryServer cannot be null
via Jenkins JIRA by manav brar, 1 year ago
java.lang.IllegalArgumentException: artifactoryServer cannot be null
via Jenkins JIRA by Marcin Cimaszewski, 1 year ago
java.lang.IllegalStateException: Input for resolve repositories cannot be empty.
via Jenkins JIRA by Marcin Cimaszewski, 1 year ago
java.lang.IllegalStateException: Input for resolve repositories cannot be empty.
java.lang.RuntimeException: 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)
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.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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.