cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: HSSFSerializer doesn't work with XSLTransformer?
Date Thu, 19 Aug 2004 19:50:48 GMT
Stephan Coboos wrote:

> Hello,
> 
> I have a big problem using the HSSFSerializer. If I'm creating a xml
> worksheet by hand and then serializing it using the HSSFSerializer everthing
> works well. But If I'm using a XSLTransformer before to create the
> structure, I got a NullPointerException:
> 
> Original Exception: java.lang.RuntimeException:
> java.lang.NullPointerException
> 	at
> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)

<snip/>


> Why is it not possible to use the HSSFSerializer together with the
> XSLTransformer?

Because of a bug in serializer? Xalan catches NPE and re-throws it 
loosing stacktrace. Catch original NPE and see where it is thrown; IMHO 
it is coming from hssf serializer.

Vadim


Mime
View raw message