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

NullPointerException in Perforce plugin when attempting a build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None
    • Windows 7, Jenkins 1.429, Perforce plugin 1.3.0

      When attempting to "Build Now", build fails with a null pointer exception and the following log/stack:

      Started by user anonymous
      Using master perforce client: OneDrop_Jenkins
      [workspace] $ "c:/Program Files (x86)/Perforce/p4" workspace -o OneDrop_Jenkins
      Changing P4 Client Root to: C:\Program Files (x86)\Jenkins\jobs\snftest2\workspace
      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:1612)
      at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1199)
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:586)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454)
      at hudson.model.Run.run(Run.java:1376)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:230)

      Haven't yet attempted an automatic build triggered by SCM polling.

            Unassigned Unassigned
            sfreeland_bhvr_com Stephen Freeland
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: