Jenkins JIRA | Martin Hulth | 2 years ago
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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Strange SCM polling failure

    Google Groups | 4 years ago | Major P├ęter
  3. 0

    When a build job is changed to use a new build node, and also the previously used node is removed from the Jenkins setup, then SCM polling starts to fail with: {noformat} ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@587918[jobName] java.lang.NullPointerException at hudson.plugins.zentimestamp.ZenTimestampEnvironmentContributor.buildEnvironmentFor( at hudson.model.Run.getEnvironment( at hudson.model.AbstractBuild.getEnvironment( at hudson.scm.SubversionSCM.compareRemoteRevisionWith( at hudson.scm.SCM._compareRemoteRevisionWith( at hudson.scm.SCM.poll( at hudson.model.AbstractProject._poll( at hudson.model.AbstractProject.poll( at hudson.triggers.SCMTrigger$Runner.runPolling( at hudson.triggers.SCMTrigger$ at hudson.util.SequentialExecutionQueue$ at java.util.concurrent.Executors$ at java.util.concurrent.FutureTask$Sync.innerRun( at at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( at java.util.concurrent.ThreadPoolExecutor$ at {noformat} This is because AbstractBuild#getBuiltOn may return null, but this case is not handled in hudson.plugins.zentimestamp.ZenTimestampEnvironmentContributor#buildEnvironmentFor. See for reference.

    Jenkins JIRA | 4 years ago | aldaris

    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 hudson.plugins.zentimestamp.ZenTimestampEnvironmentContributor.buildEnvironmentFor()
    2. hudson.plugins.zentimestamp
      1. hudson.plugins.zentimestamp.ZenTimestampEnvironmentContributor.buildEnvironmentFor(
      1 frame
    3. Hudson
      1. hudson.model.Run.getEnvironment(
      2. hudson.model.AbstractBuild.getEnvironment(
      2 frames
    4. org.jenkinsci.plugins
      1. org.jenkinsci.plugins.p4.tagging.TagAction.<init>(
      2. org.jenkinsci.plugins.p4.PerforceScm.checkout(
      2 frames
    5. Hudson
      1. hudson.scm.SCM.checkout(
      2. hudson.model.AbstractProject.checkout(
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(
      3 frames
    6. jenkins.scm
      1. jenkins.scm.SCMCheckoutStrategy.checkout(
      1 frame
    7. Hudson
      1. hudson.model.AbstractBuild$
      2. hudson.model.Run.execute(
      3 frames
    8. com.cloudbees.plugins
      1 frame
    9. Hudson
      1. hudson.model.ResourceController.execute(
      2 frames