"oracle.xdo.parser.v2.XMLParseException: Invalid char in text" Error Message is Generating Running XML/BI Publisher Reports
(Doc ID 745451.1)
Last updated on FEBRUARY 19, 2024
Applies to:
Oracle Application Object Library - Version 11.5.0 to 12.1.1 [Release 11.5 to 12.1]BI Publisher (formerly XML Publisher) - Version 5.6.3 to 5.6.3 [Release 5]
BI Publisher (formerly XML Publisher) - Version 10.1.3.3.2 to 10.1.3.4.2 [Release 10.1]
Information in this document applies to any platform.
Symptoms
When trying to create and generate XML/BI report from BI Publisher that has one field or more that contains non text characters, i.e control characters like (Carriage return , bullet point , etc...) one will see an error similar to the following in the report log file:
.....
<Line 1275282, Column 325>: XML-20221: (Fatal Error) Invalid char in text.
[082908_012605137][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:244)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:75)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:658)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:249)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:271)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:258)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:191)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:801)
Caused by: oracle.xdo.parser.v2.XMLParseException: Invalid char in text.
at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)
at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:278)
... 34 more
<Line 1275282, Column 325>: XML-20221: (Fatal Error) Invalid char in text.
[082908_012605137][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:244)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:75)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:658)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:249)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:271)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:258)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:191)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:801)
Caused by: oracle.xdo.parser.v2.XMLParseException: Invalid char in text.
at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)
at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:278)
... 34 more
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 |