JDK-8024707 : TransformerException : item() return null with node list of length != 1
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 5.0-pool,6-pool,7-pool,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-09-12
  • Updated: 2014-02-12
  • Resolved: 2013-10-01
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 JDK 7 JDK 8
5.0u61Fixed 6u71Fixed 7u60Fixed 8 b112Fixed
Description
When the length of nodelist which is passed to a XSLT extension function is 1, 
the node gotten from the nodelist becomes null. 
The problem originates from incorrect iterator usage in item method of DTMAxisIterNodeList class.