XML Publisher Report Fails And OPP Log File Shows "Java.Io.Utfdataformatexception: Invalid UTF8"

(Doc ID 1389804.1)

Last updated on FEBRUARY 13, 2018

Applies to:

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

Symptoms

E-Business Suite BI Publisher, Concurrent Processing / OPP/ Print related issues

 

 

 

 


When running XML Publisher reports, sometimes they end in status warning or error and the OPP log file has error message "Due To java.io.UTFDataFormatException: Invalid UTF8 encoding":

[12/14/11 2:52:33 PM] [UNEXPECTED] [78437:RT6341001] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:479)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5975)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3555)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3614)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
Caused by: java.io.UTFDataFormatException: Invalid UTF8 encoding.
at oracle.xdo.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
at oracle.xdo.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:175)
at oracle.xdo.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
at oracle.xdo.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
at oracle.xdo.parser.v2.XMLReader.fillBuffer(XMLReader.java:2229)
at oracle.xdo.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:1974)
at oracle.xdo.parser.v2.NonValidatingParser.parseMisc(NonValidatingParser.java:331)
at oracle.xdo.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:300)
at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:280)
at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
... 17 more

 
The issue can be reproduced at will with the following steps:
1. Run the XML Publisher report.

2. View the OPP log when it fails.

Cause

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