Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39117

NPE at git SCM polling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • checkmarx-plugin
    • None

      When configure the job to POLL SCM - some projects raise Nul pointer exception. You can run it manually and it is successfully complete
      Job starts at slave node.

      This is strange behavior, because some projects finished poll successfull, but some of them fails.

      Started on Oct 19, 2016 3:27:00 PM
      Using strategy: Default
      [poll] Last Built Revision: Revision f69ca73920f8bad5fd4ef802f67bb04fa136ea28 (refs/remotes/origin/master)
      ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@114adf85[CheckMarx_SecurityGate_gost-engine]
      java.lang.NullPointerException
      at java.util.TreeMap.putAll(TreeMap.java:313)
      at com.checkmarx.jenkins.EnvVarAction.buildEnvVars(EnvVarAction.java:33)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:934)
      at hudson.plugins.git.GitSCM.getParamExpandedRepos(GitSCM.java:404)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:609)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:574)
      at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391)
      at hudson.scm.SCM.poll(SCM.java:408)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1460)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1363)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

            Unassigned Unassigned
            rip yury Shabalin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: