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

Jenkins JIRA | jlpinardon | 7 years ago
  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
  3. 0
    samebug tip
    When you have no build parameters, uncheck 'This build is parameterized'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Protege User - Protege app fails to launch from Eclipse using OSGi Framework launcher

    nabble.com | 1 year ago
    java.lang.ClassCastException: org.eclipse.ant.core.AntCorePlugin cannot be cast to org.osgi.framework.BundleActivator
  6. 0

    PowerMockito - DB testing

    Stack Overflow | 1 year ago | Tim Autin
    java.lang.ClassCastException: org.mockito.internal.matchers.LocalizedMatcher cannot be cast to org.mockito.ArgumentMatcher

    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

      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