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



Reply via email to