3 Replies Latest reply: Feb 5, 2013 10:16 AM by 867716 RSS

    oracle.xdo11g.xqxp.XQException: XPTY0004

    Yogi
      Hi There,

      My RTF report was working fine, but started giving the below error all of a sudden.

      I noticed that error is coming up when using the below expression in the RTF template form field:

      <?xdofx:BEGINNING_BALANCE-CD_PERIOD_RECEIPTS+CF_CM+CF_INV?>

      ERROR:

      ConfFile: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
      Font Dir: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
      Run XDO Start
      Template: C:\Users\AAA\Desktop\YYY\Consolidated Billing Invoice\Template\Version 10\XXYYYINV_V10_6.rtf
      RTFProcessor setLocale: en-us
      FOProcessor setData: C:\Users\YYY\Desktop\YYY\ Invoice\Template\DATA_2222.xml
      FOProcessor setLocale: en-us
      oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
           at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
           at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
           at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
           at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
           at RTF2PDF.runRTFto(RTF2PDF.java:659)
           at RTF2PDF.runXDO(RTF2PDF.java:452)
           at RTF2PDF.main(RTF2PDF.java:302)
      Caused by: java.lang.reflect.InvocationTargetException
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:917)
           at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
           at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:327)
           at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
           at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
           ... 6 more
      Caused by: oracle.xdo11g.xqxp.XQException: XPTY0004
           at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
           at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
           at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
           at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:341)
           at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:189)
           at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:226)
           at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:122)
           ... 15 more



      Please Help.


      Thanks
      Yogi

      Edited by: Yogi on Feb 4, 2013 11:12 AM

      Edited by: Yogi on Feb 4, 2013 3:30 PM

      Edited by: Yogi on Feb 4, 2013 3:33 PM