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

Null pointer on SCMSourceOwner.getSCMSources() call

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      A call to SCMSourceOwner.getSCMSources() ends with NullPointerException under some specific conditions. See this test case that reproduces it.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Antonio Muñiz
          Path:
          pom.xml
          src/test/java/jenkins/branch/MultibranchImplementationTest.java
          src/test/java/jenkins/branch/harness/BranchProperty.java
          src/test/java/jenkins/branch/harness/MultiBranchImpl.java
          http://jenkins-ci.org/commit/branch-api-plugin/731b45eaf330b7ca171be3d13abd32ba9e15d0fa
          Log:
          Test case to reproduce JENKINS-31432

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muñiz Path: pom.xml src/test/java/jenkins/branch/MultibranchImplementationTest.java src/test/java/jenkins/branch/harness/BranchProperty.java src/test/java/jenkins/branch/harness/MultiBranchImpl.java http://jenkins-ci.org/commit/branch-api-plugin/731b45eaf330b7ca171be3d13abd32ba9e15d0fa Log: Test case to reproduce JENKINS-31432
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          pom.xml
          src/main/java/jenkins/branch/MultiBranchProject.java
          src/test/java/jenkins/branch/MultibranchImplementationTest.java
          src/test/java/jenkins/branch/harness/BranchProperty.java
          src/test/java/jenkins/branch/harness/MultiBranchImpl.java
          http://jenkins-ci.org/commit/branch-api-plugin/ed73d403bbd67ae93da743bbdfd653397468cee4
          Log:
          Merge pull request #19 from amuniz/getScmSources-nullpointer

          JENKINS-31432 NPE on SCMSourceOwner.getSCMSources() call

          Compare: https://github.com/jenkinsci/branch-api-plugin/compare/9c4bd01e48bc...ed73d403bbd6

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/java/jenkins/branch/MultiBranchProject.java src/test/java/jenkins/branch/MultibranchImplementationTest.java src/test/java/jenkins/branch/harness/BranchProperty.java src/test/java/jenkins/branch/harness/MultiBranchImpl.java http://jenkins-ci.org/commit/branch-api-plugin/ed73d403bbd67ae93da743bbdfd653397468cee4 Log: Merge pull request #19 from amuniz/getScmSources-nullpointer JENKINS-31432 NPE on SCMSourceOwner.getSCMSources() call Compare: https://github.com/jenkinsci/branch-api-plugin/compare/9c4bd01e48bc...ed73d403bbd6
          Hide
          jglick Jesse Glick added a comment -

          I suppose this was fixed already.

          Show
          jglick Jesse Glick added a comment - I suppose this was fixed already.

            People

            • Assignee:
              amuniz Antonio Muñiz
              Reporter:
              amuniz Antonio Muñiz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: