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

java.lang.ArrayIndexOutOfBoundsException: 4104 from 
org.apache.xalan.serialize.SerializerToXML.accum

           Summary: java.lang.ArrayIndexOutOfBoundsException: 4104 from
                    org.apache.xalan.serialize.SerializerToXML.accum
           Product: XalanJ2
           Version: 2.4
          Platform: Sun
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: Critical
          Priority: Other
         Component: org.apache.xalan.serialize
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


I am getting ArrayIndexOutOfBoundsException when xalan is tested with heavy 
load. Xalan is able to merge the same xml/xsl most of the time. I dont know why 
this is happenning.

The xsl template is cached in the memory when its loaded the first time. I am 
trying to reuse the cached xsl templates for future requests.

Any help is appreciated.

thanks
chander

Here is the stack trace.
================================
4104
javax.xml.transform.TransformerException: 4104
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at javax.xml.transform.TransformerException.<init>
(TransformerException.java:160)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(Compiled 
Code)
        at org.apache.xalan.transformer.TransformerImpl.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
---------
java.lang.ArrayIndexOutOfBoundsException: 4104
        at org.apache.xalan.serialize.SerializerToXML.accum(Compiled Code)
        at org.apache.xalan.serialize.SerializerToHTML.startElement(Compiled 
Code)
        at org.apache.xalan.transformer.QueuedStartElement.flush(Compiled Code)
        at org.apache.xalan.transformer.ResultTreeHandler.flushPending(Compiled 
Code)
        at org.apache.xalan.transformer.ResultTreeHandler.endElement(Compiled 
Code)
        at org.apache.xalan.templates.ElemLiteralResult.execute(Compiled Code)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(Compiled Code)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(Compiled Code)
        at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
(Compiled Code)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(Compiled 
Code)
        at org.apache.xalan.transformer.TransformerImpl.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)

=================================

This is the xml data
====================================================
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" 
href="http://localhost/trp/xsl/marketviewquote.xsl"; media="screen"?>
<RESPONSE><RESULT>SUCCESS</RESULT><DTIX>XjfLoHhxyrBHkckEalR_bEi5xwkWlmAC</DTIX><
FDC>trp</FDC><CANID>219407644</CANID><AUTHTYPE>C</AU
THTYPE><PAGEID>MarketViewQuote</PAGEID><ACCOUNT_NO>30A005005</ACCOUNT_NO><SESSIO
NSOURCE>WEB</SESSIONSOURCE><FIRMCODE>TRP</FIRMCODE><
SUBFIRMCODE>BRK</SUBFIRMCODE><BRANCHCODE>BR</BRANCHCODE><PRODCODE></PRODCODE><PA
RENT_PAGEID>MarketViewQuote</PARENT_PAGEID><EXCHANGE
TYPE>N</EXCHANGETYPE><CMARGIN>Y</CMARGIN><CACTIVE>Y</CACTIVE><ACCOUNTS><ACCTREC>
<ACCTNO>30A005005</ACCTNO><ACCTNAME>30A005005</ACCTN
AME><SELECTED>true</SELECTED></ACCTREC><ACCTREC><ACCTNO>30B999834</ACCTNO><ACCTN
AME>30B999834</ACCTNAME></ACCTREC><ACCTREC><ACCTNO>h
ttp://www.yahoo.com/</ACCTNO><ACCTNAME>View All 
Accounts</ACCTNAME></ACCTREC></ACCOUNTS><DDACTION>myaction</DDACTION><DEFAULT_PA
GEID>StockOrderEntry</DEFAULT_PAGEID><ACCOUNT_NAME>30A005005</ACCOUNT_NAME><XSLC
ODE>/txr/xsl</XSLCODE>
<MARKETINDICES>
<INDEX>DJIA</INDEX>
<LAST>7941.42</LAST>
<CHANGE updown="down">0.97</CHANGE>
</MARKETINDICES>
<MARKETINDICES>
<INDEX>NASDAQ</INDEX>
<LAST>1222.1</LAST>
<CHANGE updown="up">5.60</CHANGE>
</MARKETINDICES>
<MARKETINDICES>
<INDEX>S&amp;P 500</INDEX>
<LAST>841.06</LAST>
<CHANGE updown="down">2.26</CHANGE>
</MARKETINDICES>
<QUOTE>
<SYMBOL></SYMBOL>
<QUOTEBAL>0</QUOTEBAL>
</QUOTE>
<ERRORS>
</ERRORS>
<WARNINGS>
</WARNINGS>
<NOTICES>
</NOTICES>
<MESSAGES>
<MESSAGE CODE="4">we</MESSAGE>
</MESSAGES>
<LDAPID></LDAPID>
<ASOFDATE>09/20/2002</ASOFDATE>
<ASOFTIME>12:12:46 PM</ASOFTIME>
</RESPONSE>
=====================================================================

Reply via email to