Error While Invoking BI XSL Subtemplate - java.util.EmptyStackException - java.lang.reflect.InvocationTargetException

(Doc ID 1528270.1)

Last updated on MAY 23, 2017

Applies to:

BI Publisher (formerly XML Publisher) - Version to [Release 11.1]
Information in this document applies to any platform.


On: version, Designing Layout Templates

1. Have XML content CLOB messages in the database.

2. Wanting to generate the RTF and HTML report where to use the HTML formatting as it is while rendering report using BI publisher

3. To achieve this, have written the XSL sub-template and importing into RTF main template.

4. Mapped the RTF main template to report layout and getting the below exception.
The following steps were followed from?

oracle.xdo.template.FOProcessor][EXCEPTION] oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
at oracle.xdo.template.FOProcessor.createFO(
at oracle.xdo.template.FOProcessor.generate(
at RTF2PDF.runRTFto(
at RTF2PDF.runXDO(
at RTF2PDF.main(
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(
at oracle.xdo.common.xml.XSLT10gR1.transform(
at oracle.xdo.common.xml.XSLT10gR1.transform(
at oracle.xdo.common.xml.XSLTWrapper.transform(
... 6 more
Caused by: java.util.EmptyStackException
at oracle.xdo11g.xslt.XSLProcessor.reportException(
at oracle.xdo11g.xslt.XSLProcessor.newXSLStylesheet(
at oracle.xdo11g.parser.v2.XSLProcessor.newXSLStylesheet(
... 15

The issue can be reproduced at will with the following steps:
1. Generate the RTF and HTML report

The issue has the following business impact:
Need to be able to generate the RTF and HTML report where using the HTML formatting as it is while rendering the report using BI publisher.


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