Sorry for sending this again; I wasn't subscribed to mailing list and, maybe, lost some reply on my message. If so, can anyone reply once more ? and, by the way, how can I access most recent messages ? cocooun-users-index seems not working :( ---------- Forwarded message ---------- Date: Wed, 15 Aug 2001 20:48:25 +0400 (MSK/MSD) From: Alexander Petrov <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [C2] cache XInclude problem I use Apache Cocoon 2.0b2 on Tomcat 3.2.3, Linux. sitemap contains: <map:match pattern="info"> <map:generate src="info.xml"/> <map:transform type="xinclude"/> <map:transform src="info.xsl"/> <map:serialize/> </map:match> info.xml contains: <?xml version="1.0"?> <page> <xinclude:include xmlns:xinclude="http://www.w3.org/2001/XInclude" href="a.xml" parse="xml"/> </page> First time accessed "info" outputs fine results. Next time, Cocoon2 returns 404 code; cocoon.log contains org.apache.cocoon.ProcessingException: Failed to execute pipeline.:java.lang.NullPointerException at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:189) and plenty lines of stack trace. I don't want to refuse from caching, because result of this xinclude is going to be compiled as XSP. what should I do : use map:aggregate instead or fix this somehow ? /Alexander --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>