[Yanel-development] Problem with Wiki resource if optional xslt property within RTI is missing

Michael Wechner michael.wechner at wyona.com
Wed Dec 6 23:41:41 CET 2006


Hi

It seems to me that the Wiki resource does not gracefully handle if 
there is no xslt property within the RTI.
When installing the yulup-demo realm

https://svn.wyona.com/repos/public/yulup/demo/yanel/config

and calling the wiki demo example:

http://127.0.0.1:8080/yanel/yulup-demo/hello-wiki.html

then one receives



714414 2006-12-06 23:37:43,472 [http-8080-Processor21] WARN  
org.wyona.yanel.impl.resources.WikiResource.getXSLTPath():217  - 
java.lang.NullPointerException
714568 2006-12-06 23:37:43,626 [http-8080-Processor21] WARN  
org.wyona.yanel.impl.map.MapImpl.getResourceTypeIdentifier():81  - No 
such node: /introspection-YANEL_PATH_NAME_IS_NULL.xml.yanel-rti 
(Repository: Repository: ID = yulup-demo, Configuration-File = 
/home/michi/src/wyona/public/yulup/demo/yanel/config/yanel-rti-repository.xml, 
Name = Yulup Demo)
714643 2006-12-06 23:37:43,701 [http-8080-Processor21] WARN  
org.wyona.yanel.impl.map.MapImpl.getResourceTypeIdentifier():82  - TODO: 
Implement chain of responsibility ...
714644 2006-12-06 23:37:43,702 [http-8080-Processor21] WARN  
org.wyona.yarep.core.Repository.getInputStream():172  - No UID! Fallback 
to : /introspection-YANEL_PATH_NAME_IS_NULL.xml
714645 2006-12-06 23:37:43,703 [http-8080-Processor21] ERROR 
org.wyona.yarep.core.impl.fs.FileSystemRepositoryInputStream.<init>():34  
- java.io.FileNotFoundException: 
/home/michi/src/wyona/public/yulup/demo/yanel/../introspection-YANEL_PATH_NAME_IS_NULL.xml 
(No such file or directory)
714646 2006-12-06 23:37:43,704 [http-8080-Processor21] WARN  
org.wyona.yanel.servlet.YanelServlet.getContent():234  - 
org.wyona.yarep.core.NoSuchNodeException: 
/home/michi/src/wyona/public/yulup/demo/yanel/../introspection-YANEL_PATH_NAME_IS_NULL.xml 
(No such file or directory)


Thanks

Michi

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