java.lang.ClassCastException

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.

    • java.lang.ClassCastException: hudson.model.FreeStyleBuild cannot be cast to hudson.maven.AbstractMavenBuild at org.jenkinsci.plugins.SemanticVersioning.parsing.PomParser.extractAppVersion(PomParser.java:67) at org.jenkinsci.plugins.SemanticVersioning.SemanticVersioningProcesser.getAppVersion(SemanticVersioningProcesser.java:89) at org.jenkinsci.plugins.SemanticVersioning.SemanticVersioningProcesser.determineSemanticVersion(SemanticVersioningProcesser.java:57) at org.jenkinsci.plugins.SemanticVersioning.SemanticVersioningBuilder.perform(SemanticVersioningBuilder.java:106) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381)
    No Bugmate found.