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

java.lang.NullPointerException > hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:1340)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      This happened when I tried to use clientspec *not manged by hudson*.
      In the job configuration: the workspace is `ang_ps_hudson_test`

      Started by user xxx
      Building remotely on ccc.example.com
      Using remote perforce client: ang_ps_hudson_test-2009646975
      [ang_ps_hudson_test] $ p4 workspace -o ang_ps_hudson_test-2009646975
      [ang_ps_hudson_test] $ p4 login -p
      [ang_ps_hudson_test] $ p4 -P 8D910F44B59A47C1C38C001A2DCCB7A2 workspace -o ang_ps_hudson_test-2009646975
      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:1340)
      at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1002)
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:504)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1082)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      at hudson.model.Run.run(Run.java:1273)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:137)

        Attachments

          Activity

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              ssbarnea Sorin Sbarnea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: