You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Mark Frost <mf...@hemscott.co.uk> on 2002/05/30 14:39:27 UTC

java.lang.ArrayIndexOutOfBoundsException: 2 >= 2

We're periodically obtain the following exceptions when performing
transformations with XALAN.

java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
        at java.util.Vector.elementAt(Vector.java:417)
        at
org.apache.xpath.VariableStack.getCurrentFrame(VariableStack.java:246)
        at
org.apache.xpath.VariableStack.pushElemFrame(VariableStack.java:480)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2234)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2134)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1246)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070)
        at java.lang.Thread.run(Thread.java:484)


Most of the time the same XSL/XML combination works fine. Once we get the
error we can never recover and we have to bounce the VM that performs the
transformations.

Has anyone had any similar problems.

We run on Solaris
JDK 1.3.1 b24
XALAN version 2.1.0

many thanks

regards

mark

This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient, you should not copy, retransmit or
use the e-mail and/or files transmitted with it  and should not disclose
their contents. In such a case, please notify netwebmaster@hemscott.co.uk
and delete the message from your own system. Any opinions expressed in this
e-mail and/or files transmitted with it that do not relate to the official
business of this company are those solely of the author and should not be
interpreted as being endorsed by this company.