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

NullPointerException when starting a pipeline in a multibranch project

XMLWordPrintable

      java.lang.NullPointerException
       at org.jenkinsci.plugins.p4.scm.StreamsScmSource.getWorkspace(StreamsScmSource.java:67)
       at org.jenkinsci.plugins.p4.PerforceScm.<init>(PerforceScm.java:190)
       at org.jenkinsci.plugins.p4.scm.P4SCMHead.getScm(P4SCMHead.java:34)
       at org.jenkinsci.plugins.p4.scm.P4SCMBuilder.build(P4SCMBuilder.java:55)
       at org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource.build(AbstractP4ScmSource.java:193)
       at org.jenkinsci.plugins.p4.scm.AbstractP4ScmSource.build(AbstractP4ScmSource.java:47)
       at jenkins.scm.api.SCMFileSystem$Builder.build(SCMFileSystem.java:546)
       at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:303)
       at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:100)
       at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)
       Finished: FAILURE

       
      After updating to 1.9.5 and launching a build (any). Building works fine after reverting to 1.8.15 - which is the last version of the P4 plugin that has worked for us.
       
       

            p4karl Karl Wirth
            gpetit Gaspard Petit
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: