Details

    • Similar Issues:

      Description

      When a matrix project config.xml is missing <runSequentially> as well as <executionStrategy>—perhaps because it predates JENKINS-3028?—trying to load it in current Jenkins (after 95c5ea2 in 1.456) throws

      java.lang.NullPointerException
      	at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:474)
      

      and the job is not loaded.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/java/hudson/matrix/MatrixProject.java
          test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
          test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/config.xml
          test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/jobs/x/config.xml
          http://jenkins-ci.org/commit/jenkins/23ade1cda500047d6cc229206f8132c4cb1a6ccc
          Log:
          [FIXED JENKINS-15271] NPE in <code>MatrixProject.onLoad</code>.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/matrix/MatrixProject.java test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/config.xml test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/jobs/x/config.xml http://jenkins-ci.org/commit/jenkins/23ade1cda500047d6cc229206f8132c4cb1a6ccc Log: [FIXED JENKINS-15271] NPE in <code>MatrixProject.onLoad</code>.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #1945
          [FIXED JENKINS-15271] NPE in <code>MatrixProject.onLoad</code>. (Revision 23ade1cda500047d6cc229206f8132c4cb1a6ccc)

          Result = SUCCESS
          Jesse Glick : 23ade1cda500047d6cc229206f8132c4cb1a6ccc
          Files :

          • core/src/main/java/hudson/matrix/MatrixProject.java
          • test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/config.xml
          • test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
          • changelog.html
          • test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/jobs/x/config.xml
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1945 [FIXED JENKINS-15271] NPE in <code>MatrixProject.onLoad</code>. (Revision 23ade1cda500047d6cc229206f8132c4cb1a6ccc) Result = SUCCESS Jesse Glick : 23ade1cda500047d6cc229206f8132c4cb1a6ccc Files : core/src/main/java/hudson/matrix/MatrixProject.java test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/config.xml test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy changelog.html test/src/test/resources/hudson/matrix/MatrixProjectTest/testUpgrade/jobs/x/config.xml

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: