Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12124

random NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction - Not all jobs loaded

    XMLWordPrintable

Details

    Description

      It sometimes happens, that upon fresh start of tomcat, not all Jobs/Projects are loaded.
      Once logging in and clicking on "reload configuration from disk" this works w/o any error and all the missing jobs are there.
      It seems to be random... and on another restart some other jobs are missing...
      Any clue?

      INFO: Started all plugins
      Dec 16, 2011 9:14:36 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Augmented all extensions
      Dec 16, 2011 9:14:59 AM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading job XXXXXX
      java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      at hudson.plugins.checkstyle.CheckStylePublisher.getProjectAction(CheckStylePublisher.java:128)
      at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
      at hudson.model.Project.createTransientActions(Project.java:208)
      at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:602)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:272)
      at hudson.model.Project.onLoad(Project.java:88)
      at hudson.model.Items.load(Items.java:115)
      at jenkins.model.Jenkins$14.run(Jenkins.java:2364)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      at jenkins.model.Jenkins$5.runTask(Jenkins.java:804)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      ... 27 more
      Dec 16, 2011 9:15:19 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Loaded all jobs
      Dec 16, 2011 9:15:19 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Completed initialization

      Attachments

        Issue Links

          Activity

            drulli Ulli Hafner added a comment -

            Hmm, no idea what the problem might be. Could it be that you installed a new version of analysis-core when that happens?

            drulli Ulli Hafner added a comment - Hmm, no idea what the problem might be. Could it be that you installed a new version of analysis-core when that happens?
            myron Myron Boyle added a comment -

            well, no. Just a stop/start of tomcat (w/o any changes to jenkins)
            might be a problem in jenkins itself...?
            If no one other has this "problem" we can close this. i can live with sometime reloading...

            myron Myron Boyle added a comment - well, no. Just a stop/start of tomcat (w/o any changes to jenkins) might be a problem in jenkins itself...? If no one other has this "problem" we can close this. i can live with sometime reloading...
            nzhuk Nikita Zhuk added a comment - - edited

            I noticed the exact same problem here. Jenkins 1.447, latest analysis plugins (Static Analysis Utilities 1.37), Mac OS X 10.7.2. Reloading Jenkins configuration from disk seemed to worked around this problem.

            nzhuk Nikita Zhuk added a comment - - edited I noticed the exact same problem here. Jenkins 1.447, latest analysis plugins (Static Analysis Utilities 1.37), Mac OS X 10.7.2. Reloading Jenkins configuration from disk seemed to worked around this problem.
            drulli Ulli Hafner added a comment -

            I changed the component to core since this seem to be a problem at the classloader of Jenkins.

            drulli Ulli Hafner added a comment - I changed the component to core since this seem to be a problem at the classloader of Jenkins.

            I get the same issue on a fresh restart of Jetty. In addition to the java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction I also get a NoClassDefFoundError on TaskProjectAction (see below)

            We are running 1.451 and have just upgraded from Hudson (I'm using the same jobs as setup on our old Hudson system, but running against the jenkins.war). Reloading configuration from disk does NOT resolve the problem - I get the error each time on the same 2 jobs.

            java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction
            at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:163)
            at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            at hudson.model.Project.createTransientActions(Project.java:208)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:602)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:272)
            at hudson.model.Project.onLoad(Project.java:88)
            at hudson.model.Items.load(Items.java:115)
            at jenkins.model.Jenkins$14.run(Jenkins.java:2372)
            at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            at jenkins.model.Jenkins$5.runTask(Jenkins.java:812)
            at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)

            richardm Richard Murray added a comment - I get the same issue on a fresh restart of Jetty. In addition to the java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction I also get a NoClassDefFoundError on TaskProjectAction (see below) We are running 1.451 and have just upgraded from Hudson (I'm using the same jobs as setup on our old Hudson system, but running against the jenkins.war). Reloading configuration from disk does NOT resolve the problem - I get the error each time on the same 2 jobs. java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:163) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:602) at hudson.model.AbstractProject.onLoad(AbstractProject.java:272) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$14.run(Jenkins.java:2372) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

            We got the same stack trace here.

            • Reloading configuration from disk has NOT resolved the problem - I get the error each time on the same job.
            • Update (downwards) from Jenkins ver. 1.450 to Jenkins ver. 1.437 (with restart) HAS resolved the issue.
            andreas_schoen Andreas Schoen added a comment - We got the same stack trace here. Reloading configuration from disk has NOT resolved the problem - I get the error each time on the same job. Update (downwards) from Jenkins ver. 1.450 to Jenkins ver. 1.437 (with restart) HAS resolved the issue.
            nzhuk Nikita Zhuk added a comment -

            Problem still persists in 1.451.

            nzhuk Nikita Zhuk added a comment - Problem still persists in 1.451.
            jacekw jacekw added a comment -

            And in version 1.454, upgraded from Hudson. It's blocker for us - every night Jenkins virtual machine is stopped for backup, after it's started, this issue happens, preventing night builds.

            jacekw jacekw added a comment - And in version 1.454, upgraded from Hudson. It's blocker for us - every night Jenkins virtual machine is stopped for backup, after it's started, this issue happens, preventing night builds.
            myron Myron Boyle added a comment - - edited

            what exception are you now observing?
            For me, with actual Jenkins 1.455 (as WAR) the "java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction" is gone (thanks Ulli).

            Unfortunately, i'm now also seeing the "java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction" - should this be a separate Bug?

            Edit:
            After several restarts, i now only have 10 jobs activated (from 70)
            now i get more and more

            java.lang.NoClassDefFoundError: hudson/plugins/warnings/WarningsProjectAction
            at hudson.plugins.warnings.WarningsPublisher.getProjectAction(WarningsPublisher.java:229)
            at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:355)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:603)
            at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:342)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:273)
            at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:617)
            at hudson.model.Items.load(Items.java:115)
            at jenkins.model.Jenkins$15.run(Jenkins.java:2421)
            at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            at jenkins.model.Jenkins$6.runTask(Jenkins.java:840)
            at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:662)
            Mar 19, 2012 3:01:20 PM jenkins.InitReactorRunner$1 onTaskFailed

            how can this be THAT random?

            Edit2:
            seems do have disappeared magically when upgrading to latest MavenCorePlugin + and latest FindBugs plugin...?!

            myron Myron Boyle added a comment - - edited what exception are you now observing? For me, with actual Jenkins 1.455 (as WAR) the "java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction" is gone (thanks Ulli). Unfortunately, i'm now also seeing the "java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction" - should this be a separate Bug? Edit: After several restarts, i now only have 10 jobs activated (from 70) now i get more and more java.lang.NoClassDefFoundError: hudson/plugins/warnings/WarningsProjectAction at hudson.plugins.warnings.WarningsPublisher.getProjectAction(WarningsPublisher.java:229) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:355) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:603) at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:342) at hudson.model.AbstractProject.onLoad(AbstractProject.java:273) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:617) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2421) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$6.runTask(Jenkins.java:840) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Mar 19, 2012 3:01:20 PM jenkins.InitReactorRunner$1 onTaskFailed how can this be THAT random? Edit2: seems do have disappeared magically when upgrading to latest MavenCorePlugin + and latest FindBugs plugin...?!
            jacekw jacekw added a comment -

            Same effect after upgrade to 1.456:

            2012-03-27 21:15:18 jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed Loading job XXXXXXXXXXXXX
            java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
            at hudson.plugins.warnings.WarningsPublisher.getProjectAction(WarningsPublisher.java:222)
            at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            at hudson.model.Project.createTransientActions(Project.java:208)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:273)
            at hudson.model.Project.onLoad(Project.java:88)
            at hudson.model.Items.load(Items.java:115)
            at jenkins.model.Jenkins$15.run(Jenkins.java:2421)
            at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            at jenkins.model.Jenkins$6.runTask(Jenkins.java:840)
            at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
            ... 27 more

            jacekw jacekw added a comment - Same effect after upgrade to 1.456: 2012-03-27 21:15:18 jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job XXXXXXXXXXXXX java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:303) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) at hudson.plugins.warnings.WarningsPublisher.getProjectAction(WarningsPublisher.java:222) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618) at hudson.model.AbstractProject.onLoad(AbstractProject.java:273) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2421) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$6.runTask(Jenkins.java:840) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:303) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) ... 27 more
            sam42fr Samuel Gaiffe added a comment - - edited

            Hi,

            exactly same problem. Updating from Hudson to Jenkins war 1.457. I get those 2 error messages randomly at Tomcat startup. After a restart it can be ok .... or not !

            I only imported jobs from old hudson so could it be a configuration parameter in the jobs config.xml ?

            Mar 28, 2012 12:26:11 PM jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed Loading job XXXXX
            java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
            at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
            at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:196)
            at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            at hudson.model.Project.createTransientActions(Project.java:208)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:273)
            at hudson.model.Project.onLoad(Project.java:88)
            at hudson.model.Items.load(Items.java:115)
            at jenkins.model.Jenkins$15.run(Jenkins.java:2437)
            at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            at jenkins.model.Jenkins$6.runTask(Jenkins.java:838)
            at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:662)
            Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

            And

            Mar 28, 2012 12:26:11 PM jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed Loading job ZZZZZZ
            java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction
            at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:196)
            at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            at hudson.model.Project.createTransientActions(Project.java:208)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:273)
            at hudson.model.Project.onLoad(Project.java:88)
            at hudson.model.Items.load(Items.java:115)
            at jenkins.model.Jenkins$15.run(Jenkins.java:2437)
            at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            at jenkins.model.Jenkins$6.runTask(Jenkins.java:838)
            at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:662)

            sam42fr Samuel Gaiffe added a comment - - edited Hi, exactly same problem. Updating from Hudson to Jenkins war 1.457. I get those 2 error messages randomly at Tomcat startup. After a restart it can be ok .... or not ! I only imported jobs from old hudson so could it be a configuration parameter in the jobs config.xml ? Mar 28, 2012 12:26:11 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job XXXXX java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:196) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618) at hudson.model.AbstractProject.onLoad(AbstractProject.java:273) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$6.runTask(Jenkins.java:838) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) And Mar 28, 2012 12:26:11 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job ZZZZZZ java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:196) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618) at hudson.model.AbstractProject.onLoad(AbstractProject.java:273) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$6.runTask(Jenkins.java:838) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
            zlosch zlosch added a comment -

            We have the same issue here:

            SEVERE: Failed Loading job xxxxxxxxxxxxxxxx
            java.lang.NoClassDefFoundError: hudson/plugins/findbugs/FindBugsProjectAction
            	at hudson.plugins.findbugs.FindBugsPublisher.getProjectAction(FindBugsPublisher.java:147)
            	at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            	at hudson.model.Project.createTransientActions(Project.java:208)
            	at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618)
            	at hudson.model.AbstractProject.onLoad(AbstractProject.java:273)
            	at hudson.model.Project.onLoad(Project.java:88)
            	at hudson.model.Items.load(Items.java:115)
            	at jenkins.model.Jenkins$15.run(Jenkins.java:2421)
            	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            	at jenkins.model.Jenkins$6.runTask(Jenkins.java:840)
            	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            	at java.lang.Thread.run(Thread.java:662)
            Apr 5, 2012 8:49:39 AM jenkins.InitReactorRunner$1 onTaskFailed
            

            I increased the priority to 'blocker' because more and more jobs cannot be loaded. In this state Jenkins is unusable for us.

            zlosch zlosch added a comment - We have the same issue here: SEVERE: Failed Loading job xxxxxxxxxxxxxxxx java.lang.NoClassDefFoundError: hudson/plugins/findbugs/FindBugsProjectAction at hudson.plugins.findbugs.FindBugsPublisher.getProjectAction(FindBugsPublisher.java:147) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618) at hudson.model.AbstractProject.onLoad(AbstractProject.java:273) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2421) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$6.runTask(Jenkins.java:840) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Apr 5, 2012 8:49:39 AM jenkins.InitReactorRunner$1 onTaskFailed I increased the priority to 'blocker' because more and more jobs cannot be loaded. In this state Jenkins is unusable for us.
            zlosch zlosch added a comment -

            The jobs can be loaded again after upgrading the findbugs plugin from 4.36 to 4.37

            zlosch zlosch added a comment - The jobs can be loaded again after upgrading the findbugs plugin from 4.36 to 4.37
            drulli Ulli Hafner added a comment -

            I still can't reproduce this problem. I'm not sure if everybody has the same problem here, so when this happens again, then please write a comment with the following information:

            • how do you start Jenkins (java -jar) or which container do you use (tomcat, jetty, etc.)
            • which plug-in versions (the affected plug-in and the corresponding analysis-core plug-in)
            • exception message from log
            drulli Ulli Hafner added a comment - I still can't reproduce this problem. I'm not sure if everybody has the same problem here, so when this happens again, then please write a comment with the following information: how do you start Jenkins (java -jar) or which container do you use (tomcat, jetty, etc.) which plug-in versions (the affected plug-in and the corresponding analysis-core plug-in) exception message from log
            theduke Stefan Moj added a comment -

            We also get this problem. Not on every startup, but regularly.
            It seems that a rollback to Static Analysis Collector Plug-in Version 1.19 solves the issue.

            • Starting Jenkins (1.459) with java -jar on a windows host
            • Static Analysis Utilities 1.38, Static Analysis Collector Plug-in 1.24, Warnings Plug-in 3.28 or Checkstyle Plug-in 3.24
              stacktrace
              SCHWERWIEGEND: Failed Loading job XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
              java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction
                 at java.lang.ClassLoader.defineClass1(Native Method)
                 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
                 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
                 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
                 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
                 at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
                 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                 at hudson.plugins.warnings.WarningsPublisher.getProjectAction(WarningsPublisher.java:229)
                 at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
                 at hudson.model.Project.createTransientActions(Project.java:208)
                 at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618)
                 at hudson.model.AbstractProject.onLoad(AbstractProject.java:273)
                 at hudson.model.Project.onLoad(Project.java:88)
                 at hudson.model.Items.load(Items.java:115)
                 at jenkins.model.Jenkins$15.run(Jenkins.java:2437)
                 at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
                 at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
                 at jenkins.model.Jenkins$6.runTask(Jenkins.java:838)
                 at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
                 at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                 at java.lang.Thread.run(Thread.java:662)
              Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction
                 at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                 ... 27 more
            theduke Stefan Moj added a comment - We also get this problem. Not on every startup, but regularly. It seems that a rollback to Static Analysis Collector Plug-in Version 1.19 solves the issue. Starting Jenkins (1.459) with java -jar on a windows host Static Analysis Utilities 1.38, Static Analysis Collector Plug-in 1.24, Warnings Plug-in 3.28 or Checkstyle Plug-in 3.24 stacktrace SCHWERWIEGEND: Failed Loading job XXXXXXXXXXXXXXXXXXXXXXXXXXXXX java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction at java.lang. ClassLoader .defineClass1(Native Method) at java.lang. ClassLoader .defineClassCond( ClassLoader .java:631) at java.lang. ClassLoader .defineClass( ClassLoader .java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang. ClassLoader .loadClass( ClassLoader .java:306) at java.lang. ClassLoader .loadClass( ClassLoader .java:247) at hudson.plugins.warnings.WarningsPublisher.getProjectAction(WarningsPublisher.java:229) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618) at hudson.model.AbstractProject.onLoad(AbstractProject.java:273) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$6.runTask(Jenkins.java:838) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang. Thread .run( Thread .java:662) Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang. ClassLoader .loadClass( ClassLoader .java:306) at java.lang. ClassLoader .loadClass( ClassLoader .java:247) ... 27 more
            jacekw jacekw added a comment - - edited

            Jenkins 1.458

            Environment:
            -CentOS 5.4 64-bit
            -apache tomcat 6.0.20
            -java.version 1.6.0_17-b04
            -maven-plugin 1.458
            -findbugs 4.37
            -analysis-core 1.38
            -tasks 4.27
            -warnings 3.28

            2012-04-12 21:23:40 jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed Loading job XXXXXXXXXXXXXXX
            java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction
            at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:196)
            at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            at hudson.model.Project.createTransientActions(Project.java:208)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:273)
            at hudson.model.Project.onLoad(Project.java:88)
            at hudson.model.Items.load(Items.java:115)
            at jenkins.model.Jenkins$15.run(Jenkins.java:2437)
            at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            at jenkins.model.Jenkins$6.runTask(Jenkins.java:838)
            at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
            2012-04-12 21:23:40 org.jvnet.hudson.plugins.DownStreamProjectActionFactory createFor

            jacekw jacekw added a comment - - edited Jenkins 1.458 Environment: -CentOS 5.4 64-bit -apache tomcat 6.0.20 -java.version 1.6.0_17-b04 -maven-plugin 1.458 -findbugs 4.37 -analysis-core 1.38 -tasks 4.27 -warnings 3.28 2012-04-12 21:23:40 jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job XXXXXXXXXXXXXXX java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction at hudson.plugins.tasks.TasksPublisher.getProjectAction(TasksPublisher.java:196) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:618) at hudson.model.AbstractProject.onLoad(AbstractProject.java:273) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$6.runTask(Jenkins.java:838) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 2012-04-12 21:23:40 org.jvnet.hudson.plugins.DownStreamProjectActionFactory createFor
            ebann ebann added a comment - - edited

            Same kind of issue here.
            I can't open some dashboardviews, Firefox says "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression."

            All plugins up2date
            Jenkins ver. 1.464

            Seems to work after downgrading to 1.424

            WARNING: Untrapped Error in Servlet
            javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file: ### hudson_home/plugins/analysis-collector/WEB-INF/classes/hudson/plugins/analysis/collector/dashboard/WarningsTablePortlet/portlet.jelly:58:77: <j:forEach> hudson/plugins/tasks/TasksProjectAction
            at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112)
            at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
            at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
            [...]
            at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
            at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
            at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
            at java.lang.Thread.run(Thread.java:619)
            Caused by: org.apache.commons.jelly.JellyTagException: file: ### hudson_home/plugins/analysis-collector/WEB-INF/classes/hudson/plugins/analysis/collector/dashboard/WarningsTablePortlet/portlet.jelly:58:77: <j:forEach> hudson/plugins/tasks/TasksProjectAction
            at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:735)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:290)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            [...]
            at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
            at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:107)
            ... 66 more
            Caused by: java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction
            at hudson.plugins.analysis.collector.dashboard.WarningsTablePortlet.getTasks(WarningsTablePortlet.java:255)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
            at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
            at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
            at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
            at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
            at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
            at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
            at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
            ... 140 more

            ebann ebann added a comment - - edited Same kind of issue here. I can't open some dashboardviews, Firefox says "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression." All plugins up2date Jenkins ver. 1.464 Seems to work after downgrading to 1.424 WARNING: Untrapped Error in Servlet javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file: ### hudson_home/plugins/analysis-collector/WEB-INF/classes/hudson/plugins/analysis/collector/dashboard/WarningsTablePortlet/portlet.jelly:58:77: <j:forEach> hudson/plugins/tasks/TasksProjectAction at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563) [...] at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.commons.jelly.JellyTagException: file: ### hudson_home/plugins/analysis-collector/WEB-INF/classes/hudson/plugins/analysis/collector/dashboard/WarningsTablePortlet/portlet.jelly:58:77: <j:forEach> hudson/plugins/tasks/TasksProjectAction at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:735) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:290) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [...] at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:107) ... 66 more Caused by: java.lang.NoClassDefFoundError: hudson/plugins/tasks/TasksProjectAction at hudson.plugins.analysis.collector.dashboard.WarningsTablePortlet.getTasks(WarningsTablePortlet.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) ... 140 more
            drulli Ulli Hafner added a comment -

            I finally got this error on my local instance, too (sometimes). The interesting thing is that some jobs find the corresponding class.

            INFO: Started all plugins
            26.09.2012 10:25:31 jenkins.InitReactorRunner$1 onAttained
            INFO: Augmented all extensions
            26.09.2012 10:25:36 jenkins.InitReactorRunner$1 onTaskFailed
            SCHWERWIEGEND: Failed Loading job Maven
            java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
            	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
            	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
            	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
            	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
            	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
            	at hudson.plugins.tasks.TasksMavenResultAction.getProjectAction(TasksMavenResultAction.java:85)
            	at hudson.maven.MavenModuleSet.addTransientActionsFromBuild(MavenModuleSet.java:389)
            	at hudson.maven.MavenModuleSet.addTransientActionsFromBuild(MavenModuleSet.java:115)
            	at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184)
            	at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:365)
            	at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:658)
            	at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:361)
            	at hudson.model.AbstractProject.onLoad(AbstractProject.java:292)
            	at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:667)
            	at hudson.model.Items.load(Items.java:221)
            	at jenkins.model.Jenkins$17.run(Jenkins.java:2491)
            	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            	at jenkins.model.Jenkins$7.runTask(Jenkins.java:875)
            	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            	at java.lang.Thread.run(Thread.java:680)
            Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction
            	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
            	... 30 more
            26.09.2012 10:25:38 jenkins.InitReactorRunner$1 onAttained
            INFO: Loaded all jobs
            26.09.2012 10:25:38 org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
            
            drulli Ulli Hafner added a comment - I finally got this error on my local instance, too (sometimes). The interesting thing is that some jobs find the corresponding class. INFO: Started all plugins 26.09.2012 10:25:31 jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions 26.09.2012 10:25:36 jenkins.InitReactorRunner$1 onTaskFailed SCHWERWIEGEND: Failed Loading job Maven java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at hudson.plugins.tasks.TasksMavenResultAction.getProjectAction(TasksMavenResultAction.java:85) at hudson.maven.MavenModuleSet.addTransientActionsFromBuild(MavenModuleSet.java:389) at hudson.maven.MavenModuleSet.addTransientActionsFromBuild(MavenModuleSet.java:115) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184) at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:365) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:658) at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:361) at hudson.model.AbstractProject.onLoad(AbstractProject.java:292) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:667) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2491) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:875) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 30 more 26.09.2012 10:25:38 jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs 26.09.2012 10:25:38 org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
            eagad Chris Eagan added a comment -

            This happens for me now with the FindBugs 4.45 Plug-in and Jenkins 1.496. I downgraded the FindBugs Plug-in to 4.42 and everything works again.

            eagad Chris Eagan added a comment - This happens for me now with the FindBugs 4.45 Plug-in and Jenkins 1.496. I downgraded the FindBugs Plug-in to 4.42 and everything works again.

            I had the same issue with Hudson 1.451 and Warnings plugin 3.27
            Upgrading the plugin to 4.19 helped to resolve the problem

            schristin Slava Christin added a comment - I had the same issue with Hudson 1.451 and Warnings plugin 3.27 Upgrading the plugin to 4.19 helped to resolve the problem
            japgolly David Barri added a comment -

            Upgrading Analysis Collector Plugin from 1.34 to 1.35 caused this problem for me, on both 1.502 and 1.506 versions of Jenkins.
            Downgrading back to 1.34 got my builds visible again.

            japgolly David Barri added a comment - Upgrading Analysis Collector Plugin from 1.34 to 1.35 caused this problem for me, on both 1.502 and 1.506 versions of Jenkins. Downgrading back to 1.34 got my builds visible again.
            japgolly David Barri added a comment -

            Ignore my previous comment. Seems to just be luck of the draw when Jenkins is restarted. Workaround: Just keep restarting until you get lucky.

            japgolly David Barri added a comment - Ignore my previous comment. Seems to just be luck of the draw when Jenkins is restarted. Workaround: Just keep restarting until you get lucky.
            mhambidge Mike Hambidge added a comment -

            I have to say that this is pretty annoying from a stability perspective. I really don't want to have to worry about checking to ensure all the Jobs got loaded correctly every time Jenkins restarts. Our IT department pushes OS updates occasionally which require restarts, so I'm not always cognizant of when I even need to go check. I had a Job disappear for 2 weeks a few months ago I mention this because when you Google around many people are experiencing this problem, so the current "Minor" priority seems a bit understated to me.

            Anyhow, on to my theories: I believe this particular NoClassDefFoundError happens with most (all) of the plugins that rely on the analysis-core plugin. Additionally, it is timing dependent, which is leading many people to assume "It was fixed by upgrading to Version X of plugin Y", when its more likely they they just got lucky after restarting Jenkins.

            I'm wondering if this boils down to the class loader issue common among J2EE servers (e.g. environments that include lots of hierarchical class loaders): http://javaeesupportpatterns.blogspot.com/2012/08/javalangnoclassdeffounderror-parent.html.

            mhambidge Mike Hambidge added a comment - I have to say that this is pretty annoying from a stability perspective. I really don't want to have to worry about checking to ensure all the Jobs got loaded correctly every time Jenkins restarts. Our IT department pushes OS updates occasionally which require restarts, so I'm not always cognizant of when I even need to go check. I had a Job disappear for 2 weeks a few months ago I mention this because when you Google around many people are experiencing this problem, so the current "Minor" priority seems a bit understated to me. Anyhow, on to my theories: I believe this particular NoClassDefFoundError happens with most (all) of the plugins that rely on the analysis-core plugin. Additionally, it is timing dependent, which is leading many people to assume "It was fixed by upgrading to Version X of plugin Y", when its more likely they they just got lucky after restarting Jenkins. I'm wondering if this boils down to the class loader issue common among J2EE servers (e.g. environments that include lots of hierarchical class loaders): http://javaeesupportpatterns.blogspot.com/2012/08/javalangnoclassdeffounderror-parent.html .
            drulli Ulli Hafner added a comment -

            This is definitely something Kohsuke needs to look at. Maybe this issue is a good pick for our Munich Hackathon, I labeled it accordingly...

            drulli Ulli Hafner added a comment - This is definitely something Kohsuke needs to look at. Maybe this issue is a good pick for our Munich Hackathon, I labeled it accordingly...

            One thing we need to look at is if the plugin in question (analysis-core in most cases but in some other cases warning plugin) had successfully loaded.

            One plugin failing to start does not block Jenkins from starting up; it just leaves the failed plugin as-is and tries to load the rest, and when that happens, people would see errors like this.

            What we really need is the compete log output from Jenkins from the begenning, not just the NoClassDefFoundError portion. For example, the currently attached log file indicates that it didn't even try to load the anaylsis-core plugin, which suggests the plugin just wasn't present.

            If you are seeing this error, please attach the whole log so that we can get to the bottom of it. Thank you!

            kohsuke Kohsuke Kawaguchi added a comment - One thing we need to look at is if the plugin in question (analysis-core in most cases but in some other cases warning plugin) had successfully loaded. One plugin failing to start does not block Jenkins from starting up; it just leaves the failed plugin as-is and tries to load the rest, and when that happens, people would see errors like this. What we really need is the compete log output from Jenkins from the begenning, not just the NoClassDefFoundError portion. For example, the currently attached log file indicates that it didn't even try to load the anaylsis-core plugin, which suggests the plugin just wasn't present. If you are seeing this error, please attach the whole log so that we can get to the bottom of it. Thank you!
            mhambidge Mike Hambidge added a comment -

            I'll see about providing some logs for our server. Will the default log level suffice our should I up it to "All"?

            mhambidge Mike Hambidge added a comment - I'll see about providing some logs for our server. Will the default log level suffice our should I up it to "All"?
            mhambidge Mike Hambidge added a comment - - edited

            I'm uploading zipped logs from my server that appears to demonstrate the issue. I went ahead and enabled "ALL" level for the top level "hudson" log, so be warned that there is a lot of cruft in the log files.

            tomcat7-stderr.2013-07-10-with-errors.zip - This log includes the "NoClassDefFoundError" for the hudson/plugins/analysis/core/AbstractProjectAction. I usually only see the error after restarting the actual server. My theory being that this causes a lot of churn (disk, cpu, etc.) when Tomcat comes up at this time and thus introduces different timing, allowing for the problem to occur (of course, there's always alternate explanations). Note that the problem is just easier to reproduce after a system reboot, but its not exclusive to it.

            tomcat7-stderr.2013-07-10-no-errors.zip - I then restarted Tomcat and all the Jobs loaded without error.

            mhambidge Mike Hambidge added a comment - - edited I'm uploading zipped logs from my server that appears to demonstrate the issue. I went ahead and enabled "ALL" level for the top level "hudson" log, so be warned that there is a lot of cruft in the log files. tomcat7-stderr.2013-07-10-with-errors.zip - This log includes the "NoClassDefFoundError" for the hudson/plugins/analysis/core/AbstractProjectAction. I usually only see the error after restarting the actual server. My theory being that this causes a lot of churn (disk, cpu, etc.) when Tomcat comes up at this time and thus introduces different timing, allowing for the problem to occur (of course, there's always alternate explanations). Note that the problem is just easier to reproduce after a system reboot, but its not exclusive to it. tomcat7-stderr.2013-07-10-no-errors.zip - I then restarted Tomcat and all the Jobs loaded without error.

            I have the same problem that randomly not all Jobs/Projects are loaded.
            Environment: WinXP 64, jenkins 1.480.3, built-in Winstone, Static Code Analysis Plug-ins 1.49

            Aug 7, 2013 11:15:42 AM winstone.Logger logInternal
            INFO: Beginning extraction from war file
            Aug 7, 2013 11:15:43 AM winstone.Logger logInternal
            INFO: HTTP Listener started: port=11000
            Aug 7, 2013 11:15:43 AM winstone.Logger logInternal
            INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
            Aug 7, 2013 11:15:44 AM jenkins.InitReactorRunner$1 onAttained
            INFO: Started initialization
            Aug 7, 2013 11:15:50 AM jenkins.InitReactorRunner$1 onAttained
            INFO: Listed all plugins
            Aug 7, 2013 11:15:50 AM org.jvnet.hudson.plugins.backup.BackupPluginImpl loadConfiguration
            INFO: Loading configuration...
            Aug 7, 2013 11:15:56 AM hudson.plugins.createjobadvanced.CreateJobAdvancedPlugin start
            INFO: Create job advanced plugin started ...
            Aug 7, 2013 11:15:58 AM jenkins.InitReactorRunner$1 onAttained
            INFO: Prepared all plugins
            Aug 7, 2013 11:15:58 AM jenkins.InitReactorRunner$1 onAttained
            INFO: Started all plugins
            Aug 7, 2013 11:15:58 AM jenkins.InitReactorRunner$1 onAttained
            INFO: Augmented all extensions
            Aug 7, 2013 11:16:19 AM jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed Loading job ADDR_Release
            java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
            	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
            	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
            	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
            	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
            	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            	at hudson.plugins.findbugs.FindBugsPublisher.getProjectAction(FindBugsPublisher.java:151)
            	at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
            	at hudson.model.Project.createTransientActions(Project.java:213)
            	at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:658)
            	at hudson.model.AbstractProject.onLoad(AbstractProject.java:292)
            	at hudson.model.Project.onLoad(Project.java:88)
            	at hudson.model.Items.load(Items.java:209)
            	at jenkins.model.Jenkins$17.run(Jenkins.java:2516)
            	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
            	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
            	at jenkins.model.Jenkins$7.runTask(Jenkins.java:882)
            	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
            	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            	at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction
            	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            	... 27 more
            Aug 7, 2013 11:16:19 AM hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness queueChangeSet
            INFO: Queue of changeset     A hudson.model.UpdateCenter.xml
             aborted (scm manipulator not settled !)
            Aug 7, 2013 11:16:21 AM jenkins.InitReactorRunner$1 onAttained
            INFO: Loaded all jobs
            Aug 7, 2013 11:16:21 AM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
            INFO: Trying to register BouncyCastle as a JCE provider
            Aug 7, 2013 11:16:21 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
            INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@4e70ff: display name [Root WebApplicationContext]; startup date [Wed Aug 07 11:16:21 CEST 2013]; root of context hierarchy
            Aug 7, 2013 11:16:21 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
            INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@4e70ff]: org.springframework.beans.factory.support.DefaultListableBeanFactory@15d84e0
            Aug 7, 2013 11:16:22 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
            INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15d84e0: defining beans [authenticationManager]; root of factory hierarchy
            Aug 7, 2013 11:16:22 AM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
            INFO: Registration succeeded
            Aug 7, 2013 11:16:22 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
            INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@10d75a3: display name [Root WebApplicationContext]; startup date [Wed Aug 07 11:16:22 CEST 2013]; root of context hierarchy
            Aug 7, 2013 11:16:22 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
            INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@10d75a3]: org.springframework.beans.factory.support.DefaultListableBeanFactory@198f08c
            Aug 7, 2013 11:16:22 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
            INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@198f08c: defining beans [filter,legacy]; root of factory hierarchy
            Aug 7, 2013 11:16:22 AM org.jenkinsci.main.modules.sshd.SSHD start
            INFO: Started SSHD at port 1456
            Aug 7, 2013 11:16:22 AM jenkins.InitReactorRunner$1 onAttained
            INFO: Completed initialization
            Aug 7, 2013 11:16:22 AM hudson.TcpSlaveAgentListener <init>
            INFO: JNLP slave agent listener started on TCP port 1457
            ...
            
            johannes Johannes Schmieder added a comment - I have the same problem that randomly not all Jobs/Projects are loaded. Environment: WinXP 64, jenkins 1.480.3, built-in Winstone, Static Code Analysis Plug-ins 1.49 Aug 7, 2013 11:15:42 AM winstone.Logger logInternal INFO: Beginning extraction from war file Aug 7, 2013 11:15:43 AM winstone.Logger logInternal INFO: HTTP Listener started: port=11000 Aug 7, 2013 11:15:43 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled Aug 7, 2013 11:15:44 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Aug 7, 2013 11:15:50 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Aug 7, 2013 11:15:50 AM org.jvnet.hudson.plugins.backup.BackupPluginImpl loadConfiguration INFO: Loading configuration... Aug 7, 2013 11:15:56 AM hudson.plugins.createjobadvanced.CreateJobAdvancedPlugin start INFO: Create job advanced plugin started ... Aug 7, 2013 11:15:58 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Aug 7, 2013 11:15:58 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Aug 7, 2013 11:15:58 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Aug 7, 2013 11:16:19 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job ADDR_Release java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction at java.lang. ClassLoader .defineClass1(Native Method) at java.lang. ClassLoader .defineClassCond( ClassLoader .java:632) at java.lang. ClassLoader .defineClass( ClassLoader .java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang. ClassLoader .loadClass( ClassLoader .java:307) at java.lang. ClassLoader .loadClass( ClassLoader .java:248) at hudson.plugins.findbugs.FindBugsPublisher.getProjectAction(FindBugsPublisher.java:151) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) at hudson.model.Project.createTransientActions(Project.java:213) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:658) at hudson.model.AbstractProject.onLoad(AbstractProject.java:292) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:209) at jenkins.model.Jenkins$17.run(Jenkins.java:2516) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:882) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang. Thread .run( Thread .java:619) Caused by: java.lang.ClassNotFoundException: hudson.plugins.analysis.core.AbstractProjectAction at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang. ClassLoader .loadClass( ClassLoader .java:307) at java.lang. ClassLoader .loadClass( ClassLoader .java:248) ... 27 more Aug 7, 2013 11:16:19 AM hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness queueChangeSet INFO: Queue of changeset A hudson.model.UpdateCenter.xml aborted (scm manipulator not settled !) Aug 7, 2013 11:16:21 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Aug 7, 2013 11:16:21 AM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run INFO: Trying to register BouncyCastle as a JCE provider Aug 7, 2013 11:16:21 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@4e70ff: display name [Root WebApplicationContext]; startup date [Wed Aug 07 11:16:21 CEST 2013]; root of context hierarchy Aug 7, 2013 11:16:21 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@4e70ff]: org.springframework.beans.factory.support.DefaultListableBeanFactory@15d84e0 Aug 7, 2013 11:16:22 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15d84e0: defining beans [authenticationManager]; root of factory hierarchy Aug 7, 2013 11:16:22 AM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run INFO: Registration succeeded Aug 7, 2013 11:16:22 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@10d75a3: display name [Root WebApplicationContext]; startup date [Wed Aug 07 11:16:22 CEST 2013]; root of context hierarchy Aug 7, 2013 11:16:22 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@10d75a3]: org.springframework.beans.factory.support.DefaultListableBeanFactory@198f08c Aug 7, 2013 11:16:22 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@198f08c: defining beans [filter,legacy]; root of factory hierarchy Aug 7, 2013 11:16:22 AM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 1456 Aug 7, 2013 11:16:22 AM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Aug 7, 2013 11:16:22 AM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 1457 ...

            In my case, I'm getting java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction for the very first (in alphabetical order) job that uses the code analysis plugins. The problem is intermittent. The only workaround I found is a dummy empty job, with no access rights for the regular users so they don't see it, and with a name that guarantees it'll be on the top, i.e. the very first to load on startup.

            abarychev Andrei Barychev added a comment - In my case, I'm getting java.lang.NoClassDefFoundError: hudson/plugins/analysis/core/AbstractProjectAction for the very first (in alphabetical order) job that uses the code analysis plugins. The problem is intermittent. The only workaround I found is a dummy empty job, with no access rights for the regular users so they don't see it, and with a name that guarantees it'll be on the top, i.e. the very first to load on startup.

            Root cause is a sychronization issue in Jenkins classloading. Explanation here: https://github.com/gotwarlost/jenkins-classloader

            gotwarlost Krishnan Anantheswaran added a comment - Root cause is a sychronization issue in Jenkins classloading. Explanation here: https://github.com/gotwarlost/jenkins-classloader

            Thank you for looking into this issue with high priority. Hope to see a fix on LTS soon

            gotwarlost Krishnan Anantheswaran added a comment - Thank you for looking into this issue with high priority. Hope to see a fix on LTS soon

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/ClassicPluginStrategy.java
            core/src/main/java/hudson/PluginManager.java
            core/src/main/java/jenkins/ClassLoaderReflectionToolkit.java
            http://jenkins-ci.org/commit/jenkins/898f1f76a37e1c69cf38df718a5d3899544ebb44
            Log:
            [FIXED JENKINS-12124] Occasionally errors loading plugin classes since it is expected that findClass (and findLoadedClass) are called under synchronization.
            The problem was masked by a blind assumption that an InvocationTargetException was in fact wrapping a ClassNotFoundException.
            Many thanks to @gotwarlost for demonstrating how to reproduce the problem and diagnosing the cause.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/ClassicPluginStrategy.java core/src/main/java/hudson/PluginManager.java core/src/main/java/jenkins/ClassLoaderReflectionToolkit.java http://jenkins-ci.org/commit/jenkins/898f1f76a37e1c69cf38df718a5d3899544ebb44 Log: [FIXED JENKINS-12124] Occasionally errors loading plugin classes since it is expected that findClass (and findLoadedClass) are called under synchronization. The problem was masked by a blind assumption that an InvocationTargetException was in fact wrapping a ClassNotFoundException. Many thanks to @gotwarlost for demonstrating how to reproduce the problem and diagnosing the cause.
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3192
            [FIXED JENKINS-12124] Occasionally errors loading plugin classes since it is expected that findClass (and findLoadedClass) are called under synchronization. (Revision 898f1f76a37e1c69cf38df718a5d3899544ebb44)

            Result = SUCCESS
            Jesse Glick : 898f1f76a37e1c69cf38df718a5d3899544ebb44
            Files :

            • core/src/main/java/hudson/PluginManager.java
            • core/src/main/java/jenkins/ClassLoaderReflectionToolkit.java
            • changelog.html
            • core/src/main/java/hudson/ClassicPluginStrategy.java
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3192 [FIXED JENKINS-12124] Occasionally errors loading plugin classes since it is expected that findClass (and findLoadedClass) are called under synchronization. (Revision 898f1f76a37e1c69cf38df718a5d3899544ebb44) Result = SUCCESS Jesse Glick : 898f1f76a37e1c69cf38df718a5d3899544ebb44 Files : core/src/main/java/hudson/PluginManager.java core/src/main/java/jenkins/ClassLoaderReflectionToolkit.java changelog.html core/src/main/java/hudson/ClassicPluginStrategy.java

            Fixed in 1.554. No need to backport.

            olivergondza Oliver Gondža added a comment - Fixed in 1.554. No need to backport.

            People

              jglick Jesse Glick
              myron Myron Boyle
              Votes:
              21 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: