My Oracle Support Banner

APEX: Unable To Use The Sub Template .xsl When Calling From BI Publisher (Doc ID 2439260.1)

Last updated on AUGUST 24, 2018

Applies to:

Oracle Application Express (APEX) - Version 5.1.4 and later
BI Publisher (formerly XML Publisher) - Version 12.0 and later
Information in this document applies to any platform.

Symptoms

When using a BI Pub .rtf template sub-templates with a  with APEX the request fails with:


(16:30:48) daniel.vasile: ConfFile: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
Font Dir: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
Out File: C:\Users\DVASILE\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\31532356229968out.pdf
Run XDO Start
Template: C:\Users\DVASILE\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\tmp.rtf
RTFProcessor setLocale: en-us
RTFProcessor setConfig: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
FOProcessor setData: D:\APP Work\Estaffing\Templates\TESTING\test 13jul2018.xml
FOProcessor setLocale: en-us
FOProcessor setConfig: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
oracle.xdo.XDOException: java.util.EmptyStackException
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1300)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:308)
at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:2105)
at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1208)
at RTF2PDF2.runRTFto(RTF2PDF2.java:484)
at RTF2PDF2.runXDO(RTF2PDF2.java:343)
at RTF2PDF2.main(RTF2PDF2.java:235)
Caused by: java.util.EmptyStackException
at oracle.xdo11g.xslt.XSLProcessor.reportException(XSLProcessor.java:965)
at oracle.xdo11g.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:725)
at oracle.xdo11g.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:391)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

This error initially appeared in BI Publisher, and was resolved with the solution in:
<Note 2247221.1> - BI Publisher Desktop Templates Fail With Error 'oracle.xdo.XDOException: java.util.EmptyStackException' When Using Word Plugin 12.2.1.2 (64bit) With Microsoft Office 2016 (64bit) - was implemented but the error still occurs.

Configuration

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
Cause
Solution
References


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