jenkinsci / jenkinsci/matrix-project-plugin

[JENKINS-4725] uploading files doesn't work on multi-matrix project

Open
#375 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component:matrix-project-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
17
Forks
85
Avg merge
4h 27m
Merged PRs (30d)
5

Description

Uploading files doesn't work on my project.

The project created by multi-matrix has jobs work on 3 slaves and master.

This is simple project.



  • checked Parameterized Build

  • add parameter [file]

  • file is named "file"

  • matrix

  • checked all nodes or labels

Run job and upload file.

Some nodes report errors.

FATAL: null

java.lang.NullPointerException

at hudson.model.FileParameterValue$1.setUp(FileParameterValue.java:71)

at hudson.model.Build$RunnerImpl.doRun(Build.java:127)

at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:375)

at hudson.model.Run.run(Run.java:1120)

at hudson.matrix.MatrixRun.run(MatrixRun.java:130)

at hudson.model.ResourceController.execute(ResourceController.java:88)

at hudson.model.Executor.run(Executor.java:123)

Master nodes too.

---
Originally reported by tosik, imported from: uploading files doesn't work on multi-matrix project


  • status: Open
  • priority: Major
  • component(s): matrix-project-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 1
  • imported: 2025-12-06

Raw content of original issue

Uploading files doesn't work on my project.

The project created by multi-matrix has jobs work on 3 slaves and master.
This is simple project.



  • checked Parameterized Build

  • add parameter [file]

  • file is named "file"

  • matrix

  • checked all nodes or labels

Run job and upload file.
Some nodes report errors.

FATAL: null
java.lang.NullPointerException
at hudson.model.FileParameterValue$1.setUp(FileParameterValue.java:71)
at hudson.model.Build$RunnerImpl.doRun(Build.java:127)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:375)
at hudson.model.Run.run(Run.java:1120)
at hudson.matrix.MatrixRun.run(MatrixRun.java:130)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:123)

Master nodes too.

  • environment: Platform: All, OS: All

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at hudson.model.FileParameterValue$1.setUp in FileParameterValue.java:71 and trace the matrix execution path through Build.java and MatrixRun.java. Reproduce the file-parameter failure with a multi-matrix job across the listed nodes, then verify that the job completes without the reported NullPointerException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.