java.lang.NullPointerException: Current Project is null

Jenkins JIRA | Riccardo Gorza | 4 years ago
  1. 0

    Restarting Tomcat. During the restart process Jenkins fails to load jobs which use the "FSTrigger", if the rebuild-plugin is installed: Feb 18, 2013 1:01:45 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job Eval-Hot-Systemtest java.lang.NullPointerException: Current Project is null at com.sonyericsson.rebuild.RebuildAction.getProject(RebuildAction.java:138) at com.sonyericsson.rebuild.RebuildAction.isRebuildAvailable(RebuildAction.java:276) at com.sonyericsson.rebuild.RebuildAction.getUrlName(RebuildAction.java:163) at org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:36) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:54) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:371) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:97) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26) at hudson.model.AbstractProject.onLoad(AbstractProject.java:294) at hudson.model.Project.onLoad(Project.java:83) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2539) 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$7.runTask(Jenkins.java:883) 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.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) => Rebuild plugin embeds the envinject library. There is a bug in the current version used by the rebuild plugin. Please upgrade to envinject-lib 1.16. => https://issues.jenkins-ci.org/browse/JENKINS-16809

    Jenkins JIRA | 4 years ago | Riccardo Gorza
    java.lang.NullPointerException: Current Project is null
  2. 0

    Restarting Tomcat. During the restart process Jenkins fails to load jobs which use the "FSTrigger", if the rebuild-plugin is installed: Feb 18, 2013 1:01:45 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading job Eval-Hot-Systemtest java.lang.NullPointerException: Current Project is null at com.sonyericsson.rebuild.RebuildAction.getProject(RebuildAction.java:138) at com.sonyericsson.rebuild.RebuildAction.isRebuildAvailable(RebuildAction.java:276) at com.sonyericsson.rebuild.RebuildAction.getUrlName(RebuildAction.java:163) at org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:36) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:54) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:371) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:97) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26) at hudson.model.AbstractProject.onLoad(AbstractProject.java:294) at hudson.model.Project.onLoad(Project.java:83) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2539) 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$7.runTask(Jenkins.java:883) 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.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) => Rebuild plugin embeds the envinject library. There is a bug in the current version used by the rebuild plugin. Please upgrade to envinject-lib 1.16. => https://issues.jenkins-ci.org/browse/JENKINS-16809

    Jenkins JIRA | 4 years ago | Riccardo Gorza
    java.lang.NullPointerException: Current Project is null
  3. 0

    Batch task fails!

    Google Groups | 5 years ago | Jan Seidel
    java.lang.NullPointerException: Current Project is null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] (JENKINS-36980) NPE/500 errors after leaving blue ocean open for a while in RebuildPlugin

    Google Groups | 4 months ago | mne...@cloudbees.com (JIRA)
    java.lang.NullPointerException
  6. 0

    [JIRA] (JENKINS-36980) intermittent NPE/500 errors after leaving blue ocean open for a while

    Google Groups | 4 months ago | mne...@cloudbees.com (JIRA)
    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

      Current Project is null

      at com.sonyericsson.rebuild.RebuildAction.getProject()
    2. com.sonyericsson.rebuild
      RebuildAction.getUrlName
      1. com.sonyericsson.rebuild.RebuildAction.getProject(RebuildAction.java:138)
      2. com.sonyericsson.rebuild.RebuildAction.isRebuildAvailable(RebuildAction.java:276)
      3. com.sonyericsson.rebuild.RebuildAction.getUrlName(RebuildAction.java:163)
      3 frames
    3. org.jenkinsci.lib
      EnvVarsResolver.getPollingEnvVars
      1. org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:36)
      2. org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:54)
      3. org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36)
      3 frames
    4. org.jenkinsci.plugins
      FolderContentTrigger.start
      1. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:371)
      1 frame
    5. org.jenkinsci.lib
      AbstractTrigger.start
      1. org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:97)
      2. org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26)
      2 frames
    6. Hudson
      Items.load
      1. hudson.model.AbstractProject.onLoad(AbstractProject.java:294)
      2. hudson.model.Project.onLoad(Project.java:83)
      3. hudson.model.Items.load(Items.java:221)
      3 frames
    7. jenkins.model
      Jenkins$17.run
      1. jenkins.model.Jenkins$17.run(Jenkins.java:2539)
      1 frame
    8. 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
    9. jenkins.model
      Jenkins$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:883)
      1 frame
    10. 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
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames