java.lang.NullPointerException

Jenkins JIRA | Senthil Natarajan | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I lost a job that used the repo plugin, after restarting Jenkins. I checked the jenkins log, and this is the error shown in the log: Jan 18, 2012 4:43:28 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job Manifest_Monitor java.lang.NullPointerException at hudson.plugins.repo.RevisionState.hashCode(RevisionState.java:139) at java.lang.Object.toString(Object.java:219) at java.lang.String.valueOf(String.java:2826) at java.util.Arrays.toString(Arrays.java:4071) at java.util.concurrent.CopyOnWriteArrayList.toString(CopyOnWriteArrayList.java:860) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.jvnet.hudson.plugins.DownStreamProjectActionFactory.createFor(DownStreamProjectActionFactory.java:69) at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:612) at hudson.model.Project.createTransientActions(Project.java:203) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:602) at hudson.model.AbstractProject.onLoad(AbstractProject.java:272) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$14.run(Jenkins.java:2372) 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$5.runTask(Jenkins.java:812) 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(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Jan 18, 2012 4:43:28 PM org.jvnet.hudson.plugins.DownStreamProjectActionFactory createFor

    Jenkins JIRA | 5 years ago | Senthil Natarajan
    java.lang.NullPointerException
  2. 0

    I lost a job that used the repo plugin, after restarting Jenkins. I checked the jenkins log, and this is the error shown in the log: Jan 18, 2012 4:43:28 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job Manifest_Monitor java.lang.NullPointerException at hudson.plugins.repo.RevisionState.hashCode(RevisionState.java:139) at java.lang.Object.toString(Object.java:219) at java.lang.String.valueOf(String.java:2826) at java.util.Arrays.toString(Arrays.java:4071) at java.util.concurrent.CopyOnWriteArrayList.toString(CopyOnWriteArrayList.java:860) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.jvnet.hudson.plugins.DownStreamProjectActionFactory.createFor(DownStreamProjectActionFactory.java:69) at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:612) at hudson.model.Project.createTransientActions(Project.java:203) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:602) at hudson.model.AbstractProject.onLoad(AbstractProject.java:272) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$14.run(Jenkins.java:2372) 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$5.runTask(Jenkins.java:812) 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(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Jan 18, 2012 4:43:28 PM org.jvnet.hudson.plugins.DownStreamProjectActionFactory createFor

    Jenkins JIRA | 5 years ago | Senthil Natarajan
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.repo.RevisionState.hashCode()
    2. hudson.plugins.repo
      RevisionState.hashCode
      1. hudson.plugins.repo.RevisionState.hashCode(RevisionState.java:139)
      1 frame
    3. Java RT
      StringBuilder.append
      1. java.lang.Object.toString(Object.java:219)
      2. java.lang.String.valueOf(String.java:2826)
      3. java.util.Arrays.toString(Arrays.java:4071)
      4. java.util.concurrent.CopyOnWriteArrayList.toString(CopyOnWriteArrayList.java:860)
      5. java.lang.String.valueOf(String.java:2826)
      6. java.lang.StringBuilder.append(StringBuilder.java:115)
      6 frames
    4. org.jvnet.hudson
      DownStreamProjectActionFactory.createFor
      1. org.jvnet.hudson.plugins.DownStreamProjectActionFactory.createFor(DownStreamProjectActionFactory.java:69)
      1 frame
    5. Hudson
      Items.load
      1. hudson.model.AbstractProject.createTransientActions(AbstractProject.java:612)
      2. hudson.model.Project.createTransientActions(Project.java:203)
      3. hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:602)
      4. hudson.model.AbstractProject.onLoad(AbstractProject.java:272)
      5. hudson.model.Project.onLoad(Project.java:88)
      6. hudson.model.Items.load(Items.java:115)
      6 frames
    6. jenkins.model
      Jenkins$14.run
      1. jenkins.model.Jenkins$14.run(Jenkins.java:2372)
      1 frame
    7. 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
    8. jenkins.model
      Jenkins$5.runTask
      1. jenkins.model.Jenkins$5.runTask(Jenkins.java:812)
      1 frame
    9. 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
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames