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 2002/03/04 04:59:44 UTC

DO NOT REPLY [Bug 6833] New: - ArrayIndexOutOfBoundsException

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=6833>.
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=6833

ArrayIndexOutOfBoundsException

           Summary: ArrayIndexOutOfBoundsException
           Product: XalanJ2
           Version: 2.3
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: gurumlore@hotmail.com


Hi,
 we have been recently trying to move to Xalan 2.3.1 from Xalan 1 for
performance reasons. But for some reason, two of our stylesheets behaving 
earlier do not anymore. One of the exception stacktrace follows, after the
description. If required, i can add the stylesheet and the xml used as input.
I couldn't find a similar bug filed already. The error resulting from the
other stylesheet failing, is being logged as a separated bug. Please let
me know at the earliest if there is a workaround for this or if a fix is being 
readied, since we plan to deploy this in production within 2 weeks, to 
alleviate scalability issues associated with Xalan 1.

java com.slamdunknetworks.steam.portal.xml.XsltProcessor2 
InternalCreateCustomerConfirm.xsl 

Translating InternalCreateCustomerConfirm.xsl with 
examples/InternalCreateCustomerConfirm.xml
Exception in thread "main" javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException: 137 >= 11
        at org.apache.xalan.transformer.TransformerImpl.transformNode
(TransformerImpl.java:1226)
        at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:634)
        at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:1088)
        at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:1066)
        at com.slamdunknetworks.steam.portal.xml.XsltProcessor2.main
(XsltProcessor2.java:120)
---------
java.lang.ArrayIndexOutOfBoundsException: 137 >= 11
        at java.util.Vector.elementAt(Vector.java:417)
        at org.apache.xml.dtm.ref.DTMStringPool.indexToString
(DTMStringPool.java:128)
        at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.getStringValue
(SAX2DTM.java:1252)
        at org.apache.xpath.objects.XRTreeFrag.xstr(XRTreeFrag.java:256)
        at org.apache.xpath.objects.XObject.dispatchCharactersEvents
(XObject.java:187)
        at org.apache.xpath.Expression.executeCharsToContentHandler
(Expression.java:303)
        at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:319)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:164)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemTemplate.execute
(ElemTemplate.java:432)
        at org.apache.xalan.templates.ElemCallTemplate.execute
(ElemCallTemplate.java:279)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemTemplate.execute
(ElemTemplate.java:432)
        at org.apache.xalan.templates.ElemCallTemplate.execute
(ElemCallTemplate.java:279)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:710)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
        at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
(TransformerImpl.java:2069)
        at org.apache.xalan.transformer.TransformerImpl.transformNode
(TransformerImpl.java:1171)
        at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:634)
        at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:1088)
        at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:1066)
        at com.slamdunknetworks.steam.portal.xml.XsltProcessor2.main
(XsltProcessor2.java:120)