NPE calling string on nodeset returned from key(qname, nodeset)
---------------------------------------------------------------
Key: XALANJ-2260
URL: http://issues.apache.org/jira/browse/XALANJ-2260
Project: XalanJ2
Type: Bug
Versions: 2.7
Environment: [EMAIL PROTECTED]:~/xalanBug$ uname -a
Linux itchen 2.6.6-1.435.2.3smp #1 SMP Thu Jul 1 08:36:21 EDT 2004 i686 i686
i386 GNU/Linux
run using java -cp ~/xalan-j_2_7_0/xercesImpl.jar:~/xalan-j_2_7_0/xml-apis.jar
-jar ~/xalan-j_2_7_0/xalan.jar -IN test.xml -XSL test.xsl
Reporter: Andrew Shirley
Priority: Minor
called key() with a nodeset containing two elements.
the result (uniqueUnits) can be counted correctly and the contents of the
result selected using "$uniqueUnits[true()]"
if you try to select "$uniqueUnits" you get an NPE
Line #17; Column #62; XSLT Error (javax.xml.transform.TransformerException):
java.lang.NullPointerException
Exception in thread "main" java.lang.RuntimeException:
java.lang.NullPointerException
at org.apache.xalan.xslt.Process.doExit(Process.java:1153)
at org.apache.xalan.xslt.Process.main(Process.java:1126)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]