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

NPE for the Lightweight checkout with p4 plugin

    • 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. P4-print.jpg
          P4-print.jpg
          57 kB
        2. Non Working Job Definition.jpg
          Non Working Job Definition.jpg
          385 kB
        3. Working Job Definition Console Output.jpg
          Working Job Definition Console Output.jpg
          148 kB
        4. Working Job Definition.jpg
          Working Job Definition.jpg
          394 kB
        5. Jenkinsfile
          0.5 kB
        6. Non Working Job Definition Console Output.jpg
          Non Working Job Definition Console Output.jpg
          98 kB
        7. Build Config.jpg
          Build Config.jpg
          262 kB
        8. Build Fail.JPG
          Build Fail.JPG
          64 kB

          [JENKINS-68138] NPE for the Lightweight checkout with p4 plugin

          Ben created issue -
          Ben made changes -
          Summary Original: NPE for Lightweight checkout with p4 plugin New: NPE for the Lightweight checkout with p4 plugin
          Ben made changes -
          Attachment New: Jenkinsfile [ 57595 ]
          Attachment New: Non Working Job Definition Console Output.jpg [ 57596 ]
          Attachment New: Non Working Job Definition.jpg [ 57597 ]
          Attachment New: Working Job Definition Console Output.jpg [ 57598 ]
          Attachment New: Working Job Definition.jpg [ 57599 ]
          Ben made changes -
          Attachment New: P4-print.jpg [ 57606 ]

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

              Created:
              Updated: