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

NullPointerException in Perforce plugin when attempting a build

    • 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.

          [JENKINS-10926] NullPointerException in Perforce plugin when attempting a build

          Stephen Freeland created issue -
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-10929 [ JENKINS-10929 ]
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-10928 [ JENKINS-10928 ]
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-10927 [ JENKINS-10927 ]
          Alex Earl made changes -
          Component/s New: perforce [ 15506 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141135 ] New: JNJira + In-Review [ 175424 ]
          Jenkins IRC Bot made changes -
          Component/s New: p4-plugin [ 19224 ]
          Component/s Original: perforce-plugin [ 15506 ]

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

              Created:
              Updated: