2 Replies Latest reply on Aug 21, 2017 6:24 AM by SaQ-Orcl

    PDF preview fails

    SaQ-Orcl

      Hi,

       

      We are getting error while opening report as PDF.

       

      PFB the details

       

      1.The BIP report is based on 3 data sets and each data sets pointing to different obiee analytics report.

      2. Report is rendering perfectly in PDF format we there is data in all three reports.

      3.If there is no data for one of the three reports then PDF preview fails but Report can be previewed using Word and HTML.

      4.We tried at BI report level to replace the nulls with 0 to see if it affects template output but doesn’t seem to work.

      5.It looks like condition for nulls is missing in RTF template which affects PDF preview.

      6.I think this is a bug

       

      Please let us know if any one having thought on this.

       

       

      ERROR :

       

       

      ConfFile: C:\Users\XYZ\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\XYZ\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\231501845460412out.pdf

      Run XDO Start

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

      RTFProcessor setLocale: en-us

      FOProcessor setData: C:\Users\XYZ\Desktop\--JMG-Test Data Model (6).xdm

      FOProcessor setLocale: en-us

      1. java.lang.ArrayIndexOutOfBoundsException: 0 >= 0

      at java.util.Vector.elementAt(Unknown Source)

      at oracle.xdo.template.fo.area.xdofo.HorizontalBreakTableArea.doHorizontalPageBreak(HorizontalBreakTableArea.java:141)

      at oracle.xdo.template.fo.area.AreaObject.doHorizontalPageBreak(AreaObject.java:888)

      at oracle.xdo.template.fo.area.AreaObject.doHorizontalPageBreak(AreaObject.java:888)

      at oracle.xdo.template.fo.area.AreaObject.doHorizontalPageBreak(AreaObject.java:888)

      at oracle.xdo.template.fo.area.AreaObject.doHorizontalPageBreak(AreaObject.java:888)

      at oracle.xdo.template.fo.area.AreaObject.doHorizontalPageBreak(AreaObject.java:888)

      at oracle.xdo.template.fo.area.PageArea.doHorizontalPageBreak(PageArea.java:1175)

      at oracle.xdo.template.fo.area.AreaTree.doHorizontalPageBreak(AreaTree.java:410)

      at oracle.xdo.template.fo.area.AreaTree.addPageArea(AreaTree.java:395)

      at oracle.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:302)

      at oracle.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:143)

      at oracle.xdo.template.fo.FOHandler.endElement(FOHandler.java:752)

      at oracle.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:595)

      at oracle.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)

      at oracle.xdo11g.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)

      at oracle.xdo11g.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1322)

      at oracle.xdo11g.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:366)

      at oracle.xdo11g.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:312)

      at oracle.xdo11g.parser.v2.XMLParser.parse(XMLParser.java:218)

      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.XDOSAXParser.invokeParse(XDOSAXParser.java:203)

      at oracle.xdo.common.xml.XDOSAXParser.parse(XDOSAXParser.java:127)

      at oracle.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:416)

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

      at RTF2PDF2.runRTFto(RTF2PDF2.java:484)

      at RTF2PDF2.runXDO(RTF2PDF2.java:343)

      at RTF2PDF2.main(RTF2PDF2.java:235)

       

       

      Thanks in advance.