java.lang.NullPointerException

Jenkins JIRA | Ben Courliss | 2 years ago
  1. 0

    Folder containing jobs disappeared. I tried reloading the config from the filesystem option and I still see the same error message. Other team folders are visible and working correctly. Gerrit trigger functionality seems to work as well. I can hit the query and trigger Gerrit Patches link and it works fine. I see in the logs: {noformat} Mar 16, 2015 12:35:20 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job team_xyz java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:396) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:124) at hudson.model.AbstractProject.onLoad(AbstractProject.java:325) at hudson.model.Project.onLoad(Project.java:95) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$17.run(Jenkins.java:2656) 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:886) 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 | Ben Courliss
    java.lang.NullPointerException
  2. 0

    Folder containing jobs disappeared. I tried reloading the config from the filesystem option and I still see the same error message. Other team folders are visible and working correctly. Gerrit trigger functionality seems to work as well. I can hit the query and trigger Gerrit Patches link and it works fine. I see in the logs: {noformat} Mar 16, 2015 12:35:20 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job team_xyz java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:396) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:124) at hudson.model.AbstractProject.onLoad(AbstractProject.java:325) at hudson.model.Project.onLoad(Project.java:95) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:279) at jenkins.model.Jenkins$17.run(Jenkins.java:2656) 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:886) 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 | Ben Courliss
    java.lang.NullPointerException
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: 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 com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start()
    2. com.sonyericsson.hudson
      GerritTrigger.start
      1. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:396)
      2. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger.start(GerritTrigger.java:124)
      2 frames
    3. Hudson
      ItemGroupMixIn.loadChildren
      1. hudson.model.AbstractProject.onLoad(AbstractProject.java:325)
      2. hudson.model.Project.onLoad(Project.java:95)
      3. hudson.model.Items.load(Items.java:279)
      4. hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)
      4 frames
    4. com.cloudbees.hudson
      Folder.onLoad
      1. com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)
      1 frame
    5. Hudson
      ItemGroupMixIn.loadChildren
      1. hudson.model.Items.load(Items.java:279)
      2. hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)
      2 frames
    6. com.cloudbees.hudson
      Folder.onLoad
      1. com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)
      1 frame
    7. Hudson
      ItemGroupMixIn.loadChildren
      1. hudson.model.Items.load(Items.java:279)
      2. hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:108)
      2 frames
    8. com.cloudbees.hudson
      Folder.onLoad
      1. com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239)
      1 frame
    9. Hudson
      Items.load
      1. hudson.model.Items.load(Items.java:279)
      1 frame
    10. jenkins.model
      Jenkins$17.run
      1. jenkins.model.Jenkins$17.run(Jenkins.java:2656)
      1 frame
    11. 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
    12. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:886)
      1 frame
    13. 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
    14. 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