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

NPE while loading Cloudbees folders at Jenkins startup

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Windows Server 2008 R2 64bit, Tomcat 7, Jenkins 1.505, latest versions of Cloudbees free plugins

      After we have updated Jenkins from version 1.505 to version 1.511, the following exception prevented the Cloudbees folders to load at startup.

      SEVERE: Failed Loading job modules-spice
      java.lang.NullPointerException
      at com.cloudbees.hudson.plugins.folder.Folder.getItem(Folder.java:465)
      at com.cloudbees.hudson.plugins.folder.Folder.getItem(Folder.java:90)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:291)
      at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:746)
      at hudson.model.Items.load(Items.java:221)
      at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
      at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:189)
      at hudson.model.Items.load(Items.java:221)
      at jenkins.model.Jenkins$17.run(Jenkins.java:2554)
      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:888)
      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)

      I couldn't find any issues in JIRA, but according to Vincent's comment http://jenkins.361315.n4.nabble.com/java-lang-NullPointerException-when-loading-folders-tp4661608p4661953.html, this should be a regression in Jenkins core.

      What could we do to update to the latest version? Right now it looks like the issue still exists in version 1.511 and the mentioned Cloudbees folders plugin 3.6 is not yet listed in the update list. Is it possible that this release is not available in the Cloudbees free plugins, but just in Jenkins Enterprise?

          [JENKINS-17627] NPE while loading Cloudbees folders at Jenkins startup

            jglick Jesse Glick
            christianapel Christian Apel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: