java.lang.NullPointerException

Jenkins JIRA | Peter Fortuin | 4 years ago
  1. 0

    I upgraded to the latest version and some Jobs are missing. No idea why this is happening. In the log I see the following for every job that is missing: SEVERE: Failed Loading job BlockCrusher java.lang.NullPointerException at org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNodeProperties(EnvVarsResolver.java:113) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getDefaultEnvVarsJob(EnvVarsResolver.java:87) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:41) 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:289) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$16.run(Jenkins.java:2484) 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:874) 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:679)

    Jenkins JIRA | 4 years ago | Peter Fortuin
    java.lang.NullPointerException
  2. 0

    I upgraded to the latest version and some Jobs are missing. No idea why this is happening. In the log I see the following for every job that is missing: SEVERE: Failed Loading job BlockCrusher java.lang.NullPointerException at org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNodeProperties(EnvVarsResolver.java:113) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getDefaultEnvVarsJob(EnvVarsResolver.java:87) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:41) 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:289) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$16.run(Jenkins.java:2484) 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:874) 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:679)

    Jenkins JIRA | 4 years ago | Peter Fortuin
    java.lang.NullPointerException
  3. 0

    Polling on master node fails with message: {noformat} Inspecting Monitor a change of the content content for URL ${JENKINS_URL}job/Commit/lastStableBuild/buildNumber Polling started on Mar 11, 2013 1:00:10 AM Polling for the job Functional_SV900 Looking nodes where the poll can be run. Looking for a node to the restricted label master. Can't find any eligible nodes. Trying to poll on master node. Polling on master. [ERROR] - SEVERE - Polling error null {noformat} Stack trace (from Jenkins/Tomcat log file) {noformat} java.lang.NullPointerException at org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNode(EnvVarsResolver.java:160) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getDefaultEnvVarsJob(EnvVarsResolver.java:89) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:68) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36) at org.jenkinsci.plugins.urltrigger.URLTrigger.getURLValue(URLTrigger.java:108) at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModifiedEntry(URLTrigger.java:136) at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModified(URLTrigger.java:125) at org.jenkinsci.lib.xtrigger.AbstractTrigger$Runner.run(AbstractTrigger.java:197) 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:619) {noformat}

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

    Automated exception search integrated into your IDE

  5. 0

    Polling on master node fails with message: {noformat} Inspecting Monitor a change of the content content for URL ${JENKINS_URL}job/Commit/lastStableBuild/buildNumber Polling started on Mar 11, 2013 1:00:10 AM Polling for the job Functional_SV900 Looking nodes where the poll can be run. Looking for a node to the restricted label master. Can't find any eligible nodes. Trying to poll on master node. Polling on master. [ERROR] - SEVERE - Polling error null {noformat} Stack trace (from Jenkins/Tomcat log file) {noformat} java.lang.NullPointerException at org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNode(EnvVarsResolver.java:160) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getDefaultEnvVarsJob(EnvVarsResolver.java:89) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:68) at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36) at org.jenkinsci.plugins.urltrigger.URLTrigger.getURLValue(URLTrigger.java:108) at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModifiedEntry(URLTrigger.java:136) at org.jenkinsci.plugins.urltrigger.URLTrigger.checkIfModified(URLTrigger.java:125) at org.jenkinsci.lib.xtrigger.AbstractTrigger$Runner.run(AbstractTrigger.java:197) 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:619) {noformat}

    Jenkins JIRA | 4 years ago | dmeibusch
    java.lang.NullPointerException
  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 org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNodeProperties()
    2. org.jenkinsci.lib
      EnvVarsResolver.getPollingEnvVars
      1. org.jenkinsci.lib.envinject.service.EnvVarsResolver.gatherEnvVarsNodeProperties(EnvVarsResolver.java:113)
      2. org.jenkinsci.lib.envinject.service.EnvVarsResolver.getDefaultEnvVarsJob(EnvVarsResolver.java:87)
      3. org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:41)
      3 frames
    3. org.jenkinsci.plugins
      FolderContentTrigger.start
      1. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:371)
      1 frame
    4. 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
    5. Hudson
      Items.load
      1. hudson.model.AbstractProject.onLoad(AbstractProject.java:289)
      2. hudson.model.Project.onLoad(Project.java:88)
      3. hudson.model.Items.load(Items.java:115)
      3 frames
    6. jenkins.model
      Jenkins$16.run
      1. jenkins.model.Jenkins$16.run(Jenkins.java:2484)
      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$7.runTask
      1. jenkins.model.Jenkins$7.runTask(Jenkins.java:874)
      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.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:679)
      3 frames