[Yanel-dev] Problem with new Yarep repository implementation/API

Michael Wechner michael.wechner at wyona.com
Fri Feb 16 10:13:48 CET 2007


Josias Thöny wrote:

> 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.


thanks very much

Michi

>
> josias
>
>>
>> Thanks
>>
>> Michi
>>
>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61




More information about the Yanel-development mailing list