Oracle Analytics Publisher

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

BIP RTF Preview Failed

Received Response
424
Views
2
Comments

Hi All,


Encountering this error when trying to run RTF template,

ConfFile: C:\Program Files\Oracle\Oracle Analytics Publisher\Oracle Analytics Publisher Desktop\Template Builder for Word\config\xdoconfig.xml

Font Dir: C:\Program Files\Oracle\Oracle Analytics Publisher\Oracle Analytics Publisher Desktop\Template Builder for Word\fonts

Out File: C:\Users\****\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp1416679038.rtf

Run XDO Start

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

RTFProcessor setLocale: en-us

java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 2

at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4601)

at java.base/java.lang.String.substring(String.java:2704)

at oracle.xdo.common.net.XDOStreamHandlerFactory.registerNewProtocols(XDOStreamHandlerFactory.java:155)

at oracle.xdo.template.FOProcessor.initParams(FOProcessor.java:496)

at oracle.xdo.template.FOProcessor.<init>(FOProcessor.java:456)

at RTF2PDF2.runRTFto(Unknown Source)

at RTF2PDF2.runXDO(Unknown Source)

at RTF2PDF2.main(Unknown Source)

Answers

  • Mallikarjuna Kuppauru-Oracle
    Mallikarjuna Kuppauru-Oracle Rank 8 - Analytics Strategist

    Hi @ User_YU0LW ,

    Welcome to the Oracle Analytics Publisher Community

    To enhance your experience and foster meaningful interactions, we encourage you to personalize your profile by setting up a display name and uploading a profile picture. Your display name will be how others recognize and engage with you in discussions, while a profile picture adds a personal touch to your forum presence. Take a moment to update your profile with a display name and an image representing you. Let's create a vibrant and engaging community together!

    Run time Error, Looks like an compatibility issue, Are you using 64 bit or 32 bit Version of tool?

    Regards,

    Arjun

  • Simonab-Oracle
    Simonab-Oracle Rank 4 - Community Specialist

    Hi @User_YU0LW,

    Could you please confirm/provide the following:

    1. Are you able to run a sample BI Publisher report?

    Please test "Hello Word" report from C:\Program Files\Oracle\Oracle Analytics Publisher\Oracle Analytics Publisher Desktop\Template Builder for Word\samples\RTF templates\HelloWorld

    2. Do you experience the error for all output formats (e.g. PDF, RTF etc)?

    3. Are you using any specific fonts in the affected BP report? If yes is the font mapping configured in the xdoconfig.xml file?

    C:\Program Files\Oracle\Oracle Analytics Publisher\Oracle Analytics Publisher Desktop\Template Builder for Word\config\xdoconfig.xml

    4. Are the fonts in question installed under C:\Program Files\Oracle\Oracle Analytics Publisher\Oracle Analytics Publisher Desktop\Template Builder for Word\fonts folder?

    Thank you,

    Simona