Hi,

Just posting this since it might be of help to others.

If you get the stacktrace listed below, it is likely because you're not
passing a Context when creating a org.restlet.Server object (that is
added to component.getServers()).

java.lang.NullPointerException
        at 
com.noelios.restlet.http.HttpRequest.getClientInfo(HttpRequest.java:219)
        at com.noelios.restlet.LogFilter.formatDefault(LogFilter.java:164)
        at com.noelios.restlet.LogFilter.afterHandle(LogFilter.java:103)
        at org.restlet.Filter.handle(Filter.java:195)
        at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
        at org.restlet.Component.handle(Component.java:875)
        at org.restlet.Server.handle(Server.java:331)
        at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
        at 
com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:146)
        at 
com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:174)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought                            http://www.daisycms.org/
[EMAIL PROTECTED]              http://www.kauriproject.org/

Reply via email to