My Oracle Support Banner

BI Publisher 11g : Error While Invoking XSL Subtemplate "java.util.EmptyStackException, java.lang.reflect.InvocationTargetException" (Doc ID 1528270.1)

Last updated on JUNE 23, 2024

Applies to:

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

Symptoms

On: 11.1.1.5.0 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 link => "http://docs.tpu.ru/docs/oracle/en/fmw/11.1.1.6.0/bi.1111/e22254/design_xsl_sub.htm#BGBBFFHD"

oracle.xdo.template.FOProcessor][EXCEPTION] oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
at RTF2PDF.runRTFto(RTF2PDF.java:659)
at RTF2PDF.runXDO(RTF2PDF.java:455)
at RTF2PDF.main(RTF2PDF.java:302)
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(XSLT10gR1.java:835)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:572)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:327)
at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
... 6 more
Caused by: java.util.EmptyStackException
at oracle.xdo11g.xslt.XSLProcessor.reportException(XSLProcessor.java:952)
at oracle.xdo11g.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:721)
at oracle.xdo11g.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:390)
... 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.

Changes

 NA

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.