Failures when running master on Linux and trying to configure Jenkins #125

Closed
whimboo opened this Issue Jul 12, 2012 · 5 comments

Projects

None yet

2 participants

@whimboo

I have setup our new master instance on a fresh Ubuntu installation. Sadly when trying to configure the Jenkins system I get an empty error box and cannot save anything.

Steps:
1. Open Jenkins master at http://10.250.73.243:8080
2. Go to configure Jenkins
3. Click on Save or Apply

With step 3 you will see an empty error box.

In the console I can see failures and warnings:

at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.AssertionError: class org.jruby.proxy.hudson.slaves.NodeProperty$Proxy2 is missing its descriptor
at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1078)
at hudson.slaves.NodeProperty.getDescriptor(NodeProperty.java:79)
at hudson.slaves.NodeProperty.reconfigure(NodeProperty.java:133)
at hudson.slaves.NodeProperty.reconfigure(NodeProperty.java:72)
at hudson.util.DescribableList.rebuild(DescribableList.java:152)
at jenkins.model.GlobalNodePropertiesConfiguration.configure(GlobalNodePropertiesConfiguration.java:24)
at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2620)
at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
... 28 more

Jul 12, 2012 4:50:35 AM hudson.model.Run run
INFO: test #1 main build action completed: FAILURE
Jul 12, 2012 4:51:30 AM hudson.model.Run run
INFO: test #2 main build action completed: SUCCESS
getConfigPage -> /email_node_property/config
Jul 12, 2012 4:52:11 AM winstone.Logger logInternal
SEVERE: Error while serving http://10.250.73.243:8080/configSubmit
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:74)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
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:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:245)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:148)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.AssertionError: class org.jruby.proxy.hudson.slaves.NodeProperty$Proxy2 is missing its descriptor
at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1078)
at hudson.slaves.NodeProperty.getDescriptor(NodeProperty.java:79)
at hudson.slaves.NodeProperty.reconfigure(NodeProperty.java:133)
at hudson.slaves.NodeProperty.reconfigure(NodeProperty.java:72)
at hudson.util.DescribableList.rebuild(DescribableList.java:152)
at jenkins.model.GlobalNodePropertiesConfiguration.configure(GlobalNodePropertiesConfiguration.java:24)
at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2620)
at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2583)
... 38 more

Jul 12, 2012 4:52:11 AM winstone.Logger logInternal
WARNING: Untrapped Error in Servlet
javax.servlet.ServletException: java.lang.AssertionError: class org.jruby.proxy.hudson.slaves.NodeProperty$Proxy2 is missing its descriptor
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:605)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:74)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
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:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:245)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:148)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.AssertionError: class org.jruby.proxy.hudson.slaves.NodeProperty$Proxy2 is missing its descriptor
at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1078)
at hudson.slaves.NodeProperty.getDescriptor(NodeProperty.java:79)
at hudson.slaves.NodeProperty.reconfigure(NodeProperty.java:133)
at hudson.slaves.NodeProperty.reconfigure(NodeProperty.java:72)
at hudson.util.DescribableList.rebuild(DescribableList.java:152)
at jenkins.model.GlobalNodePropertiesConfiguration.configure(GlobalNodePropertiesConfiguration.java:24)
at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2620)
at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuk

This is a blocker we have to fix ASAP.

@davehunt
Mozilla member

This appears to be related to the Node Offline Notification Plugin. If I disable the checkbox labelled 'Node Offline Email Notification' on the node configuration (master or slaves) then the error is not thrown. Enabling it works the first time, but subsequent times fails.

@davehunt
Mozilla member

I have raised an issue against the plugin.

@davehunt
Mozilla member

I have now disabled node offline notifications for all nodes. This seems to have resolved this issue, however I did see a massive exception in the Jenkins console. I modified the console profile with a greater scrollback but have not seen the exception since.

@davehunt
Mozilla member

This may be resolved by #263

@whimboo

This has been fixed by getting rid of the node offline plugin.

@whimboo whimboo closed this Mar 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment