java.lang.NoClassDefFoundError: hudson/plugins/parameterizedtrigger/BuildTrigger

Jenkins JIRA | damian dixon | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Latest everything as of now... I'm using a join and parametized trigger. I get the following exception with stack trace: FATAL: hudson/plugins/parameterizedtrigger/BuildTrigger java.lang.NoClassDefFoundError: hudson/plugins/parameterizedtrigger/BuildTrigger at join.JoinTrigger.getBuildTriggerConfigs(JoinTrigger.java:182) at join.JoinTrigger.getParameterizedDownstreamProjects(JoinTrigger.java:169) at join.JoinTrigger.getAllDownstream(JoinTrigger.java:218) at join.JoinTrigger.perform(JoinTrigger.java:113) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1568) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.ClassNotFoundException: hudson.plugins.parameterizedtrigger.BuildTrigger at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 13 more

    Jenkins JIRA | 4 years ago | damian dixon
    java.lang.NoClassDefFoundError: hudson/plugins/parameterizedtrigger/BuildTrigger
  2. 0

    Latest everything as of now... I'm using a join and parametized trigger. I get the following exception with stack trace: FATAL: hudson/plugins/parameterizedtrigger/BuildTrigger java.lang.NoClassDefFoundError: hudson/plugins/parameterizedtrigger/BuildTrigger at join.JoinTrigger.getBuildTriggerConfigs(JoinTrigger.java:182) at join.JoinTrigger.getParameterizedDownstreamProjects(JoinTrigger.java:169) at join.JoinTrigger.getAllDownstream(JoinTrigger.java:218) at join.JoinTrigger.perform(JoinTrigger.java:113) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1568) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.lang.ClassNotFoundException: hudson.plugins.parameterizedtrigger.BuildTrigger at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 13 more

    Jenkins JIRA | 4 years ago | damian dixon
    java.lang.NoClassDefFoundError: hudson/plugins/parameterizedtrigger/BuildTrigger
  3. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  6. 0
    samebug tip
    This was caused by a failure to instantiate Kafka broker. Check your dependencies.

  1. andyglick 2 times, last 2 weeks ago
  2. rp 1 times, last 2 weeks ago
  3. Andreas Häber 3 times, last 2 weeks ago
  4. tvrmsmith 1 times, last 2 weeks ago
  5. iferca 1 times, last 3 weeks ago
68 more registered users
27 unregistered visitors
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.ClassNotFoundException

    hudson.plugins.parameterizedtrigger.BuildTrigger

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    5. java.lang.ClassLoader.loadClass(Unknown Source)
    5 frames
  3. join
    JoinTrigger.perform
    1. join.JoinTrigger.getBuildTriggerConfigs(JoinTrigger.java:182)
    2. join.JoinTrigger.getParameterizedDownstreamProjects(JoinTrigger.java:169)
    3. join.JoinTrigger.getAllDownstream(JoinTrigger.java:218)
    4. join.JoinTrigger.perform(JoinTrigger.java:113)
    4 frames
  4. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
    6. hudson.model.Run.execute(Run.java:1568)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:236)
    9 frames