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 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

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.fo.util.FOUtility.generateFO(FOUtility.java:1275)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:287)
at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:2086)
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)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:927)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:664)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:358)
at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:231)
at oracle.xdo.template.fo

Changes

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

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.