java.lang.ClassCastException: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM

Jenkins JIRA | jlpinardon | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When configuring a job to build from a specific baseline on a stream with no post job baselining, the build runs OK. When configuring a job to build from LATEST version of a branch, with post job baselining, the build runs OK, and never mind if the baseline is a full one or not. When configuring a job to build from a specific baseline on a stream along with a post job baselining operation, the build fails just when starting with the following message : Started by user hudson_admin Building on master FATAL: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM java.lang.ClassCastException: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM at hudson.plugins.clearcase.ucm.UcmMakeBaseline.prebuild(UcmMakeBaseline.java:216) at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:595) at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:590) at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:586) at hudson.model.Build$RunnerImpl.doRun(Build.java:114) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1224) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122)

    Jenkins JIRA | 7 years ago | jlpinardon
    java.lang.ClassCastException: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM
  2. 0

    When configuring a job to build from a specific baseline on a stream with no post job baselining, the build runs OK. When configuring a job to build from LATEST version of a branch, with post job baselining, the build runs OK, and never mind if the baseline is a full one or not. When configuring a job to build from a specific baseline on a stream along with a post job baselining operation, the build fails just when starting with the following message : Started by user hudson_admin Building on master FATAL: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM java.lang.ClassCastException: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM at hudson.plugins.clearcase.ucm.UcmMakeBaseline.prebuild(UcmMakeBaseline.java:216) at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:595) at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:590) at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:586) at hudson.model.Build$RunnerImpl.doRun(Build.java:114) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1224) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122)

    Jenkins JIRA | 7 years ago | jlpinardon
    java.lang.ClassCastException: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM

      at hudson.plugins.clearcase.ucm.UcmMakeBaseline.prebuild()
    2. hudson.plugins.clearcase
      UcmMakeBaseline.prebuild
      1. hudson.plugins.clearcase.ucm.UcmMakeBaseline.prebuild(UcmMakeBaseline.java:216)
      1 frame
    3. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:595)
      2. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:590)
      3. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:586)
      4. hudson.model.Build$RunnerImpl.doRun(Build.java:114)
      5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      6. hudson.model.Run.run(Run.java:1224)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:122)
      9 frames