java.lang.NullPointerException

Jenkins JIRA | Verny Quartara Gutierrez | 2 years ago
  1. 0

    I ofted read the following stack trance in my Jenkins log. Despite this, the plugin seems to work properly, correctly displaying disk usage. Nov 13, 2014 3:10:02 PM hudson.model.listeners.ItemListener$1 run WARNING: failed to send event to listener of class hudson.plugins.disk_usage.DiskUsageItemListener java.lang.NullPointerException at hudson.plugins.disk_usage.DiskUsageUtil.loadData(DiskUsageUtil.java:84) at hudson.plugins.disk_usage.DiskUsageUtil.addProperty(DiskUsageUtil.java:64) at hudson.plugins.disk_usage.DiskUsageItemListener.onUpdated(DiskUsageItemListener.java:40) at hudson.model.listeners.ItemListener$4.apply(ItemListener.java:201) at hudson.model.listeners.ItemListener$4.apply(ItemListener.java:199) at hudson.model.listeners.ItemListener$1.run(ItemListener.java:166) at hudson.security.ACL.impersonate(ACL.java:144) at hudson.model.listeners.ItemListener.forAll(ItemListener.java:174) at hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:199) at hudson.model.AbstractProject.makeDisabled(AbstractProject.java:706) at hudson.model.AbstractProject.enable(AbstractProject.java:725) at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject._syncBranches(FreeStyleMultiBranchProject.java:1115) at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject.syncBranches(FreeStyleMultiBranchProject.java:1020) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:98) at hudson.triggers.Trigger.checkTriggers(Trigger.java:266) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 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:744)

    Jenkins JIRA | 2 years ago | Verny Quartara Gutierrez
    java.lang.NullPointerException
  2. 0

    I ofted read the following stack trance in my Jenkins log. Despite this, the plugin seems to work properly, correctly displaying disk usage. Nov 13, 2014 3:10:02 PM hudson.model.listeners.ItemListener$1 run WARNING: failed to send event to listener of class hudson.plugins.disk_usage.DiskUsageItemListener java.lang.NullPointerException at hudson.plugins.disk_usage.DiskUsageUtil.loadData(DiskUsageUtil.java:84) at hudson.plugins.disk_usage.DiskUsageUtil.addProperty(DiskUsageUtil.java:64) at hudson.plugins.disk_usage.DiskUsageItemListener.onUpdated(DiskUsageItemListener.java:40) at hudson.model.listeners.ItemListener$4.apply(ItemListener.java:201) at hudson.model.listeners.ItemListener$4.apply(ItemListener.java:199) at hudson.model.listeners.ItemListener$1.run(ItemListener.java:166) at hudson.security.ACL.impersonate(ACL.java:144) at hudson.model.listeners.ItemListener.forAll(ItemListener.java:174) at hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:199) at hudson.model.AbstractProject.makeDisabled(AbstractProject.java:706) at hudson.model.AbstractProject.enable(AbstractProject.java:725) at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject._syncBranches(FreeStyleMultiBranchProject.java:1115) at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject.syncBranches(FreeStyleMultiBranchProject.java:1020) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:98) at hudson.triggers.Trigger.checkTriggers(Trigger.java:266) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 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:744)

    Jenkins JIRA | 2 years ago | Verny Quartara Gutierrez
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Disk util exception

    GitHub | 2 years ago | lwhiteley
    javax.servlet.ServletException: 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.plugins.disk_usage.DiskUsageUtil.loadData()
    2. hudson.plugins.disk_usage
      DiskUsageItemListener.onUpdated
      1. hudson.plugins.disk_usage.DiskUsageUtil.loadData(DiskUsageUtil.java:84)
      2. hudson.plugins.disk_usage.DiskUsageUtil.addProperty(DiskUsageUtil.java:64)
      3. hudson.plugins.disk_usage.DiskUsageItemListener.onUpdated(DiskUsageItemListener.java:40)
      3 frames
    3. Hudson
      AbstractProject.enable
      1. hudson.model.listeners.ItemListener$4.apply(ItemListener.java:201)
      2. hudson.model.listeners.ItemListener$4.apply(ItemListener.java:199)
      3. hudson.model.listeners.ItemListener$1.run(ItemListener.java:166)
      4. hudson.security.ACL.impersonate(ACL.java:144)
      5. hudson.model.listeners.ItemListener.forAll(ItemListener.java:174)
      6. hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:199)
      7. hudson.model.AbstractProject.makeDisabled(AbstractProject.java:706)
      8. hudson.model.AbstractProject.enable(AbstractProject.java:725)
      8 frames
    4. com.github.mjdetullio
      SyncBranchesTrigger.run
      1. com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject._syncBranches(FreeStyleMultiBranchProject.java:1115)
      2. com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleMultiBranchProject.syncBranches(FreeStyleMultiBranchProject.java:1020)
      3. com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:98)
      3 frames
    5. Hudson
      SafeTimerTask.run
      1. hudson.triggers.Trigger.checkTriggers(Trigger.java:266)
      2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)
      3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      3 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:744)
      7 frames