Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: checkmarx-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      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)

        Attachments

          Activity

          rip yury Shabalin created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Component/s checkmarx-plugin [ 21122 ]
          Component/s git-client-plugin [ 17423 ]
          Component/s git-plugin [ 15543 ]

            People

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

              Dates

              • Created:
                Updated: