java.lang.ClassCastException: hudson.matrix.MatrixProject cannot be cast to hudson.model.Project

Jenkins JIRA | Kirill Evstigneev | 7 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      hudson.matrix.MatrixProject cannot be cast to hudson.model.Project

      at hudson.plugins.templateproject.ProxyBuilder.getProject()
    2. hudson.plugins.templateproject
      ProxyBuilder.prebuild
      1. hudson.plugins.templateproject.ProxyBuilder.getProject(ProxyBuilder.java:38)
      2. hudson.plugins.templateproject.ProxyBuilder.prebuild(ProxyBuilder.java:98)
      2 frames
    3. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:596)
      2. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:591)
      3. hudson.model.Build$RunnerImpl.doRun(Build.java:114)
      4. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      5. hudson.model.Run.run(Run.java:1179)
      6. hudson.matrix.MatrixRun.run(MatrixRun.java:130)
      7. hudson.model.ResourceController.execute(ResourceController.java:88)
      8. hudson.model.Executor.run(Executor.java:122)
      8 frames