java.lang.NullPointerException

Jenkins JIRA | Roberto Prevato | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After changing the 'Build Record Root Directory' from the default to 'H:\Application Data\Jenkins\${ITEM_FULLNAME}\builds' (a mapped drive) the existing job configuration will no longer load. All the job directories are there. If I change it back to the default, all the job records are read. Do I need to change anything else? My C: drive is is 99% and we mus tbe able to move the builds directories to a larger disk. This is an extract from the log: 21-May-2013 21:32:46 jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job CDW_CDW_2.0.0 java.lang.NullPointerException at hudson.model.RunMap.load(RunMap.java:216) at hudson.model.AbstractProject.onLoad(AbstractProject.java:255) at hudson.model.Items.load(Items.java:115) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41) at hudson.model.Job.onLoad(Job.java:194) at hudson.model.AbstractProject.onLoad(AbstractProject.java:252) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) 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$6.runTask(Jenkins.java:838) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 4 years ago | Sam Wrankmore
    java.lang.NullPointerException
  2. 0

    After changing the 'Build Record Root Directory' from the default to 'H:\Application Data\Jenkins\${ITEM_FULLNAME}\builds' (a mapped drive) the existing job configuration will no longer load. All the job directories are there. If I change it back to the default, all the job records are read. Do I need to change anything else? My C: drive is is 99% and we mus tbe able to move the builds directories to a larger disk. This is an extract from the log: 21-May-2013 21:32:46 jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job CDW_CDW_2.0.0 java.lang.NullPointerException at hudson.model.RunMap.load(RunMap.java:216) at hudson.model.AbstractProject.onLoad(AbstractProject.java:255) at hudson.model.Items.load(Items.java:115) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41) at hudson.model.Job.onLoad(Job.java:194) at hudson.model.AbstractProject.onLoad(AbstractProject.java:252) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) 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$6.runTask(Jenkins.java:838) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 1 year ago | Roberto Prevato
    java.lang.NullPointerException
  3. 0

    After changing the 'Build Record Root Directory' from the default to 'H:\Application Data\Jenkins\${ITEM_FULLNAME}\builds' (a mapped drive) the existing job configuration will no longer load. All the job directories are there. If I change it back to the default, all the job records are read. Do I need to change anything else? My C: drive is is 99% and we mus tbe able to move the builds directories to a larger disk. This is an extract from the log: 21-May-2013 21:32:46 jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job CDW_CDW_2.0.0 java.lang.NullPointerException at hudson.model.RunMap.load(RunMap.java:216) at hudson.model.AbstractProject.onLoad(AbstractProject.java:255) at hudson.model.Items.load(Items.java:115) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41) at hudson.model.Job.onLoad(Job.java:194) at hudson.model.AbstractProject.onLoad(AbstractProject.java:252) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) 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$6.runTask(Jenkins.java:838) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 4 years ago | Sam Wrankmore
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After changing the 'Build Record Root Directory' from the default to 'H:\Application Data\Jenkins\${ITEM_FULLNAME}\builds' (a mapped drive) the existing job configuration will no longer load. All the job directories are there. If I change it back to the default, all the job records are read. Do I need to change anything else? My C: drive is is 99% and we mus tbe able to move the builds directories to a larger disk. This is an extract from the log: 21-May-2013 21:32:46 jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job CDW_CDW_2.0.0 java.lang.NullPointerException at hudson.model.RunMap.load(RunMap.java:216) at hudson.model.AbstractProject.onLoad(AbstractProject.java:255) at hudson.model.Items.load(Items.java:115) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41) at hudson.model.Job.onLoad(Job.java:194) at hudson.model.AbstractProject.onLoad(AbstractProject.java:252) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$15.run(Jenkins.java:2437) 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$6.runTask(Jenkins.java:838) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 1 year ago | Roberto Prevato
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.model.RunMap.load()
    2. Hudson
      ItemGroupMixIn.loadChildren
      1. hudson.model.RunMap.load(RunMap.java:216)
      2. hudson.model.AbstractProject.onLoad(AbstractProject.java:255)
      3. hudson.model.Items.load(Items.java:115)
      4. hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
      4 frames
    3. hudson.plugins.promoted_builds
      JobPropertyImpl.setOwner
      1. hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:145)
      2. hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:41)
      2 frames
    4. Hudson
      Items.load
      1. hudson.model.Job.onLoad(Job.java:194)
      2. hudson.model.AbstractProject.onLoad(AbstractProject.java:252)
      3. hudson.model.Project.onLoad(Project.java:88)
      4. hudson.model.Items.load(Items.java:115)
      4 frames
    5. jenkins.model
      Jenkins$15.run
      1. jenkins.model.Jenkins$15.run(Jenkins.java:2437)
      1 frame
    6. 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
    7. jenkins.model
      Jenkins$6.runTask
      1. jenkins.model.Jenkins$6.runTask(Jenkins.java:838)
      1 frame
    8. 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
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames