You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/09/19 15:34:48 UTC

DO NOT REPLY [Bug 23271] New: - ClassCastException in Sort.java

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23271>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23271

ClassCastException in Sort.java

           Summary: ClassCastException in Sort.java
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: brunofr@olympum.com


A class cast exception is thrown in Sort.java, due to the fact that addVariable 
only adds VariableRefBase to _closureVars list, while compileSortRecord and 
compileSortRecordFactory tries to get from the list and cast to a VariableBase.