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

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
          test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java
          http://jenkins-ci.org/commit/jenkins/83822830cf6f74a5663dfcc9acd14b13774739ae
          Log:
          Added (unfortunately yet disfunctional) regression test for JENKINS-11592

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java http://jenkins-ci.org/commit/jenkins/83822830cf6f74a5663dfcc9acd14b13774739ae Log: Added (unfortunately yet disfunctional) regression test for JENKINS-11592

          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/4d3538aa4df601009f5c29b5a95dd8374d281a9a
          Log:
          JENKINS-11592 trying to find out where the NPE is originated(cherry picked from commit 4f900f60d447e0e371557faef33630899434b747)

          Conflicts:

          maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java

          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/4d3538aa4df601009f5c29b5a95dd8374d281a9a Log: JENKINS-11592 trying to find out where the NPE is originated(cherry picked from commit 4f900f60d447e0e371557faef33630899434b747) Conflicts: maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          changelog.html
          maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/jenkins/7f69189aab5103838949c5ef5e9e23cc4a3a8bd1
          Log:
          [FIXED JENKINS-11592] NPE in subversion polling of Maven jobs(cherry picked from commit e2d7b399210db6333affd9a0e6deac5a94a4d300)

          Conflicts:

          changelog.html

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java http://jenkins-ci.org/commit/jenkins/7f69189aab5103838949c5ef5e9e23cc4a3a8bd1 Log: [FIXED JENKINS-11592] NPE in subversion polling of Maven jobs(cherry picked from commit e2d7b399210db6333affd9a0e6deac5a94a4d300) Conflicts: changelog.html

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
          test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java
          http://jenkins-ci.org/commit/jenkins/2d98f687191a1331783e2f0b2562f3138f457ad7
          Log:
          Added (unfortunately yet disfunctional) regression test for JENKINS-11592(cherry picked from commit 83822830cf6f74a5663dfcc9acd14b13774739ae)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java http://jenkins-ci.org/commit/jenkins/2d98f687191a1331783e2f0b2562f3138f457ad7 Log: Added (unfortunately yet disfunctional) regression test for JENKINS-11592 (cherry picked from commit 83822830cf6f74a5663dfcc9acd14b13774739ae)

          Ken Egozi added a comment -

          Still happening, with 1.490 and tfs plugin 1.20 (the latest)
          not the NPE, but java.lang.StringIndexOutOfBoundsException: String index out of range: -1 instead

          Ken Egozi added a comment - Still happening, with 1.490 and tfs plugin 1.20 (the latest) not the NPE, but java.lang.StringIndexOutOfBoundsException: String index out of range: -1 instead

          kutzi added a comment -

          Ken, since you seem to be experiencing a different issue, please open a new Jira issue with all the necessary details - e.g. the full stacktrace of the exception.

          kutzi added a comment - Ken, since you seem to be experiencing a different issue, please open a new Jira issue with all the necessary details - e.g. the full stacktrace of the exception.

          Ken Egozi added a comment -

          Ken Egozi added a comment - @Kutzi - done. https://issues.jenkins-ci.org/browse/JENKINS-15851

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

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

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/maven-plugin/1b1907177ba41d0193d574db59793138b95064c2
          Log:
          [FIXED JENKINS-11592] NPE in subversion polling of Maven jobs
          Originally-Committed-As: e2d7b399210db6333affd9a0e6deac5a94a4d300

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/main/java/hudson/maven/MavenModuleSetBuild.java http://jenkins-ci.org/commit/maven-plugin/1b1907177ba41d0193d574db59793138b95064c2 Log: [FIXED JENKINS-11592] NPE in subversion polling of Maven jobs Originally-Committed-As: e2d7b399210db6333affd9a0e6deac5a94a4d300

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
          http://jenkins-ci.org/commit/jenkins-test-harness/d716d195584022134ed39ba6c43408715822498f
          Log:
          Added (unfortunately yet disfunctional) regression test for JENKINS-11592
          Originally-Committed-As: 83822830cf6f74a5663dfcc9acd14b13774739ae

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java http://jenkins-ci.org/commit/jenkins-test-harness/d716d195584022134ed39ba6c43408715822498f Log: Added (unfortunately yet disfunctional) regression test for JENKINS-11592 Originally-Committed-As: 83822830cf6f74a5663dfcc9acd14b13774739ae

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

              Created:
              Updated:
              Resolved: