• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • windows vista business, Java 1.6.0_29

      This message appears since I have upgraded to 1.437 regularly:

      3/11/2011 6:02:21 PM hudson.triggers.SCMTrigger$Runner runPolling
      SEVERE: Failed to record SCM polling
      java.lang.NullPointerException
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165)
      at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1086)
      at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      at hudson.scm.SCM.poll(SCM.java:373)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1326)
      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:619)

      I have updated all plugins to latest.

          [JENKINS-11592] NPE: Failed to record SCM polling

          schlaufuchs created issue -

          schlaufuchs added a comment -

          workaround by falling back to subversion plugin 1.28. It would be appreciated to learn if this is a plugin failure or an configuration issue.

          schlaufuchs added a comment - workaround by falling back to subversion plugin 1.28. It would be appreciated to learn if this is a plugin failure or an configuration issue.
          sogabe made changes -
          Assignee New: sogabe [ sogabe ]

          Theo Harper added a comment -

          I too am getting the same issue, this also may be related to getting:

          There are more SCM polling activities scheduled than handled, so the threads are not keeping up with the demands. Check if your polling is hanging, and/or increase the number of threads if necessary.

          I am using 1.437 and have the latest SVN plugin 1.34.

          Theo Harper added a comment - I too am getting the same issue, this also may be related to getting: There are more SCM polling activities scheduled than handled, so the threads are not keeping up with the demands. Check if your polling is hanging, and/or increase the number of threads if necessary. I am using 1.437 and have the latest SVN plugin 1.34.
          kutzi made changes -
          Link New: This issue is related to JENKINS-8092 [ JENKINS-8092 ]

          kutzi added a comment -

          Seems to be related to the changes done for JENKINS-8092
          I think mvn.forEnvironment() here https://github.com/jenkinsci/jenkins/commit/b0b06b515ba4471a1ec6fec77d96efc71935b2b9#diff-2
          may return null

          kutzi added a comment - Seems to be related to the changes done for JENKINS-8092 I think mvn.forEnvironment() here https://github.com/jenkinsci/jenkins/commit/b0b06b515ba4471a1ec6fec77d96efc71935b2b9#diff-2 may return null
          sogabe made changes -
          Assignee Original: sogabe [ sogabe ]
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-11654 [ JENKINS-11654 ]
          kutzi made changes -
          Assignee New: kutzi [ kutzi ]

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          core/src/main/java/hudson/model/Run.java
          maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/jenkins/4f900f60d447e0e371557faef33630899434b747
          Log:
          JENKINS-11592 trying to find out where the NPE is originated

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: core/src/main/java/hudson/model/Run.java maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java http://jenkins-ci.org/commit/jenkins/4f900f60d447e0e371557faef33630899434b747 Log: JENKINS-11592 trying to find out where the NPE is originated

            kenegozi Ken Egozi
            schlaufuchs schlaufuchs
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: