1 Reply Latest reply on Feb 10, 2015 2:55 PM by SriniVEERAVALLI

    error in calling of Sub template into template with BI publisher

    aymen_tunisia

      Hi to all,

      I started to work recently with bi publisher ,i created a main RTF template with a call of a sub template like this :

      <?import :file://E:/headerfooter.rtf?>

      <?call:Header?>

      when i execute the pdf preview from word i get this error :

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

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

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

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

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

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

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

          ... 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

       

      I tried to change the syntax of <?import :file://E:/headerfooter.rtf?> to <?import :file:///E:\headerfooter.rtf?> or <?call:Header?> to

      <?call-template:Header?> but still get the same error.thank you for any reponse you send me.

      I work under windows 7 64bits with MS Word 10,BI publisher 11.1.1.7.0,BI publisher Desktop 32bits 11.1.1.7