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

Perforce Polling errors when using a View Map from File and specifying Poll Exclude File(s)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • Windows 2008 R2, Perforce P4D/NTX64/2011.1/370818 (2011/10/19)

      Perforce polling errors with a NullPointerException when you use a View Map from File and specify Poll Exclude File(s). When you just use the View Map from File and no exclusions polling works fine.

      ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@76948f[test_view_file_perforce_polling]
      java.lang.NullPointerException
      at hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:2102)
      at hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:2097)
      at hudson.plugins.perforce.PerforceSCM.isFileInView(PerforceSCM.java:672)
      at hudson.plugins.perforce.PerforceSCM.isChangelistExcluded(PerforceSCM.java:1288)
      at hudson.plugins.perforce.PerforceSCM.getCurrentDepotRevisionState(PerforceSCM.java:1238)
      at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1118)
      at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      at hudson.scm.SCM.poll(SCM.java:373)
      ...

          [JENKINS-14216] Perforce Polling errors when using a View Map from File and specifying Poll Exclude File(s)

          Code changed in jenkins
          User: Rob Petti
          Path:
          src/main/java/com/tek42/perforce/parse/File.java
          src/main/java/hudson/plugins/perforce/PerforceSCM.java
          http://jenkins-ci.org/commit/perforce-plugin/079f647b144e5a4aff8a538c14eea05e52a8db59
          Log:
          [FIXED JENKINS-14216] fixing NPE and some other inconsistencies when polling using view from a file

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rob Petti Path: src/main/java/com/tek42/perforce/parse/File.java src/main/java/hudson/plugins/perforce/PerforceSCM.java http://jenkins-ci.org/commit/perforce-plugin/079f647b144e5a4aff8a538c14eea05e52a8db59 Log: [FIXED JENKINS-14216] fixing NPE and some other inconsistencies when polling using view from a file

            rpetti Rob Petti
            benjamin_detroch Benjamin De Troch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: