java.lang.NullPointerException

Jenkins JIRA | Benjamin De Troch | 5 years ago
tip
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

    After upgrading to the latest version of the plugin, polling is broken for all projects, with the following exception trace {code} hudson.triggers.SCMTrigger$Runner runPolling SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@4b0fc9d1[New_York_Sync] 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:662) {code}

    Jenkins JIRA | 5 years ago | Ioannis Mavroukakis
    java.lang.NullPointerException
  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 | 5 years ago | Izet Salihbegovic
    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 hudson.plugins.perforce.PerforceSCM.parseProjectPath()
    2. hudson.plugins.perforce
      PerforceSCM.compareRemoteRevisionWith
      1. hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:2102)
      2. hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:2097)
      3. hudson.plugins.perforce.PerforceSCM.isFileInView(PerforceSCM.java:672)
      4. hudson.plugins.perforce.PerforceSCM.isChangelistExcluded(PerforceSCM.java:1288)
      5. hudson.plugins.perforce.PerforceSCM.getCurrentDepotRevisionState(PerforceSCM.java:1238)
      6. hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1118)
      6 frames
    3. Hudson
      SCM.poll
      1. hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      2. hudson.scm.SCM.poll(SCM.java:373)
      2 frames