[Yanel-dev] Problem with new Yarep repository implementation/API
Josias Thöny
josias.thoeny at wyona.com
Fri Feb 16 00:56:32 CET 2007
Michael Wechner wrote:
> Hi
>
> When I turn on the new repository implementation for the yanel website
> realm
>
> src/realms/yanel-website/config/repository.xml
>
> then I receive the following error
>
> 106552 2007-02-15 23:46:24,641 [http-8080-Processor22] ERROR
> org.wyona.yarep.impl.repo.fs.FileSystemNode.readProperties():120 -
> DEBUG: reading meta file:
> /home/michi/src/wyona-svn/public/yanel/trunk/src/realms/yanel-website/content/policies/root.pml.yarep/meta
>
> 106559 2007-02-15 23:46:24,648 [http-8080-Processor22] ERROR
> org.wyona.yanel.servlet.YanelServlet.getResource():680 -
> java.lang.NullPointerException
> at
> org.wyona.yarep.impl.repo.fs.FileSystemRepository.existsNode(FileSystemRepository.java:235)
>
> at
> org.wyona.yarep.impl.repo.fs.FileSystemRepository.exists(FileSystemRepository.java:142)
>
> at
> org.wyona.yanel.core.ResourceManager.getResource(ResourceManager.java:122)
> at
> org.wyona.yanel.servlet.YanelServlet.getResource(YanelServlet.java:676)
> at
> org.wyona.yanel.servlet.YanelServlet.getContent(YanelServlet.java:258)
>
>
>
> which does not happen with the old implementation resp. the
> DefaultRepository implementation.
>
> Any idea what might be wrong?
It was a bug in the ResourceManager of yanel. It should be fixed now.
josias
>
> Thanks
>
> Michi
>
More information about the Yanel-development
mailing list