I've entered bug 21974 in bugzilla to address this. -----Original Message----- My configuration is xalan j 2.5.1
(with xerces 2.4.0) and j2sdk 1.4. Using the interpretive transformer
(org.apache.xalan.processor.TransformerFactoryImpl) I can transform the
attached xml and xsl fine. Using the command line method, I can
successfully transform the attached with the XSLTC transformer. How do you pass params to the translet on the
command line? However, I cannot transform the
attached with an XSLTC transformer when running "embedded". I get a NullPointerException. This seems to be particularly true
when I pass a value for the param "procedureChanged". I am running several other transforms this
way without problem, so currently I believe it to be a bug with XSLTC, but
can't exhibit the defect from the command line (unless I can figure out how to
pass params???). The stack trace is
below. java.lang.NullPointerException at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:350) at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:329) at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:329) at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:329) at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:329) at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:329) at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:250) at
org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:201) at
org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:242) at
org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:174) at
org.apache.xalan.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:483) Any help is appreciated. Thanks, Derrick This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message.
This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. |
- NullPointerException Koes, Derrick
- NullPointerException Koes, Derrick
- RE: NullPointerException Koes, Derrick
- NullPointerException cbowditch
- Re: NullPointerException Kevin Cormier
- Re: NullPointerException cbowditch