java.lang.ClassCastException: eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterValue cannot be cast to org.jvnet.hudson.plugins.repositoryconnector.VersionParameterValue

Jenkins JIRA | Raphaël UNIQUE | 2 years ago
  1. 0

    after upgrading to 1.0 (Artifact Resolver plugin), the build is failing: [EnvInject] - Loading node environment variables. Building on master in workspace /appli/jenkins/jobs/COMMON-JAVA-ServletImpression_deploy_forms_app_dev_03-DEV/workspace [workspace] $ /bin/sh -xe /tmp/hudson8255542072747478763.sh + rm -f 'target/*' + grep SERVLET + env SERVLET_VERSION=1.4-SNAPSHOT SERVLET_ARTIFACT_URL=http://nexus.xxxx/nexus/content/groups/public/com/stef/soa/contratheque-soa/1.4-SNAPSHOT/contratheque-soa-1.4-SNAPSHOT.war SERVLET_ARTIFACT_ID=contratheque-soa SERVLET_GROUP_ID=com.stef.soa SERVLET_PACKAGING=war INFO: define repo: [Repository id=nexus-xxx, type=default, url=http://nexus.xxxx/nexus/content/groups/public/, isRepositoryManager=true] INFO: set authentication for jenkins failed to expand tokens for [Artifact ${SERVLET_GROUP_ID}:${SERVLET_ARTIFACT_ID}:${SERVLET_PACKAGING}::${SERVLET_VERSION}] java.lang.ClassCastException: eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterValue cannot be cast to org.jvnet.hudson.plugins.repositoryconnector.VersionParameterValue at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.checkVersionOverride(ArtifactResolver.java:183) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:127) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535) at hudson.model.Run.execute(Run.java:1732) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) Build step 'Artifact Resolver' marked build as failure Archiving artifacts Finished: FAILURE

    Jenkins JIRA | 2 years ago | Raphaël UNIQUE
    java.lang.ClassCastException: eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterValue cannot be cast to org.jvnet.hudson.plugins.repositoryconnector.VersionParameterValue
  2. 0

    after upgrading to 1.0 (Artifact Resolver plugin), the build is failing: [EnvInject] - Loading node environment variables. Building on master in workspace /appli/jenkins/jobs/COMMON-JAVA-ServletImpression_deploy_forms_app_dev_03-DEV/workspace [workspace] $ /bin/sh -xe /tmp/hudson8255542072747478763.sh + rm -f 'target/*' + grep SERVLET + env SERVLET_VERSION=1.4-SNAPSHOT SERVLET_ARTIFACT_URL=http://nexus.xxxx/nexus/content/groups/public/com/stef/soa/contratheque-soa/1.4-SNAPSHOT/contratheque-soa-1.4-SNAPSHOT.war SERVLET_ARTIFACT_ID=contratheque-soa SERVLET_GROUP_ID=com.stef.soa SERVLET_PACKAGING=war INFO: define repo: [Repository id=nexus-xxx, type=default, url=http://nexus.xxxx/nexus/content/groups/public/, isRepositoryManager=true] INFO: set authentication for jenkins failed to expand tokens for [Artifact ${SERVLET_GROUP_ID}:${SERVLET_ARTIFACT_ID}:${SERVLET_PACKAGING}::${SERVLET_VERSION}] java.lang.ClassCastException: eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterValue cannot be cast to org.jvnet.hudson.plugins.repositoryconnector.VersionParameterValue at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.checkVersionOverride(ArtifactResolver.java:183) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:127) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535) at hudson.model.Run.execute(Run.java:1732) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) Build step 'Artifact Resolver' marked build as failure Archiving artifacts Finished: FAILURE

    Jenkins JIRA | 2 years ago | Raphaël UNIQUE
    java.lang.ClassCastException: eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterValue cannot be cast to org.jvnet.hudson.plugins.repositoryconnector.VersionParameterValue
  3. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scala 2.11.5 and Squeryl?

    Google Groups | 2 years ago | Clint Gilbert
    java.lang.ClassCastException: scala.None$ cannot be cast to
  6. 0

    adam2vcf

    Google Groups | 8 months ago | someya sayeh
    java.lang.ClassCastException: org.bdgenomics.formats.avro.Fragment cannot be cast to

    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

      eu.markov.jenkins.plugin.mvnmeta.MavenMetadataParameterValue cannot be cast to org.jvnet.hudson.plugins.repositoryconnector.VersionParameterValue

      at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.checkVersionOverride()
    2. org.jvnet.hudson
      ArtifactResolver.perform
      1. org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.checkVersionOverride(ArtifactResolver.java:183)
      2. org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:127)
      3. org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:101)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
      3. hudson.model.Build$BuildExecution.build(Build.java:199)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535)
      6. hudson.model.Run.execute(Run.java:1732)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:234)
      9 frames