cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: problem creating a new transformer
Date Wed, 06 Aug 2003 12:00:26 GMT
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
bruno@outerthought.org                          bruno@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message