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

Disk Usage plugin throws NullPointerException preventing Maven jobs from loading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • disk-usage-plugin
    • None
    • Ubuntu server Jenkins environment

      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

      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) 
      

            schristou Steven Christou
            lorelei Lorelei McCollum
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: