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 -> [EMAIL PROTECTED]

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

Reply via email to