java.lang.NullPointerException

Jenkins JIRA | Christian Apel | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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 JIRA | 4 years ago | Christian Apel
    java.lang.NullPointerException
  2. 0

    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 JIRA | 4 years ago | Christian Apel
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.cloudbees.hudson.plugins.folder.Folder.getItem()
    2. com.cloudbees.hudson
      Folder.getItem
      1. com.cloudbees.hudson.plugins.folder.Folder.getItem(Folder.java:465)
      2. com.cloudbees.hudson.plugins.folder.Folder.getItem(Folder.java:90)
      2 frames
    3. Hudson
      AbstractProject.onLoad
      1. hudson.model.AbstractProject.onLoad(AbstractProject.java:291)
      1 frame
    4. Hudson Maven Embedder
      MavenModuleSet.onLoad
      1. hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:746)
      1 frame
    5. Hudson
      ItemGroupMixIn.loadChildren
      1. hudson.model.Items.load(Items.java:221)
      2. hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
      2 frames
    6. com.cloudbees.hudson
      Folder.onLoad
      1. com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:189)
      1 frame
    7. Hudson
      Items.load
      1. hudson.model.Items.load(Items.java:221)
      1 frame
    8. jenkins.model
      Jenkins$17.run
      1. jenkins.model.Jenkins$17.run(Jenkins.java:2554)
      1 frame
    9. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      2 frames
    10. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:888)
      1 frame
    11. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames