java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/Promotion

Jenkins JIRA | Seweryn Habdank-Wojewodzki | 3 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

    Jobs that are NOT using promotion feature got FATAL errors: 00:00:00.059 FATAL: hudson/plugins/promoted_builds/Promotion 00:00:00.060 java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/Promotion 00:00:00.060 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.createUpstreamCause(BuildTriggerConfig.java:435) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.schedule(BuildTriggerConfig.java:448) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.schedule(BlockableBuildTriggerConfig.java:72) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform2(BuildTriggerConfig.java:379) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform2(BlockableBuildTriggerConfig.java:57) 00:00:00.060 at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:85) 00:00:00.060 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:00:00.060 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) 00:00:00.060 at hudson.model.Build$BuildExecution.build(Build.java:199) 00:00:00.060 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 00:00:00.060 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) 00:00:00.060 at hudson.model.Run.execute(Run.java:1677) 00:00:00.060 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:00:00.060 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:00:00.060 at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 3 years ago | Seweryn Habdank-Wojewodzki
    java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/Promotion
  2. 0

    Jobs that are NOT using promotion feature got FATAL errors: 00:00:00.059 FATAL: hudson/plugins/promoted_builds/Promotion 00:00:00.060 java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/Promotion 00:00:00.060 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.createUpstreamCause(BuildTriggerConfig.java:435) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.schedule(BuildTriggerConfig.java:448) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.schedule(BlockableBuildTriggerConfig.java:72) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform2(BuildTriggerConfig.java:379) 00:00:00.060 at hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform2(BlockableBuildTriggerConfig.java:57) 00:00:00.060 at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:85) 00:00:00.060 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:00:00.060 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) 00:00:00.060 at hudson.model.Build$BuildExecution.build(Build.java:199) 00:00:00.060 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 00:00:00.060 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) 00:00:00.060 at hudson.model.Run.execute(Run.java:1677) 00:00:00.060 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:00:00.060 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:00:00.060 at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 3 years ago | Seweryn Habdank-Wojewodzki
    java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/Promotion

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      hudson/plugins/promoted_builds/Promotion

      at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.createUpstreamCause()
    2. Hudson Parameterized Trigger plugin
      TriggerBuilder.perform
      1. hudson.plugins.parameterizedtrigger.BuildTriggerConfig.createUpstreamCause(BuildTriggerConfig.java:435)
      2. hudson.plugins.parameterizedtrigger.BuildTriggerConfig.schedule(BuildTriggerConfig.java:448)
      3. hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.schedule(BlockableBuildTriggerConfig.java:72)
      4. hudson.plugins.parameterizedtrigger.BuildTriggerConfig.perform2(BuildTriggerConfig.java:379)
      5. hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig.perform2(BlockableBuildTriggerConfig.java:57)
      6. hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:85)
      6 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      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:566)
      6. hudson.model.Run.execute(Run.java:1677)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:230)
      9 frames