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

SEVERE: Failed to record SCM polling - java.lang.NullPointerException - EnvInject Plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      jenkins V 1.500
    • Similar Issues:

      Description

      After updating jenkins the notification of jenkins vi Subversion post commit hook has become broken.

      The syslog shows:

      Jan 31 16:37:16 garfield jenkins: SEVERE: Failed to record SCM polling for hudson.maven.MavenModuleSet@a2ce5c5[bvopmenu-common]
      Jan 31 16:37:16 garfield jenkins: java.lang.NullPointerException
      Jan 31 16:37:16 garfield jenkins: #011at java.util.TreeMap.putAll(TreeMap.java:308)
      Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25)
      Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20)
      Jan 31 16:37:16 garfield jenkins: #011at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:154)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.scm.SCM.poll(SCM.java:373)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractProject._poll(AbstractProject.java:1493)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.model.AbstractProject.poll(AbstractProject.java:1410)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      Jan 31 16:37:16 garfield jenkins: #011at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      Jan 31 16:37:16 garfield jenkins: #011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      Jan 31 16:37:16 garfield jenkins: #011at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

          Hide
          dirk_schmitt H.-Dirk Schmitt added a comment -

          revert EnvInject plugin from 1.81 to 1.80 resolves the problem

          Show
          dirk_schmitt H.-Dirk Schmitt added a comment - revert EnvInject plugin from 1.81 to 1.80 resolves the problem
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java
          http://jenkins-ci.org/commit/envinject-lib/e0585e40a9022653693902a6449de2611db71447
          Log:
          Fix JENKINS-16575 and JENKINS-16566

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java http://jenkins-ci.org/commit/envinject-lib/e0585e40a9022653693902a6449de2611db71447 Log: Fix JENKINS-16575 and JENKINS-16566
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java
          http://jenkins-ci.org/commit/envinject-lib/6c2027615675ae7fbf666067acc60eabbba7cfa2
          Log:
          Fix JENKINS-16575 and JENKINS-16566

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java http://jenkins-ci.org/commit/envinject-lib/6c2027615675ae7fbf666067acc60eabbba7cfa2 Log: Fix JENKINS-16575 and JENKINS-16566
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuildVariableContributor.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectPluginAction.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectVarList.java
          http://jenkins-ci.org/commit/envinject-plugin/0537bc39eea9fa3fbe318df0a25c45af9810a001
          Log:
          Fix JENKINS-16575 and JENKINS-16566


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: pom.xml src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuildVariableContributor.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectPluginAction.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectVarList.java http://jenkins-ci.org/commit/envinject-plugin/0537bc39eea9fa3fbe318df0a25c45af9810a001 Log: Fix JENKINS-16575 and JENKINS-16566 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            People

            • Assignee:
              Unassigned
              Reporter:
              dirk_schmitt H.-Dirk Schmitt
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: