java.lang.NullPointerException

Jenkins JIRA | Pei-Tang Huang | 2 years ago
  1. 0

    After upgrading jenkins from 1.573 to 1.575 and maven plugin from 2.5 to 2.6, some of my job failed to load as following: {code} java.lang.NullPointerException at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:971) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:740) at hudson.maven.MavenModule.updateTransientActions(MavenModule.java:485) at hudson.model.AbstractProject.save(AbstractProject.java:304) at hudson.plugins.disk_usage.DiskUsageProperty.setOwner(DiskUsageProperty.java:150) at hudson.model.Job.onLoad(Job.java:213) at hudson.model.AbstractProject.onLoad(AbstractProject.java:318) at hudson.maven.MavenModule.onLoad(MavenModule.java:283) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:790) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$18.run(Jenkins.java:2634) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code} However, I downgrade jenkins to 1.573, the problem remains. 1.575 + maven plugin 2.5 has the same problem.

    Jenkins JIRA | 2 years ago | Pei-Tang Huang
    java.lang.NullPointerException
  2. 0

    After upgrading jenkins from 1.573 to 1.575 and maven plugin from 2.5 to 2.6, some of my job failed to load as following: {code} java.lang.NullPointerException at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:971) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:740) at hudson.maven.MavenModule.updateTransientActions(MavenModule.java:485) at hudson.model.AbstractProject.save(AbstractProject.java:304) at hudson.plugins.disk_usage.DiskUsageProperty.setOwner(DiskUsageProperty.java:150) at hudson.model.Job.onLoad(Job.java:213) at hudson.model.AbstractProject.onLoad(AbstractProject.java:318) at hudson.maven.MavenModule.onLoad(MavenModule.java:283) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:790) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$18.run(Jenkins.java:2634) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code} However, I downgrade jenkins to 1.573, the problem remains. 1.575 + maven plugin 2.5 has the same problem.

    Jenkins JIRA | 2 years ago | Pei-Tang Huang
    java.lang.NullPointerException
  3. 0

    In latest release: We upgraded to version .24 from .23 of the disk usage plugin, and it caused our Maven Project jobs to no longer show up and were not accessible in Jenkins UI. Config.xml files still existed on the server From inspecting the logs we saw this stack {noformat} Aug 08, 2014 1:51:38 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job ourjobname java.lang.NullPointerException at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:971) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:740) at hudson.maven.MavenModule.updateTransientActions(MavenModule.java:485) at hudson.model.AbstractProject.save(AbstractProject.java:304) at hudson.plugins.disk_usage.DiskUsageProperty.setOwner(DiskUsageProperty.java:150) at hudson.model.Job.onLoad(Job.java:213) at hudson.model.AbstractProject.onLoad(AbstractProject.java:318) at hudson.maven.MavenModule.onLoad(MavenModule.java:283) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:790) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$18.run(Jenkins.java:2599) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat}

    Jenkins JIRA | 2 years ago | Lorelei McCollum
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In latest release: We upgraded to version .24 from .23 of the disk usage plugin, and it caused our Maven Project jobs to no longer show up and were not accessible in Jenkins UI. Config.xml files still existed on the server From inspecting the logs we saw this stack {noformat} Aug 08, 2014 1:51:38 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job ourjobname java.lang.NullPointerException at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:971) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:740) at hudson.maven.MavenModule.updateTransientActions(MavenModule.java:485) at hudson.model.AbstractProject.save(AbstractProject.java:304) at hudson.plugins.disk_usage.DiskUsageProperty.setOwner(DiskUsageProperty.java:150) at hudson.model.Job.onLoad(Job.java:213) at hudson.model.AbstractProject.onLoad(AbstractProject.java:318) at hudson.maven.MavenModule.onLoad(MavenModule.java:283) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:790) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$18.run(Jenkins.java:2599) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat}

    Jenkins JIRA | 2 years ago | Lorelei McCollum
    java.lang.NullPointerException
  6. 0

    NullPointer after upgrade to 1.577

    Google Groups | 2 years ago | Christopher Helck
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.model.AbstractProject.getLastBuild()
    2. Hudson
      AbstractProject.getLastBuild
      1. hudson.model.AbstractProject.getLastBuild(AbstractProject.java:971)
      1 frame
    3. Hudson Maven Embedder
      AbstractMavenProject.createTransientActions
      1. hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184)
      1 frame
    4. Hudson
      AbstractProject.updateTransientActions
      1. hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:740)
      1 frame
    5. Hudson Maven Embedder
      MavenModule.updateTransientActions
      1. hudson.maven.MavenModule.updateTransientActions(MavenModule.java:485)
      1 frame
    6. Hudson
      AbstractProject.save
      1. hudson.model.AbstractProject.save(AbstractProject.java:304)
      1 frame
    7. hudson.plugins.disk_usage
      DiskUsageProperty.setOwner
      1. hudson.plugins.disk_usage.DiskUsageProperty.setOwner(DiskUsageProperty.java:150)
      1 frame
    8. Hudson
      AbstractProject.onLoad
      1. hudson.model.Job.onLoad(Job.java:213)
      2. hudson.model.AbstractProject.onLoad(AbstractProject.java:318)
      2 frames
    9. Hudson Maven Embedder
      MavenModule.onLoad
      1. hudson.maven.MavenModule.onLoad(MavenModule.java:283)
      1 frame
    10. Hudson
      ItemGroupMixIn.loadChildren
      1. hudson.model.Items.load(Items.java:279)
      2. hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)
      2 frames
    11. Hudson Maven Embedder
      MavenModuleSet.onLoad
      1. hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:790)
      1 frame
    12. Hudson
      Items.load
      1. hudson.model.Items.load(Items.java:279)
      1 frame
    13. jenkins.model
      Jenkins$18.run
      1. jenkins.model.Jenkins$18.run(Jenkins.java:2634)
      1 frame
    14. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      2 frames
    15. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:885)
      1 frame
    16. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    17. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames