oracle.xdo.template.rtf.xpath2.ParseException: Encountered "<EOF>" at line 0, column 0. Was expecting one of: "/" ... "//" ... "-" ... "$" ... <Literal> ... <Number> ... "." ... ".." ... "or" ... "and" ... "mod" ... "div" ... "node" ... "text" ... "comment" ... "processing-instruction" ... "current-group" ... "current" ... "self::" ... "child::" ... "parent::" ... "ancestor::" ... "attribute::" ... "namespace::" ... "preceding::" ... "following::" ... "descendant::" ... "ancestor-or-self::" ... "following-sibling::" ... "preceding-sibling::" ... "descendant-or-self::" ... "last" ... "position" ... "count" ... "id" ... "key" ... "local-name" ... "namespace-uri" ... "name" ... "string" ... "concat" ... "starts-with" ... "contains" ... "substring-before" ... "substring-after" ... "substring" ... "string-length" ... "normalize-space" ... "translate" ... "boolean" ... "not" ... "true" ... "false" ... "null" ... "lang" ... "number" ... "sum" ... "floor" ... "ceiling" ... "round" ... "format-number" ... <NCName> ... "(" ... "@" ... "*" ...

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by User10282307-Oracle, 1 year ago
Encountered "<EOF>" at line 0, column 0. Was expecting one of: "/" ... "//" ... "-" ... "$" ... <Literal> ... <Number> ... "." ... ".." ... "or" ... "and" ... "mod" ... "div" ... "node" ... "text" ... "comment" ... "processing-instruction
oracle.xdo.template.rtf.xpath2.ParseException: Encountered "<EOF>" at line 0, column 0. Was expecting one of: "/" ... "//" ... "-" ... "$" ... <Literal> ... <Number> ... "." ... ".." ... "or" ... "and" ... "mod" ... "div" ... "node" ... "text" ... "comment" ... "processing-instruction" ... "current-group" ... "current" ... "self::" ... "child::" ... "parent::" ... "ancestor::" ... "attribute::" ... "namespace::" ... "preceding::" ... "following::" ... "descendant::" ... "ancestor-or-self::" ... "following-sibling::" ... "preceding-sibling::" ... "descendant-or-self::" ... "last" ... "position" ... "count" ... "id" ... "key" ... "local-name" ... "namespace-uri" ... "name" ... "string" ... "concat" ... "starts-with" ... "contains" ... "substring-before" ... "substring-after" ... "substring" ... "string-length" ... "normalize-space" ... "translate" ... "boolean" ... "not" ... "true" ... "false" ... "null" ... "lang" ... "number" ... "sum" ... "floor" ... "ceiling" ... "round" ... "format-number" ... <NCName> ... "(" ... "@" ... "*" ...
at oracle.xdo.template.rtf.xpath2.XPathParser.generateParseException(XPathParser.java:3394)
at oracle.xdo.template.rtf.xpath2.XPathParser.jj_consume_token(XPathParser.java:3281)
at oracle.xdo.template.rtf.xpath2.XPathParser.UnaryExpr(XPathParser.java:1675)
at oracle.xdo.template.rtf.xpath2.XPathParser.MultiplicativeExpr(XPathParser.java:1559)
at oracle.xdo.template.rtf.xpath2.XPathParser.SubtractiveExpr(XPathParser.java:1535)
at oracle.xdo.template.rtf.xpath2.XPathParser.AdditiveExpr(XPathParser.java:1506)
at oracle.xdo.template.rtf.xpath2.XPathParser.RelationalExpr(XPathParser.java:1453)
at oracle.xdo.template.rtf.xpath2.XPathParser.EqualityExpr(XPathParser.java:1415)
at oracle.xdo.template.rtf.xpath2.XPathParser.AndExpr(XPathParser.java:1385)
at oracle.xdo.template.rtf.xpath2.XPathParser.OrExpr(XPathParser.java:1355)
at oracle.xdo.template.rtf.xpath2.XPathParser.Expression(XPathParser.java:966)
at oracle.xdo.template.fo.xml2xsd.XPathPaserCompiler.parse(XPathPaserCompiler.java:76)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.doForEachGroup(OptimizeXSL.java:320)
at sun.reflect.GeneratedMethodAccessor3098.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:176)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimizeNode(OptimizeXSL.java:198)
at oracle.xdo.template.fo.xml2xsd.OptimizeXSL.optimize(OptimizeXSL.java:155)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:537)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:327)
at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:212)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1213)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:282)
at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1982)
at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1144)
at oracle.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:124)
at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:472)
at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:101)
at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1113)
at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:649)
at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:492)
at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:462)
at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:280)
at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:313)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:64)
at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:124)
at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:63)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.