Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7314

Multiconfiguration project has problems with multiple nodes

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hudson 1.373 has problems in assiging nodes/labels to a project.
      I did a fresh install of a hudson master, added a node and create a first multi-conf project.

      This project automaticaly enable the flag 'Build on multiple nodes', but this setting is not saved when I press 'Save'. I only have the 'default' config in this case.
      When I add the axis 'Slaves', I can't select any ( if I keep the other flag enalbed ) or have a NullPointer exception.

        Attachments

          Issue Links

            Activity

            Hide
            jrvilda jrvilda added a comment -

            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.

            java.lang.NullPointerException
            at java.util.ArrayList.(Unknown Source)
            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(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            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:479)

            at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:756)
            at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171)
            at hudson.matrix.MatrixProject.submit(MatrixProject.java:563)
            at hudson.model.Job.doConfigSubmit(Job.java:1064)

            at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:578)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

            at java.lang.reflect.Method.invoke(Unknown Source)
            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.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.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(Unknown Source)

            Generated by Winstone Servlet Engine v0.9.10 at Mon Aug 30 11:56:13 CEST 2010

            Show
            jrvilda jrvilda added a comment - 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. java.lang.NullPointerException at java.util.ArrayList.(Unknown Source) 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(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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:479) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:756) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171) at hudson.matrix.MatrixProject.submit(MatrixProject.java:563) at hudson.model.Job.doConfigSubmit(Job.java:1064) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.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.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(Unknown Source) Generated by Winstone Servlet Engine v0.9.10 at Mon Aug 30 11:56:13 CEST 2010
            Hide
            emmulator emmulator added a comment -

            Are this and issue JENKINS-7281 the same?

            Show
            emmulator emmulator added a comment - Are this and issue JENKINS-7281 the same?
            Hide
            jrvilda jrvilda added a comment -

            Yes

            Show
            jrvilda jrvilda added a comment - Yes

              People

              • Assignee:
                Unassigned
                Reporter:
                ddecock ddecock
              • Votes:
                5 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: