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/07/17 18:59:25 UTC

DO NOT REPLY [Bug 10908] New: - java.lang.ArrayIndexOutOfBoundsException in BoolStack

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

java.lang.ArrayIndexOutOfBoundsException in BoolStack

           Summary: java.lang.ArrayIndexOutOfBoundsException in BoolStack
           Product: XalanJ2
           Version: 2.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xml.utils
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: bmadigan@wdimail.com


I am using the following stylesheet (which is embedded in a larger document) and code I get the 
stack trace listed at bottom.
The stylesheet is imbedded in a larger document. The document to 
be transformed is not relevant here.

<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template 
match="/">
		<xsl:apply-templates 
select="StagPurchaseOrder"/>
	</xsl:template>
	<xsl:template 
match="StagPurchaseOrder">
		<SimplePurchaseOrder>
			<Order>
				<xsl:attribute 
name="ShippingMethod"><xsl:value-of 
select="/PO/@ShippingMethod"/></xsl:attribute>
				<xsl:attribute 
name="PaymentMethod"><xsl:value-of 
select="/PO/@PaymentMethod"/></xsl:attribute>
				<xsl:attribute 
name="QuantityRequested"><xsl:value-of 
select="/PO/@QuantityRequested"/></xsl:attribute>
				<xsl:attribute 
name="AccountNumber"><xsl:value-of 
select="/PO/@AccountNumber"/></xsl:attribute>
				<xsl:attribute 
name="User"><xsl:value-of 
select="/PO/@UserName"/></xsl:attribute>
				<xsl:attribute 
name="PONumber"><xsl:value-of 
select="/PO/@PONumber"/></xsl:attribute>
				<xsl:attribute 
name="VendorName"><xsl:value-of 
select="/PO/@VendorCode"/></xsl:attribute>
			</Order>
		</SimplePurchaseOrder>
	</xsl:template>
</xsl:stylesheet>

>>> 
code

import java.io.*;
import java.util.*;
import javax.xml.parsers.*;
import 
org.w3c.dom.*;
import org.xml.sax.*;
import org.w3c.dom.traversal.*;
import 
org.apache.xalan.serialize.*;
import org.apache.xerces.parsers.*;
import 
javax.xml.transform.*;
import javax.xml.transform.dom.*;

public class 
XMLTools{
    public static org.w3c.dom.Node transform(Node xsl, Document source)throws 
Exception {
        Source xslSource = new DOMSource(xsl);
        Source domSource = new 
DOMSource(source);
        DOMResult domResult = new DOMResult(XMLTools.getEmptyDocument( 
));
        TransformerFactory tFactory = TransformerFactory.newInstance( );
        
javax.xml.transform.Transformer transformer = tFactory.newTransformer(xslSource);
        
transformer.transform(domSource, domResult);
        return domResult.getNode( );
    }
    
public static Document getEmptyDocument( ) throws Exception {
        Document doc = null;
        
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
        
dbf.setNamespaceAware(true);
        DocumentBuilder db = dbf.newDocumentBuilder( );
        return 
db.newDocument();
    }
}

<<< code

test:
    [junit] Running 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade
    [junit] 
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.532 sec
    [junit] Testsuite: 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade
    [junit] 
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.532 sec
    [junit]
    [junit] Testcase: 
testEveryone took 2.5 sec
    [junit]     Caused an ERROR
    [junit] 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit] 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:767)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit] Caused by: javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:272)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     ... 17 more
    [junit] Caused by: javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:268)
 
   [junit]     ... 20 more
    [junit] Caused by: java.lang.ArrayIndexOutOfBoundsException
    
[junit]     at org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     ... 20 more
    [junit] ---------
    [junit] 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:272)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit] Caused by: javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:268)
 
   [junit]     ... 20 more
    [junit] Caused by: java.lang.ArrayIndexOutOfBoundsException
    
[junit]     at org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     ... 20 more
    [junit] ---------
    [junit] javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:268)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit] Caused by: java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     ... 20 more
    [junit] ---------
    [junit] java.lang.ArrayIndexOutOfBoundsException
    
[junit]     at org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit] ---------
    [junit] java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit] ---------
    [junit] javax.xml.transform.TransformerException: 
java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:268)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit] Caused by: java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     ... 20 more
    [junit] ---------
    [junit] java.lang.ArrayIndexOutOfBoundsException
    
[junit]     at org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit] ---------
    [junit] java.lang.ArrayIndexOutOfBoundsException
    [junit]     at 
org.apache.xml.utils.BoolStack.peek(BoolStack.java:172)
    [junit]     at 
org.apache.xalan.processor.StylesheetHandler.pushSpaceHandling(StylesheetHandler.java:1592)
 
   [junit]     at 
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:650)
 
   [junit]     at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:346)
    [junit]     
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
    [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:225)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:868)
 
   [junit]     at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
 
   [junit]     at 
com.webdeninteractive.xbotts.Utility.XMLTools.transform(XMLTools.java:116)
    
[junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TranslateFacade.translateOutboundMessage(TranslateFacade.java:142)
 
   [junit]     at 
com.webdeninteractive.xbotts.Mapping.translation.TestTranslateFacade.testEveryone(TestTranslateFacade.java:53)
 
   [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
[junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at 
junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at 
junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at 
junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at 
junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at 
junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at 
junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
 
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
 
   [junit]