1 Reply Latest reply on Apr 17, 2009 9:08 PM by 680883

    Deposit Advice (XML) - Template Null.

    680883
      Hi Friends,

      After applying few patches, we could generate the Deposit Advice in XML format.

      When we migrate the same to another instance, We are facing the following problem.

      Request restarted at :26-MAR-2009 16:38:52
      032609_043858688][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-security


      --------------------------------------------------------------------------------
      PropValue : true
      032609_043858690][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : system-temp-dir
      --------------------------------------------------------------------------------
      PropValue : /tmp
      032609_043858690][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-no-changing-the-document
      --------------------------------------------------------------------------------
      PropValue : true
      032609_043858691][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-encryption-level
      --------------------------------------------------------------------------------
      PropValue : 0
      032609_043858718][STATEMENT /tmp/032609_043858710/0.pdf is created by PDFDocTokenizer.writeNextPDFDoc()
      032609_043858736][STATEMENT PDF template is being read and parsed......
      032609_043858737][STATEMENT PDFParser uses this tempDir ::: /tmp
      032609_043858782][STATEMENT PDFParser.readPDFFile ---> contents size : 5
      032609_043858782][STATEMENT Creating new hashtable of type: oracle.apps.xdo.template.pdf.util.FPHashtable
      032609_043858794][STATEMENT java.lang.StringIndexOutOfBoundsException: String index out of range: 5
      at java.lang.String.charAt(String.java:793)
      at oracle.apps.xdo.template.pdf.util.PDFFile.getVersion(PDFFile.java:232)
      at oracle.apps.xdo.template.pdf.Xref.initialize(Xref.java:89)
      at oracle.apps.xdo.template.pdf.Xref.<init>(Xref.java:72)
      at oracle.apps.xdo.template.pdf.PDFParser.initialize(PDFParser.java:261)
      at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:160)
      at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:151)
      at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.<init>(PDFDocMerger.java:1603)
      at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:431)
      at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:378)
      at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
      at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)

      032609_043858795][STATEMENT This template's PDF version : null
      032609_043858797][STATEMENT oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4
      at oracle.apps.xdo.template.pdf.Xref.initialize(Xref.java:294)
      at oracle.apps.xdo.template.pdf.Xref.<init>(Xref.java:72)
      at oracle.apps.xdo.template.pdf.PDFParser.initialize(PDFParser.java:261)
      at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:160)
      at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:151)
      at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.<init>(PDFDocMerger.java:1603)
      at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:431)
      at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:378)
      at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
      at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)

      032609_043858800http://oracle.apps.xdo.batch.FileSearchSTATEMENT /tmp/032609_043858710/0.pdf is deleted
      032609_043858801http://oracle.apps.xdo.batch.FileSearchSTATEMENT /tmp/032609_043858710 is deleted
      032609_043858801][EXCEPTION oracle.apps.xdo.XDOException: oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4
      at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:382)
      at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
      at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)

      Any help is appreciated.

      Thanks
      Rama