[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-dev
Subject:    [jira] Created: (XALANJ-2260) NPE calling string on nodeset
From:       "Andrew Shirley (JIRA)" <xalan-dev () xml ! apache ! org>
Date:       2006-01-18 10:35:41
Message-ID: 975191621.1137580541980.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

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: aks@itchen:~/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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic