mjava.lang.NullPointerException

Jenkins JIRA | anonymousultimo | 6 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0
  3. 0

    Same setup works on Lion but not on Mountain Lion Log is telling me: Started on Aug 9, 2012 5:40:28 PM Looking for changes... Using node: Jenkins ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@28161b52[test] ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.lang.NullPointerException at hudson.plugins.perforce.PerforceSCM.substituteParameters(PerforceSCM.java:2253) at hudson.plugins.perforce.PerforceSCM.getEffectiveProjectPath(PerforceSCM.java:595) at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1149) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1415) at hudson.model.AbstractProject.poll(AbstractProject.java:1335) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:680) Jenkins output: SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@28161b52[test] java.lang.NullPointerException at hudson.plugins.perforce.PerforceSCM.substituteParameters(PerforceSCM.java:2253) at hudson.plugins.perforce.PerforceSCM.getEffectiveProjectPath(PerforceSCM.java:595) at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1149) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1415) at hudson.model.AbstractProject.poll(AbstractProject.java:1335) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:680)

    Jenkins JIRA | 4 years ago | Izet Salihbegovic
    mjava.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. mjava.lang.NullPointerException

      No message provided

      at hudson.model.Run.getEnvironment()
    2. Hudson
      AbstractBuild.getEnvironment
      1. hudson.model.Run.getEnvironment(Run.java:1673)
      2. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:682)
      2 frames
    3. Hudson GIT plugin
      GitSCM.pollChanges
      1. hudson.plugins.git.GitSCM.pollChanges(GitSCM.java:420)
      1 frame
    4. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.SCM.poll(SCM.java:369)
      2. hudson.model.AbstractProject.poll(AbstractProject.java:1195)
      3. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:355)
      4. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:384)
      5. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      5 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      6. java.lang.Thread.run(Unknown Source)
      6 frames