BI Publisher - 11g RTF Report Template Element XSL:CHOOSE Usage and Error 'oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException' in the Template Builder (Doc ID 2137016.1)

Last updated on MAY 26, 2016

Applies to:

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

Goal

To resolve template builder issues and errors with BIP 11g RTF template reports using xsl:choose option.

As XSL doesn’t support the IF/ELSE conditional as a native option, and in some cases the below error can occur when null values are involved using xsl:choose option:

FOProcessor setConfig: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1237)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:282)
at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1993)
at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1155)
at RTF2PDF2.runRTFto(RTF2PDF2.java:484)
at RTF2PDF2.runXDO(RTF2PDF2.java:343)
at RTF2PDF2.main(RTF2PDF2.java:235)
Caused by: java.lang.reflect.InvocationTargetException

Solution

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