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

          amuniz Antonio Muñiz created issue -
          amuniz Antonio Muñiz made changes -
          Field Original Value New Value
          Description A call to `SCMSourceOwner.getSCMSources()` ends with `NullPointerException` under some specific conditions. See [this test case|https://github.com/jenkinsci/branch-api-plugin/pull/18] that reproduces it. A call to `SCMSourceOwner.getSCMSources()` ends with `NullPointerException` under some specific conditions. See [this test case|https://github.com/jenkinsci/branch-api-plugin/pull/19] that reproduces it.
          amuniz Antonio Muñiz made changes -
          Description A call to `SCMSourceOwner.getSCMSources()` ends with `NullPointerException` under some specific conditions. See [this test case|https://github.com/jenkinsci/branch-api-plugin/pull/19] that reproduces it. A call to {{SCMSourceOwner.getSCMSources()}} ends with {{NullPointerException}} under some specific conditions. See [this test case|https://github.com/jenkinsci/branch-api-plugin/pull/19] that reproduces it.
          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
          jglick Jesse Glick made changes -
          Assignee stephenconnolly [ stephenconnolly ] Antonio Muñiz [ amuniz ]
          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.
          jglick Jesse Glick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 166796 ] JNJira + In-Review [ 198048 ]

            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: