Skip to content

[JENKINS-10108] Files uploaded via Fileparameter is not available in matrix jobs and throws NPE #466

Description

@jenkins-infra-bot

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)


Originally reported by ragesh_nair, imported from: Files uploaded via Fileparameter is not available in matrix jobs and throws NPE
  • status: Resolved
  • priority: Major
  • component(s): matrix-project-plugin
  • resolution: Fixed
  • resolved: 2011-06-29T05:49:52+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-12-06
Raw content of original issue

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)

  • environment: LINUX

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions