Oracle Analytics Publisher

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

BI Publisher - Word Preview error/failed

Received Response
437
Views
6
Comments
Andres Munoz
Andres Munoz Rank 1 - Community Starter
edited April 2024 in Oracle Analytics Publisher

I am getting an error when trying to preview a document.

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\andres.m.munoz\AppData\Local\Oracle\OracleAnalyticsPublisher\TemplateBuilderforWord\tmp\tmp\421713201588600out.pdf
Run XDO Start
Template: C:\Users\andres.m.munoz\AppData\Local\Oracle\OracleAnalyticsPublisher\TemplateBuilderforWord\tmp\tmp\tmp.rtf
RTFProcessor setLocale: en-us
java.lang.StringIndexOutOfBoundsException: Range [0, -1) out of bounds for length 2
at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112)
at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349)
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4914)
at java.base/java.lang.String.substring(String.java:2876)
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)

Please advise

Answers

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

    Hi @Andres Munoz

    Did you validated your template before previewing the same? If not, Use the Validate template function and correct any syntax errors.

    If no Errors, Please change the java version and validate again?

    Regards,

    Arjun

  • Andres Munoz
    Andres Munoz Rank 1 - Community Starter

    Yes, the template works fine and I downloaded the latest version of Java, and restarted my pc but it is not working.

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

    Hi @Andres Munoz

    What is your JAVA version? Please downgrade your java version and then try again

    Regards,

    Arjun

  • Andres Munoz
    Andres Munoz Rank 1 - Community Starter

    I have Version 8 update 401.

    Which version do you recommend? I had BI publisher in another machine and it was not giving me this issue.
    Do you know what else it could be?

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

    Hi @Andres Munoz

    Can you confirm your other system JAVA version? where its working fine with out any issue.

    Regards,

    Arjun

  • Michael Angelo Lucena
    Michael Angelo Lucena Rank 1 - Community Starter

    @Andres Munoz - Hi, have you fix this issue?

    I am also encountering this and would like to know how you fix it.