java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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?
    via by Christian Apel,
  • 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?
    via by Christian Apel,
    • 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)
    No Bugmate found.