JDK-6401137 : Null Pointer Exception in Java 1.5
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.transform
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2006-03-20
  • Updated: 2012-04-25
  • Resolved: 2006-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u12Fixed 6 b84Fixed
Description
UGS (ISV) is running into a Null Pointer Exception in a web application deployed in Tomcat 5.1.5 and WebLogic 9.1 using Java 1.5. But the same application works fine in WebLogic 8 and the older version of Tomcat, all of which use Java 1.4. Attached is a small testcase that can show the the Null Pointer Exception.

java.lang.NullPointerException
        at MainXSL.buildKeys()
        at MainXSL.transform()
        at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:640)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)
        at Main.main(Main.java:46)

Comments
EVALUATION a patch has been applied to the JAXP 1.4/Mustang development branch and is available: http://jaxp.dev.java.net after TCK/SQE testing, it will be backported to the JAXP 1.3 & Tiger branches. the patched Mustang jars passed TCK & SQE. the patch has been applied to the JAXP 1.3.x branch. it currently fails the unit test and has been passed back to Santiago.
25-04-2006

EVALUATION bug is reproducible so being accepted.
20-03-2006