1 Reply Latest reply: Oct 1, 2013 11:28 AM by AlexAnd RSS

    Unable to preview rtf file in any format

    Abbas85

      Hi,

       

      I have created a rtf file and I also have the xml for the same.I loaded xml file with rtf successfully.but when I am trying to see the preview then I am getting error. below is error:

       

      ConfFile: C:\Users\sye59968\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\config\xdo.cfg

      Font Dir: C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts

      Out File: C:\Users\sye59968\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\151380515796672out.pdf

      Run XDO Start

      Template: C:\Users\sye59968\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\tmp.rtf

      RTFProcessor setLocale: en-us

      FOProcessor setData: C:\Users\sye59968\Desktop\rex files\test.xml

      FOProcessor setLocale: en-us

      oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException

        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1207)

        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:278)

        at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:2007)

        at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1142)

        at RTF2PDF2.runRTFto(RTF2PDF2.java:473)

        at RTF2PDF2.runXDO(RTF2PDF2.java:337)

        at RTF2PDF2.main(RTF2PDF2.java:230)

      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.invokeNewXSLStylesheet(XSLT10gR1.java:835)

        at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:572)

        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:1183)

        ... 6 more

      Caused by: java.util.EmptyStackException

        at oracle.xdo11g.xslt.XSLProcessor.reportException(XSLProcessor.java:965)

        at oracle.xdo11g.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:725)

        at oracle.xdo11g.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:391)

        ... 15 more

       

      Kindly suggest me how to resolve and root cause for the same