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

NullPointerException when starting a pipeline in a multibranch project

      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.
       
       

          [JENKINS-55214] NullPointerException when starting a pipeline in a multibranch project

          Gaspard Petit created issue -
          Gaspard Petit made changes -
          Description Original: 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.
           
           
          New: {code:java}
          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{code}

            
           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.
            
            
          Karl Wirth made changes -
          Assignee New: Karl Wirth [ p4karl ]
          Karl Wirth made changes -
          Labels New: P4_SUPPORT
          Paul Allen made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: