cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@managingpartners.com>
Subject Re: [C2] Transformer problem with endDocument()
Date Mon, 22 Apr 2002 23:43:46 GMT
On Monday 22 April 2002 07:00 pm, Artur Bialecki wrote:
> I get the following exception when my XSP uses
> <xsp:expr>Collection</xsp:expr> where each object
> in a collection is a (non-root) DOM Node.
> The XML is generated correctly when I check using
> cocoon-view but error apprears when xalan transformer
> is in the pipeline.
> I'm using Cocoon 2.0.2, with Tomcat 4.0.4b2 on w2k jdk 1.3.1_02
>
> Original exception : java.lang.RuntimeException:
> java.lang.NullPointerException at
> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3231)
> at
> org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Transformer
>HandlerImpl.java:436) at
> org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
> at
> org.apache.cocoon.www.oem.customer.editdetail_xml.generate(editdetail_xml.j
>ava:3767)
>
> Thanks,

Did you check the logs after running w/o Xalan? There might be a NPE in 
there. It sounds like there may be a null in your Collection.
-pete

-- 
peter royal -> proyal@managingpartners.com

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message