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

NPE for the Lightweight checkout with p4 plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None
    • 1. Debian Stretch
      2. Jenkins 2.319.3
      3. p4-plugin 1.12.2

      If "Lightweight checkout" is enabled for the "Pipeline script from SCM" the build fails with the following exception -

      java.lang.NullPointerException
      Caused: java.io.IOException
      at org.jenkinsci.plugins.p4.scm.P4SCMFileSystem$BuilderImpl.build(P4SCMFileSystem.java:95)
      at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:197)
      at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:173)
      at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:118)
      at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:70)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:310)
      at hudson.model.ResourceController.execute(ResourceController.java:99)
      at hudson.model.Executor.run(Executor.java:432)

        1. Build Config.jpg
          262 kB
          Ben
        2. Build Fail.JPG
          64 kB
          Ben
        3. Jenkinsfile
          0.5 kB
          Ben
        4. Non Working Job Definition.jpg
          385 kB
          Ben
        5. Non Working Job Definition Console Output.jpg
          98 kB
          Ben
        6. P4-print.jpg
          57 kB
          Ben
        7. Working Job Definition.jpg
          394 kB
          Ben
        8. Working Job Definition Console Output.jpg
          148 kB
          Ben

            Unassigned Unassigned
            elxakpe Ben
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: