FYI, I've checked in SVN some fixes to prevent this kind of
NPE exceptions. We still have to figure out what is the cause of the behavior
you're observing.
Thanks,
Jerome
De : Jerome Louvel
Envoyé : vendredi 30 juin 2006 16:51
À : discuss@restlet.tigris.org
Objet : RE: DirectoryHandler - Strange problemsHi Lars,I've just checked the log file of the Restlet.org web site which runs on beta 15 and nothing related to the ContextClient or DirectoryHandler shows up there. I only noticed this exception which may be caused but some invalid HTTP header, I need to check that more closely:java.lang.NullPointerException
at org.restlet.data.Languages.equals(Languages.java:158)
at com.noelios.restlet.impl.CallImpl.getBestVariant(CallImpl.java:261)
at com.noelios.restlet.impl.CallImpl.setBestOutput(CallImpl.java:655)
at org.restlet.data.AbstractResource.handleGet(AbstractResource.java:73)
at org.restlet.AbstractRestlet.handle(AbstractRestlet.java:85)
at org.restlet.AbstractRestlet.handle(AbstractRestlet.java:309)
at org.restlet.AbstractHandler.nextHandle(AbstractHandler.java:57)
at org.restlet.AbstractHandler.defaultHandle(AbstractHandler.java:66)
at org.restlet.AbstractRestlet.handleGet(AbstractRestlet.java:145)
at org.restlet.AbstractRestlet.handle(AbstractRestlet.java:85)
at org.restlet.AbstractRestlet.handle(AbstractRestlet.java:309)
at org.restlet.AbstractHandler.nextHandle(AbstractHandler.java:57)
at org.restlet.AbstractHandler.defaultHandle(AbstractHandler.java:66)
at org.restlet.AbstractRestlet.handleGet(AbstractRestlet.java:145)
at org.restlet.AbstractRestlet.handle(AbstractRestlet.java:85)Thanks,Jerome
De : Lars Heuer [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 30 juin 2006 16:33
À : discuss@restlet.tigris.org
Objet : DirectoryHandler - Strange problems
Hi all,
Is someone using the DirectoryHandler of beta15?
I've encountered strange problems:
1. It seems that the DirectoryHandler slows the app down more than the
'old' DirectoryRestlet
2. Sometimes I get an exception from the ContextClient that the
protocol is not supported. But this does not appear regulary only
sometimes.
I am using the AsyncWeb and Simple connector with file system
directories.
I'd like to know if someone has similiar problems. Sorry for the vague
description, I'll provide more once I've analyzed it further.
Best regards,
Lars
--
http://www.semagia.com