4 Replies Latest reply on Apr 2, 2008 1:23 AM by 613003

    pdf printing in report with textfield to search

    587955
      I'm facing this error in bi publisher log:
      [100307_021613640][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:


      <Line 12, Column 18>: XML-20221: (Fatal Error) Invalid char in text.
      <Line 44, Column 11>: XML-20121: (Fatal Error) End tag does not match start tag
      'P300_STRING'.
      <Line 45, Column 1>: XML-20210: (Fatal Error) Unexpected EOF.

      [100307_021613640][][EXCEPTION] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      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.Converter.process(Converter.java:306)
      at oracle.apps.xdo.servlet.Converter.render(Converter.java:239)
      at oracle.apps.xdo.servlet.Converter.doPost(Converter.java:99)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
      stDispatcher.java:711)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
      vletRequestDispatcher.java:368)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
      estHandler.java:866)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
      tHandler.java:448)
      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
      stHandler.java:216)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
      va:117)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
      va:110)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
      cketReadHandler.java:260)
      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
      SocketAcceptHandler.java:239)
      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
      AcceptHandler.java:34)
      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
      ServerSocketAcceptHandler.java:880)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
      sableResourcePooledExecutor.java:298)
      at java.lang.Thread.run(Thread.java:595)
      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.XMLReader.popXMLReader(XMLReader.java:528)
      at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
      rser.java:1287)
      at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidati
      ngParser.java:314)
      at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
      arser.java:281)
      at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:278)
      ... 29 more

      iam using apex 3.0, bi publisher 10.1.3.1.0 and my report region has the Enable Report Printing = Yes.
      i also have a textfield to minimize the search. the error only ocurrs when the search includes the character '%'. It seems to me that apex is using this field (P300_STRING) to form a not well formated xml. Why is apex using this field to form xml?
        • 1. Re: pdf printing in report with textfield to search
          Dimitri Gielis
          Hello,

          This is interesting. Can you put an example somewhere online or mail it to me so I can have a look?

          Basically what you're saying is that if you've a text item with a % in, the pdf's gets an error?
          Did you use the Default Layout?

          Thanks,
          Dimitri
          dimitri.gielis@apex-evangelists.com
          http://dgielis.blogspot.com
          • 2. Re: pdf printing in report with textfield to search
            613003
            Hi Gielis
            <br>
            I am also facing the same problem mentioned above , Please tell if this can be resolved . Erro Message that i get when I put '%' in text filed
            Though I get result no the page but PDF report gives
            Error mentioned below <br><br>

            <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.xml.parser.v2.XMLParseException: Invalid char in text.<br>     at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java(Compiled Code))<br>     at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java(Inlined Compiled Code))<br>     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled Code))<br>     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java(Compiled Code))<br>     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java(Compiled Code))<br>     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:307)<br>     at apex_fop._jspService(_apex__fop.java:74)<br>     [SRC:/apex_fop.jsp:24]<br>     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java(Compiled Code))<br>     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java(Compiled Code))<br>     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java(Compiled Code))<br>     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java(Compiled Code))<br>     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)<br>     at java.lang.Thread.run(Thread.java:568)<br></PRE></BODY></HTML>
            <br>
            I have also mailed the complete problem at your ID<br>
            dimitri.gielis@apex-evangelists.com
            <br>
            Please update if it can be resolved
            <br>
            <br>

            Thanx<br>
            Ajay Singh<br>
            ajaysingh.bura@polaris.co.in
            • 3. Re: pdf printing in report with textfield to search
              592741
              hi
              this is an interesting problem. i have one of my own to add to this. i successfully configured fop using cocoon on my system. it worked for a few months. now suddenly it it again generating empty pdf's. any solutions. why am i experiencing reliability issues?
              sam
              • 4. Re: pdf printing in report with textfield to search
                613003
                Hi All

                Problem mentioned above is resolved by USING latest version of ADODE ACROBAT