java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro

Jenkins JIRA | Zuhao Chen | 2 years ago
  1. 0

    After I upgrade to the latest Jenkins and all plugins to latest version. I see bunch of there exception in logs. SEVERE: Failed Loading job VXOA_Test_PyUnit_6.2 java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:756) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at hudson.plugins.emailext.EmailExtTemplateActionFactory.createFor(EmailExtTemplateActionFactory.java:35) at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:749) at hudson.model.Project.createTransientActions(Project.java:235) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:739) at hudson.model.AbstractProject.onLoad(AbstractProject.java:332) at hudson.model.Project.onLoad(Project.java:95) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$18.run(Jenkins.java:2655) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 25 more Feb 24, 2015 3:22:46 PM jenkins.InitReactorRunner$1 onTaskFailed

    Jenkins JIRA | 2 years ago | Zuhao Chen
    java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
  2. 0

    After I upgrade to the latest Jenkins and all plugins to latest version. I see bunch of there exception in logs. SEVERE: Failed Loading job VXOA_Test_PyUnit_6.2 java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:756) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at hudson.plugins.emailext.EmailExtTemplateActionFactory.createFor(EmailExtTemplateActionFactory.java:35) at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:749) at hudson.model.Project.createTransientActions(Project.java:235) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:739) at hudson.model.AbstractProject.onLoad(AbstractProject.java:332) at hudson.model.Project.onLoad(Project.java:95) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$18.run(Jenkins.java:2655) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 25 more Feb 24, 2015 3:22:46 PM jenkins.InitReactorRunner$1 onTaskFailed

    Jenkins JIRA | 2 years ago | Zuhao Chen
    java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
  3. 0

    Jenkins users - Borked my jenkins doing a plugin update

    nabble.com | 12 months ago
    java.lang.NoClassDefFoundError: hudson/matrix/MatrixAggregatable   at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.<init>(ExtendedEmailPublisherDescriptor.java:323) 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 41#92819371

    GitHub | 2 years ago | scaytrase
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMSourceOwner
  6. 0

    Matrix job, all children "succeed" and then fail when publishing junit report ... BUILD SUCCESSFUL Total time: 21 seconds + exit 0 Recording test results ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception java.lang.NoClassDefFoundError: jenkins/MasterToSlaveFileCallable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:756) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:90) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:120) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:137) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1770) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.lang.ClassNotFoundException: jenkins.MasterToSlaveFileCallable at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 23 more

    Jenkins JIRA | 2 years ago | Richard Walker
    java.lang.NoClassDefFoundError: jenkins/MasterToSlaveFileCallable

  1. davidvanlaatum 1 times, last 4 months ago
  2. poroszd 1 times, last 1 month ago
22 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

    org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
    3 frames
  3. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    2. java.lang.ClassLoader.defineClass1(Native Method)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    3 frames
  4. jenkins.util
    AntClassLoader.defineClassFromData
    1. jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138)
    1 frame
  5. Hudson
    ClassicPluginStrategy$AntClassLoader2.defineClassFromData
    1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:756)
    1 frame
  6. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309)
    2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
    3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
    4. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
    4 frames
  7. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    1 frame
  8. Hudson Email Extension Plugin
    EmailExtTemplateActionFactory.createFor
    1. hudson.plugins.emailext.EmailExtTemplateActionFactory.createFor(EmailExtTemplateActionFactory.java:35)
    1 frame
  9. Hudson
    Items.load
    1. hudson.model.AbstractProject.createTransientActions(AbstractProject.java:749)
    2. hudson.model.Project.createTransientActions(Project.java:235)
    3. hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:739)
    4. hudson.model.AbstractProject.onLoad(AbstractProject.java:332)
    5. hudson.model.Project.onLoad(Project.java:95)
    6. hudson.model.Items.load(Items.java:279)
    6 frames
  10. jenkins.model
    Jenkins$18.run
    1. jenkins.model.Jenkins$18.run(Jenkins.java:2655)
    1 frame
  11. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    2 frames
  12. jenkins.model
    Jenkins$7.runTask
    1. jenkins.model.Jenkins$7.runTask(Jenkins.java:885)
    1 frame
  13. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  14. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:679)
    3 frames