[ https://issues.apache.org/jira/browse/XALANJ-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527346 ]
Brian Minchau commented on XALANJ-2395: --------------------------------------- I reviewed Kevin's first patch and suggested that it use the existing clearParamters() method (which does the necessary check against null before doing reset(). I reviewed Kevin's second, revised patch and approve it. Go ahead and commit it Kevin. Dr. Java: "Xalan" never reports its as XSLT4J Java 2.7.6. You are using IBM's version, based on Apache Xalan, but with some other changes. IBM's product reports "XSLT4J Java ...", whereas Apache Xalan would report its version as "Xalan Java ..." (have a look at the source at http://svn.apache.org/viewvc/xalan/java/trunk/src/org/apache/xalan/Version.java?view=markup ) That said, thanks for finding this problem which also exists in the Apache codebase. - Brian Minchau > NullPointerException calling reset() on TransformerIdentityImpl > --------------------------------------------------------------- > > Key: XALANJ-2395 > URL: https://issues.apache.org/jira/browse/XALANJ-2395 > Project: XalanJ2 > Issue Type: Bug > Components: JAXP > Affects Versions: 2.7 > Reporter: Dr. Java > Assignee: Kevin Cormier > Attachments: XALANJ-2395-revised.patch, XALANJ-2395.patch > > > Calling reset() on a Transformer created using > TransformerFactory.newInstance() give a NullPointerException. > java.lang.NullPointerException > at > org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167) > ..... > Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]