5 Replies Latest reply: May 10, 2013 3:56 PM by user12001580 RSS

    Bi publisher not working on windows 7

    user12001580
      Hi all I installed Bi Publisher 11.1.1.6 on a new laptop that has windows 7. I am unable to generate a pdf file from an old .rtf template from version BI publisher 10.1.3.4.1. I am getting the following error, any suggestions as to what to do?


      ConfFile: C:\Users\deandrah\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\config\xdo.cfg
      Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
      Out File: C:\Users\deandrah\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\71363810573508out.htm
      Run XDO Start
      Template: C:\Users\deandrah\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\tmp.rtf
      RTFProcessor setLocale: en-us
      FOProcessor setData: C:\Users\deandrah\Documents\testcheck.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.invokeProcessXSL(XSLT10gR1.java:917)
           at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
           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: oracle.xdo11g.xpath.XPathException: value does not match required type
           at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
           at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
           at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
           at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:345)
           at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:193)
           at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:230)
           at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:123)
        • 1. Re: Bi publisher not working on windows 7
          BIPuser
          Set the Form Field Size option under the Build tab (BI Publisher menu -> Options in MS Word) to Backward compatible and give it a try.

          Thanks,
          Bipuser
          • 2. Re: Bi publisher not working on windows 7
            user12001580
            Thanks for replying,

            Unfortunately that did not work.

            Under the preview tab, Style template is blank, Java home set to jre7 and Java option is -Xmx256m
            • 3. Re: Bi publisher not working on windows 7
              user12001580
              I just tried other templates, they worked! However my check template with barcode font is still not working, it works in older version of BI publisher
              • 4. Re: Bi publisher not working on windows 7
                user12001580
                Below is the error that Im getting. Also, when I remove the conditions such as all the IF statements it generates.
                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.invokeProcessXSL(XSLT10gR1.java:917)
                     at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
                     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: oracle.xdo11g.xpath.XPathException: value does not match required type
                     at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
                     at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
                     at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
                     at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:345)
                     at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:193)
                     at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:230)
                     at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:123)
                     ... 15 more
                • 5. Re: Bi publisher not working on windows 7
                  user12001580
                  I narrowed my error down to the following, it will not work in windows 7/ word 2010. Any suggestions on how to change it.
                  <?xdoxslt:set_variable($_XDOCTX,’disAmt’,xdoxslt:get_variable($_XDOCTX,’disAmt’)+translate(DiscountTaken/Amount/Value, '' , 0 ))?>