Omar Alos wrote: > I have eliminated Xalan jar from tomcat and cocoon. I have put the three > Saxon jar in web-inf/lib. ... > Everytime I restart the Tomcat, it work ok just for the first time. The > next ones I tried I get the next error: > > Original exception : java.lang.NullPointerException > at > >org.apache.cocoon.components.xslt.XSLTProcessorImpl.resolve(XSLTProcessorImpl.java:428) ... > The error is in the last line of the sequent code (XSLTProcessorImpl). I > believe the resolver is null.
The resolver is indeed null. It is set to null upon recycling the pipeline after the first, successful request, and not reinitialised. This came up already several times on this lisst, without conclusion so far. I suspect Saxon produces unexpected code for sitemap_xmap.java. Xalan is a bit sloppy sometimes when it comes to variable scopes, perhaps there is a bug in sitemap.xsl. There is also the possibility of a Saxon bug. I'll try to compare the sitemap javas generated by Saxon and Xalan tomorrow. J.Pietschmann --------------------------------------------------------------------- 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]>