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

poll SCM not work after upgrade the EnvInject Plugin to 1.81

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Environment:
      RHEL 64bit, EnvInject Plugin 1.81, Jenkins-Core 1.500
    • Similar Issues:

      Description

      I'm using Jenkins-Core 1.500 version.
      I upgraded the EnvInject Plugin to 1.81 this afternoon, but I found it has a seriously problem:
      1. All the jobs with subversion polling not work.
      2. Subversion polling log can't be tracked. see blow logs.

      of cause, after I downgrade the 1.81 to 1.80, the polling function go back to OK.

      Subversion Polling Log

      Started on Jan 31, 2013 8:15:45 PM
      ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@455d0ff7[ec_build_trigger]
      java.lang.NullPointerException
      at java.util.TreeMap.putAll(TreeMap.java:290)
      at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25)
      at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20)
      at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948)
      at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230)
      at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      at hudson.scm.SCM.poll(SCM.java:373)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1493)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1410)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      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:619)

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              xiaopan3322 Bao Xiaopan(Bob)
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: