Java.lang.StackOverflowError at org.apache.xpath.objects.XString.equals When Executing Stylesheet From Message Driven Bean in Oracle Application Server 10.1.3.5 (Doc ID 1352531.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.5.0 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.

Symptoms


Message Driver Bean (MDB) 3.0 in Oracle Application Server 10.1.3.5 with JDK 1.6 is executing a stylesheet to transform the XML data using Xalan 2.6.0. It is a quite simple transformation, but it is throwing the following exception:


<PAYLOAD>
<MSG_TEXT>[STI:ejb_inboundTranslator:SalvageAssignmentMDB] Unexpected exception during execution of onMessage: java.lang.StackOverflowError.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.StackOverflowError
at org.apache.xpath.objects.XString.equals(XString.java:337)
at org.apache.xpath.objects.XString.equals(XString.java:337)
at org.apache.xpath.objects.XString.equals(XString.java:337)



The xml is valid and using outside transform client stylesheet is creating a valid output.

The issue started occurring after the upgrade to 10.1.3.5 and  JDK 1.6.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms