jenkinsci / jenkinsci/matrix-project-plugin
[JENKINS-4725] uploading files doesn't work on multi-matrix project
Nobody has claimed this yet.
- 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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