My Oracle Support Banner

Preview a PDF Report In Word BI Publisher Add-in Results In Error: java.util.EmptyStackException (Doc ID 2142450.1)

Last updated on MAY 16, 2023

Applies to:

BI Publisher (formerly XML Publisher) - Version and later
Information in this document applies to any platform.


Getting error when attempting to preview a PDF Report in BI Publisher Desktop Template Builder for Word.

You are consistently getting this error when trying to run the BI template.

ConfFile: <....>\Oracle\BIPublisher\TemplateBuilderforWord\config\xdo.cfg
Font Dir: <....>\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
Out File: <....>\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\431463426980311out.pdf
Run XDO Start
Template: <....>\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\tmp.rtf
RTFProcessor setLocale: en-us
FOProcessor setData: <...>\Data\APY2021_CRYSTAL_CHECKS_QAU.xml
FOProcessor setLocale: en-us
oracle.xdo.XDOException: java.util.EmptyStackException
at oracle.xdo.template.FOProcessor.createFO(
at oracle.xdo.template.FOProcessor.generate(
at RTF2PDF2.runRTFto(
at RTF2PDF2.runXDO(
at RTF2PDF2.main(
Caused by: java.util.EmptyStackException
at oracle.xdo11g.xslt.XSLProcessor.reportException(
at oracle.xdo11g.xslt.XSLProcessor.newXSLStylesheet(
at oracle.xdo11g.parser.v2.XSLProcessor.newXSLStylesheet(
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(


You are trying to edit a template that has been running on the server. The template calls external sub-templates.


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

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