4 Replies Latest reply: Sep 12, 2012 12:05 PM by PaoloM Branched to a new discussion. RSS

    RTFTemplateGenerator

    894597
      Hello All,

      When running the following command under $JAVA_TOP in process of conversion of RDF to BIP getting the following error, Please advice.


      java oracle.apps.xdo.rdfparser.RTFTemplateGenerator /tmp/bip/ZENINMHD.xml
      java.lang.NullPointerException
      at oracle.apps.xdo.flowgenerator.rtf.table.TableRender.printTableDef(TableRender.java:97)
      at oracle.apps.xdo.flowgenerator.rtf.table.RTFFRow.endRow(RTFFRow.java:147)
      at oracle.apps.xdo.flowgenerator.rtf.RTFGenerator.endRow(RTFGenerator.java:1422)
      at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.endRow(RTFTemplateGenerator.java:1728)
      at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1343)
      at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1079)
      at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processReportSubsection(RTFTemplateGenerator.java:968)
      at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.createSection(RTFTemplateGenerator.java:944)
      at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.createDocument(RTFTemplateGenerator.java:932)
      at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.main(RTFTemplateGenerator.java:226)
        • 1. Re: RTFTemplateGenerator
          575992
          Got the same error myself, I don't know how to resolve it either. Happens with old or new bip classes.
          set CLASSPATH=ojdbc14.jar;orai18n.jar;ocrs12.jar;j6241631_xdo.jar;xdoparser.jar;xmlparserv2-904.jar;i18nAPI_v3.jar;collections.jar;aolj.jar;
          set JAVA_CLASS=oracle.apps.xdo.rdfparser.RTFTemplateGenerator
          set JAVA_BINARY=java
          set JAVA_OPTS=-Xmx256M
          set JAVA_CMD=%JAVA_BINARY% -cp %CLASSPATH% %JAVA_OPTS% %JAVA_CLASS% "C:\\R12\\lib\XXFI_RA_RAXINV.xml"
          echo %JAVA_CMD% 
          %JAVA_CMD% 
          c:\R12\lib>echo off
          java -cp ojdbc14.jar;orai18n.jar;ocrs12.jar;j6241631_xdo.jar;xdoparser.jar;xmlparserv2-904.jar;i18nAPI_v3.jar;collections.jar
          ;aolj.jar; -Xmx256M oracle.apps.xdo.rdfparser.RTFTemplateGenerator "C:\\R12\\lib\XXFI_RA_RAXINV.xml"
          [011112_072901413][][ERROR] Table structure is not correct. start/end cell does not match.
          [011112_072901419][][ERROR] Table structure is not correct. Cannot start a table in a row.
          [011112_072901419][][ERROR] Table structure is not correct. start/end row does not match.
          [011112_072901461][][ERROR] Table structure is not correct. startCell() called without startTable().
          [011112_072901461][][ERROR] Table structure is not correct. endRow() called without startTable().
          [011112_072901462][][ERROR] Table structure is not correct. startTable()/endTable() does not match.
          [011112_072902130][][ERROR] Table structure is not correct. start/end cell does not match.
          [011112_072902282][][ERROR] Table structure is not correct. Cannot start a table in a row.
          [011112_072902282][][ERROR] Table structure is not correct. start/end row does not match.
          [011112_072902295][][ERROR] Table structure is not correct. start/end cell does not match.
          [011112_072902307][][ERROR] Table structure is not correct. start/end row does not match.
          [011112_072902360][][ERROR] Table structure is not correct. start/end cell does not match.
          [011112_072902407][][ERROR] Table structure is not correct. Cannot add a paragraph to a row.
          [011112_072902408][][ERROR] Table structure is not correct. Cannot add a paragraph to a row.
          [011112_072902419][][ERROR] Table structure is not correct. Cannot add a paragraph to a row.
          [011112_072902420][][ERROR] Table structure is not correct. Cannot start a table in a row.
          [011112_072902420][][ERROR] Table structure is not correct. start/end row does not match.
          [011112_072902445][][ERROR] Table structure is not correct. startCell() called without startTable().
          [011112_072902451][][ERROR] Table structure is not correct. endRow() called without startTable().
          [011112_072902451][][ERROR] Table structure is not correct. startTable()/endTable() does not match.
          java.lang.StringIndexOutOfBoundsException: String index out of range: 133
          at java.lang.String.substring(String.java:1522)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.textFieldParagraph(RTFTemplateGenerator.java:1491)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1366)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1052)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1257)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1052)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1153)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1052)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1257)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1052)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1153)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1052)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1257)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1052)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processReportSubsection(RTFTemplateGenerator.java:941)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.createSection(RTFTemplateGenerator.java:924)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.createDocument(RTFTemplateGenerator.java:905)
          at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.main(RTFTemplateGenerator.java:199)

          Edited by: Ike Wiggins on Jan 11, 2012 11:27 AM
          • 2. Re: RTFTemplateGenerator
            Jorge Anicama
            1. Can you please copy here the exact command you are performing?
            2. WHat is the version of XMLP or BIP you are using?

            I could take a look at the libraries used.

            Jorge
            • 3. Re: RTFTemplateGenerator
              894597
              The command is

              java oracle.apps.xdo.rdfparser.RTFTemplateGenerator ZENINMHD.xml

              and i am running it on $JAVA_TOP on application server

              Version 10.1.3.2.1

              Thanks

              Edited by: 891594 on Jan 12, 2012 1:59 PM
              • 4. Re: RTFTemplateGenerator
                PaoloM
                Hello Jorge,
                any news?

                I am getting the same error as th OP while trying to convert a seeded report from eBS R12.1.3 (so I have XMLP 5.6.3).
                The command is:

                java -verbose -Xmx256M -cp ./jlib:${CLASSPATH} oracle.apps.xdo.rdfparser.RTFTemplateGenerator PAYNLREM.xml

                and the error is

                java.lang.NullPointerException
                at oracle.apps.xdo.flowgenerator.rtf.table.TableRender.printTableDef(TableRender.java:97)
                at oracle.apps.xdo.flowgenerator.rtf.table.RTFFRow.endRow(RTFFRow.java:159)
                at oracle.apps.xdo.flowgenerator.rtf.RTFGenerator.endRow(RTFGenerator.java:1422)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.endRow(RTFTemplateGenerator.java:1728)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1343)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1079)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1284)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processChildElements(RTFTemplateGenerator.java:1079)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.processReportSubsection(RTFTemplateGenerator.java:968)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.createSection(RTFTemplateGenerator.java:951)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.createDocument(RTFTemplateGenerator.java:930)
                at oracle.apps.xdo.rdfparser.RTFTemplateGenerator.main(RTFTemplateGenerator.java:226)

                Is it a problem in the Java code, or is it by any chance the report that it's too complex to parse?

                Thanks,
                Paolo