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)

Activity

It appears that the treeview for the Label/Nodes does not submit any data. This happens for the build on multiple nodes tree view as well, meaning that none of my selections will be passed to the server.

anilarora
added a comment - 25/Aug/10 1:17 PM It appears that the treeview for the Label/Nodes does not submit any data. This happens for the build on multiple nodes tree view as well, meaning that none of my selections will be passed to the server.

I just upgraded from 1.36x to 1.374 and my matrix config pages have two sections to specify nodes/slaves: a new detatchable/deletable section titled "Slaves", and the old "Build on multiple nodes" section. Is this the same issue, or am I just not understanding the new UI? I'll attach a screenshot.

emmulator
added a comment - 01/Sep/10 1:42 PM I just upgraded from 1.36x to 1.374 and my matrix config pages have two sections to specify nodes/slaves: a new detatchable/deletable section titled "Slaves", and the old "Build on multiple nodes" section. Is this the same issue, or am I just not understanding the new UI? I'll attach a screenshot.

If I try to manually kick off the job as configured in the screenshot, I get the stacktrace captured in UIerror.txt.

If I uncheck the old "Build on multiple nodes" and select the slaves I want in the new UI element, then try to kick off the build manually, I get no feedback in the UI, but the contents of stdouterror.txt in the hudson log.

If I delete the new 'Slave' section and try to configure with the old "Build on multiple nodes" section, I see the behavior described in this ticket, where my selections are never saved. And if I try to kick off the build I get no feedback in the UI and a similar stacktrace in the log

emmulator
added a comment - 01/Sep/10 2:06 PM If I try to manually kick off the job as configured in the screenshot, I get the stacktrace captured in UIerror.txt.
If I uncheck the old "Build on multiple nodes" and select the slaves I want in the new UI element, then try to kick off the build manually, I get no feedback in the UI, but the contents of stdouterror.txt in the hudson log.
If I delete the new 'Slave' section and try to configure with the old "Build on multiple nodes" section, I see the behavior described in this ticket, where my selections are never saved. And if I try to kick off the build I get no feedback in the UI and a similar stacktrace in the log

jrvilda
added a comment - 03/Sep/10 2:03 AM Also happens in windows.
Having already set up tasks with nodes, to modify any configuration parameter nodes loses or gives error 500, forced to modify the config.xml by hand.

This UI is really not working at all for me, on Firefox 3.6.8 / Mac OS X.
The setTimeout thing I added does allow a first newly-added Slave axis to work, but adding another one results in js errors when I mouseover the first one, and clicking on the 2nd one results in the first one expanding/collapsing. If I save a job with a slave axis and then come back to configure, that control
works when the page comes up but again things break when I add another one.

Alan Harder
added a comment - 10/Sep/10 6:40 PM This UI is really not working at all for me, on Firefox 3.6.8 / Mac OS X.
The setTimeout thing I added does allow a first newly-added Slave axis to work, but adding another one results in js errors when I mouseover the first one, and clicking on the 2nd one results in the first one expanding/collapsing. If I save a job with a slave axis and then come back to configure, that control
works when the page comes up but again things break when I add another one.

oops, I didn't notice the commit above was to branches/rc, so my last testing didn't use the latest code. that fix is working.. I'll just move the include from layout.jelly to MatrixProject/configure-entries.jelly for a more localized fix.

Alan Harder
added a comment - 12/Sep/10 3:40 PM oops, I didn't notice the commit above was to branches/rc, so my last testing didn't use the latest code. that fix is working.. I'll just move the include from layout.jelly to MatrixProject/configure-entries.jelly for a more localized fix.

kofemann, erwan_g.. please provide more detail. what browser type/version/platform are you using? any javascript errors reported in the browser? any exceptions in the hudson server log? kofemann, if you look at the config.xml file for the job after saving, are the values there? ie, is the problem in saving what you selected (so showing nothing when you come back is actually correct, as values were not saved), or in showing the config page (values were saved, but config page not shown correctly).

Alan Harder
added a comment - 14/Sep/10 8:33 AM kofemann, erwan_g.. please provide more detail. what browser type/version/platform are you using? any javascript errors reported in the browser? any exceptions in the hudson server log? kofemann, if you look at the config.xml file for the job after saving, are the values there? ie, is the problem in saving what you selected (so showing nothing when you come back is actually correct, as values were not saved), or in showing the config page (values were saved, but config page not shown correctly).

And cant see any errors in JavaScript, but in hudson.log:[webapp 2010/09/13 09:22:25] - Error while serving http://build01:8080/build/view/Test%20Suite/job/Parallel-S2/configSubmit
java.lang.reflect.InvocationTargetException
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)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
at org.kohsuke.stapler.Stapler.service(Stapler.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$Descri
ptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at hudson.model.Descriptor.newInstance(Descriptor.java:497)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171)
at hudson.matrix.MatrixProject.submit(MatrixProject.java:563)
at hudson.model.Job.doConfigSubmit(Job.java:1062)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:578)
... 53 more
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:488)
... 58 more[Winstone 2010/09/13 09:22:25] - Untrapped Error in Servlet
javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.ma
trix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:569)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
at org.kohsuke.stapler.Stapler.service(Stapler.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$Descri
ptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at hudson.model.Descriptor.newInstance(Descriptor.java:497)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171)
at hudson.matrix.MatrixProject.submit(MatrixProject.java:563)
at hudson.model.Job.doConfigSubmit(Job.java:1062)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:578)
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)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
... 43 more
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:488)
... 58 more

Sep 13, 2010 9:22:42 AM hudson.slaves.CommandLauncher launch
SEVERE: Unable to launch the slave agent for srm-devel
java.io.EOFException: unexpected stream termination
at hudson.remoting.Channel.<init>(Channel.java:342)
at hudson.remoting.Channel.<init>(Channel.java:276)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:297)
at hudson.slaves.CommandLauncher.launch(CommandLauncher.java:120)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

kofemann
added a comment - 14/Sep/10 9:20 AM My browser is firefox 3.6.8 on openSuSE 11.3 x64. I checked config.xml and can see or nodes there:
<axes>
<hudson.matrix.LabelAxis>
<name>label</name>
<values>
<string>dev-vm01</string>
<string>dev-vm02</string>
<string>dev-vm03</string>
<string>dev-vm08</string>
<string>dev-vm09</string>
<string>dev-vm10</string>
<string>dev-vm11</string>
</values>
</hudson.matrix.LabelAxis>
</axes>
And cant see any errors in JavaScript, but in hudson.log:
[webapp 2010/09/13 09:22:25] - Error while serving http://build01:8080/build/view/Test%20Suite/job/Parallel-S2/configSubmit
java.lang.reflect.InvocationTargetException
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)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
at org.kohsuke.stapler.Stapler.service(Stapler.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$Descri
ptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at hudson.model.Descriptor.newInstance(Descriptor.java:497)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171)
at hudson.matrix.MatrixProject.submit(MatrixProject.java:563)
at hudson.model.Job.doConfigSubmit(Job.java:1062)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:578)
... 53 more
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:488)
... 58 more
[Winstone 2010/09/13 09:22:25] - Untrapped Error in Servlet
javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.ma
trix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:569)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
at org.kohsuke.stapler.Stapler.service(Stapler.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$Descri
ptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at hudson.model.Descriptor.newInstance(Descriptor.java:497)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171)
at hudson.matrix.MatrixProject.submit(MatrixProject.java:563)
at hudson.model.Job.doConfigSubmit(Job.java:1062)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:578)
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)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
... 43 more
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:488)
... 58 more
Sep 13, 2010 9:22:42 AM hudson.slaves.CommandLauncher launch
SEVERE: Unable to launch the slave agent for srm-devel
java.io.EOFException: unexpected stream termination
at hudson.remoting.Channel.<init>(Channel.java:342)
at hudson.remoting.Channel.<init>(Channel.java:276)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:297)
at hudson.slaves.CommandLauncher.launch(CommandLauncher.java:120)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
It is still the same host:

I use chrome 6. Hudson use java 1.6
I reproduce the kofemann case too: Save a configuration,check hudson or Confile file: nodes are configured, then when select configure the nodes (with label configuration in slaves section) are sometimes empty... It's no systematic

We are running Hudson 1.376 on a Windows XP master. Hudson currently runs as a Windows service under my user account.

We have a matrix job that I can modify without problems. However, if another internal user accesses Hudson (with IE8) and modifies that job (we have no security set-up) she gets an exception when she saves the job.

This is a recent problem, it was working fine a few weeks back. Please see stack trace below. I wonder if the exception I am seeing is associated with this JIRA issue?

With Hudson 1.377, when trying to change the settings for a Matrix Job, we are now getting:

java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at hudson.model.Descriptor.newInstance(Descriptor.java:497)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171)
at hudson.matrix.MatrixProject.submit(MatrixProject.java:596)
at hudson.model.Job.doConfigSubmit(Job.java:1062)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:581)
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:597)
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)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
at org.kohsuke.stapler.Stapler.service(Stapler.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at java.util.ArrayList.(ArrayList.java:131)
at hudson.matrix.Axis.(Axis.java:74)
at hudson.matrix.LabelAxis.(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:513)
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:488)
... 60 more

Dirk Haun
added a comment - 20/Sep/10 6:35 AM With Hudson 1.377, when trying to change the settings for a Matrix Job, we are now getting:
java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}
at hudson.model.Descriptor.newInstance(Descriptor.java:497)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171)
at hudson.matrix.MatrixProject.submit(MatrixProject.java:596)
at hudson.model.Job.doConfigSubmit(Job.java:1062)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:581)
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:597)
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)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
at org.kohsuke.stapler.Stapler.service(Stapler.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at java.util.ArrayList.(ArrayList.java:131)
at hudson.matrix.Axis.(Axis.java:74)
at hudson.matrix.LabelAxis.(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:513)
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:488)
... 60 more

Under hello world (task is echo hi, and nothing else enabled/selected) conditions, and no slave labels,
a test with two out of two slaves, does not reproduce the problem,
whereas a test with ten out of ten slaves, does reproduce the problem.

Thought the additional information regarding reproduction of the issue might be of assistance.

ken_graham
added a comment - 23/Sep/10 1:42 PM Under hello world (task is echo hi, and nothing else enabled/selected) conditions, and no slave labels,
a test with two out of two slaves, does not reproduce the problem,
whereas a test with ten out of ten slaves, does reproduce the problem.
Thought the additional information regarding reproduction of the issue might be of assistance.

ken_graham
added a comment - 27/Sep/10 8:38 AM 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.

Kohsuke Kawaguchi
added a comment - 27/Feb/11 1:50 AM As of 1.398 I can no longer reproduce this problem. So I'm marking this as fixed.
If people continue to see the problem, please post the steps to reproduce the problem, which would make it a lot easier for us to fix the problem.