[Issue 149] removing a slave from configuration breaks hudson

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Issue 149] removing a slave from configuration breaks hudson

gradopado-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=149






------- Additional comments from [hidden email] Wed Feb 21 11:02:26 +0000 2007 -------
Additionally, while in this broken state, it happened in one case that accessing
a workspace gave me an error:

--------------------------------------------------------------
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from
fulfilling this request.

exception

javax.servlet.ServletException
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:233)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
        org.kohsuke.stapler.Stapler.service(Stapler.java:68)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

root cause

java.lang.NullPointerException
        hudson.model.Hudson.getComputer(Hudson.java:507)
        hudson.model.Slave.getComputer(Slave.java:351)
        hudson.model.Slave.getFilePath(Slave.java:113)
        hudson.model.Slave.getWorkspaceRoot(Slave.java:190)
        hudson.model.Slave.getWorkspaceFor(Slave.java:183)
        hudson.model.Project.getWorkspace(Project.java:84)
        hudson.model.AbstractProject.doWs(AbstractProject.java:501)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
        org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
        org.kohsuke.stapler.Stapler.service(Stapler.java:68)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]