cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: NPE in JXTemplate
Date Tue, 10 May 2005 13:45:33 GMT
Leszek Gawron wrote:
> I am not able to diagnose it properly. Sylvain, could you help?
removing RedundantNamespacesFilter from:

> public void performGeneration(Event startEvent, Event endEvent)
>         throws SAXException {
>     XMLConsumer consumer = new AttributeAwareXMLConsumerImpl(
>             new RedundantNamespacesFilter(this.xmlConsumer));
>     ((Map) expressionContext.get("cocoon")).put("consumer", consumer);
>     Invoker.execute(consumer, this.expressionContext, new ExecutionContext(
>             this.definitions, this.scriptManager), null, startEvent, null);
> }

renders page properly. Still this is not a valid solution.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message