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

Files uploaded via Fileparameter is not available in matrix jobs and throws NPE

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Have a mtrix job with more than one Fileparameters and upload 2 files on run time. The job thows NPE when you try to access the file uploaded. With one fileparameter it works but from 2 it fails.
      FATAL: null
      java.lang.NullPointerException
      at hudson.model.FileParameterValue$1.setUp(FileParameterValue.java:105)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:133)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423)
      at hudson.model.Run.run(Run.java:1362)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

        Attachments

          Activity

          Hide
          kokawa kokawa added a comment -

          Why is this issue assigned to me?

          Show
          kokawa kokawa added a comment - Why is this issue assigned to me?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/FileParameterValue.java
          test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
          http://jenkins-ci.org/commit/jenkins/47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5
          Log:
          [FIXED JENKINS-10108] File parameter didn't work correctly with matrix
          projects.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/FileParameterValue.java test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy http://jenkins-ci.org/commit/jenkins/47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5 Log: [FIXED JENKINS-10108] File parameter didn't work correctly with matrix projects.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #924
          [FIXED JENKINS-10108] File parameter didn't work correctly with matrix

          Kohsuke Kawaguchi : 47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5
          Files :

          • changelog.html
          • test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
          • core/src/main/java/hudson/model/FileParameterValue.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #924 [FIXED JENKINS-10108] File parameter didn't work correctly with matrix Kohsuke Kawaguchi : 47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5 Files : changelog.html test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy core/src/main/java/hudson/model/FileParameterValue.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/FileParameterValue.java
          test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
          http://jenkins-ci.org/commit/jenkins/47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5
          Log:
          [FIXED JENKINS-10108] File parameter didn't work correctly with matrix
          projects.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/FileParameterValue.java test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy http://jenkins-ci.org/commit/jenkins/47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5 Log: [FIXED JENKINS-10108] File parameter didn't work correctly with matrix projects.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/FileParameterValue.java
          test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
          http://jenkins-ci.org/commit/jenkins/47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5
          Log:
          [FIXED JENKINS-10108] File parameter didn't work correctly with matrix
          projects.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/FileParameterValue.java test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy http://jenkins-ci.org/commit/jenkins/47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5 Log: [FIXED JENKINS-10108] File parameter didn't work correctly with matrix projects.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
          http://jenkins-ci.org/commit/matrix-project-plugin/c9902c7b8254f1cac88bda55323f122c101ca696
          Log:
          [FIXED JENKINS-10108] File parameter didn't work correctly with matrix
          projects.

          Originally-Committed-As: 47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy http://jenkins-ci.org/commit/matrix-project-plugin/c9902c7b8254f1cac88bda55323f122c101ca696 Log: [FIXED JENKINS-10108] File parameter didn't work correctly with matrix projects. Originally-Committed-As: 47bc6d38c72f31babf2d453e87ccdf4c40f1f2a5

            People

            • Assignee:
              Unassigned
              Reporter:
              ragesh_nair ragesh_nair
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: