Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Solaris 10, sparc. Hudson home on nfs server mounted with v3. JVM 1.5.0_06-b05
Windows
Linux ubuntu
Description
After upgrade to 1.373 our matrix build stop working. Even creating of a new job did not work. The job executes a shell script on multiple nodes in parallel. Configuration changes are simply lost. A NPE option was thrown :
Caused by: java.lang.NullPointerException
at java.util.ArrayList.<init>(ArrayList.java:133)
at hudson.matrix.Axis.<init>(Axis.java:74)
at hudson.matrix.LabelAxis.<init>(LabelAxis.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:409)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:355)
at hudson.model.Descriptor.newInstance(Descriptor.java:466)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:743)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:172)
at hudson.matrix.MatrixProject.submit(MatrixProject.java:561)
at hudson.model.Job.doConfigSubmit(Job.java:1086)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:259)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:126)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:65)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:79)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
a roll back to 1.372 fixed the issue.
Attachments
Issue Links
- is duplicated by
-
JENKINS-7314 Multiconfiguration project has problems with multiple nodes
-
- Resolved
-
Start with a clean 1.377
// no additional plugins - no command line flags, nothing special.
Add two slaves, specifying only the number of executors, home path, and how to connect.
// does not seem to matter what they are or how they are connected (ssh or windows service).
Add a Multi-configuration job.
Select "Add Axis" then select "Slaves".
// This should pull up a dialog box, where only Individual Nodes is expandable, if directions above were followed.
Select all entries (should be three if directions above were followed).
Save the job.
The display should show three status indicators.
Select Configure.
Expand the "Individual Nodes" node in the Slaves dialog box.
Note that the Master node is the only one selected.