On Wed, 2003-08-06 at 13:56, Miguel Carvalho wrote:
> Hi, i want to create a new transformer that gets sax events from a XSP
> Generator created by me.
> 
> i'm using cocoon 2.0.4 under a XP with java version 1.4.1_03.
> 

<snip/>

> 
> org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate(): java.lang.NullPointerException
> 
> request-uri
> 
> /dae/daestart
> 
> original exception
> 
> Original exception : java.lang.NullPointerException
>       at
> org.apache.cocoon.serialization.AbstractTextSerializer.startElement(Abstract
> TextSerializer.java:271)
>       at
> org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:87)
>       at
> pt.laseeb.dae.transformer.daeTransformer.startElement(daeTransformer.java:11
> 6)
> .....
> and it goes on... :(

I have just checked the source of cocoon 2.0.4 and the line 271 of the
AbstractTextSerializer is outside of the startElement method, which
conflicts with what your stacktrace is showing. Are you sure you are
using version 2.0.4, or have you maybe made changes to those sources?

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to