My Oracle Support Banner

Payroll PDF and XML Reports Failing With the Template Seems to be in Either Corrupted or Newer Version than PDF1.4 (Doc ID 956344.1)

Last updated on JULY 10, 2018

Applies to:

Oracle HRMS (US) - Version 12.1 HRMS RUP10 and later
Oracle HRMS (Mexico) - Version 12.1 HRMS RUP10 and later
Oracle HRMS (Canada) - Version 12.1 HRMS RUP10 and later
Information in this document applies to any platform.

Goal

In running the W2 PDF process, the following error is observed:


The log file for XDOPDFPRN module: PDF Document Stream Printing:

parameter:pTempFile :/apps/oracle/product/finprodcomn/temp/101609_114734435/3.xdo
xdoTopPath :/apps/oracle/product/finprodappl/xdo/11.5.0
[101609_125738959][][STATEMENT] <=============> PDFDocMerger Properties list
<=============>PropKey : system-temp-dir ------ PropValue :
/apps/oracle/product/finprodcomn/temp
[101609_125738960][][STATEMENT] <=============> PDFDocMerger Properties list
<=============>PropKey : pdf-permissions-password ------ PropValue : 00x94884deortueo$#$@*&
[101609_125738961][][STATEMENT] <=============> PDFDocMerger Properties list
<=============>PropKey : pdf-security ------ PropValue : true
[101609_125738962][][STATEMENT] <=============> PDFDocMerger Properties list
<=============>PropKey : pdf-encryption-level ------ PropValue : 0
[101609_125738962][][STATEMENT] <=============> PDFDocMerger Properties list
<=============>PropKey : pdf-no-changing-the-document ------ PropValue : true
[101609_125739790][][STATEMENT] /apps/oracle/product/finprodcomn/temp/101609_125739722/0.pdf is
created by PDFDocTokenizer.writeNextPDFDoc()
...
[101609_125740772][][STATEMENT] /apps/oracle/product/finprodcomn/temp/101609_125739722/75.pdf is
created by PDFDocTokenizer.writeNextPDFDoc()
[101609_125740811][][STATEMENT] PDF template is being read and parsed......
[101609_125740811][][STATEMENT] PDFParser uses this tempDir :::
/apps/oracle/product/finprodcomn/temp
[101609_125751011][][STATEMENT] PDFParser.readPDFFile ---> contents size : 12818
[101609_125751012][][STATEMENT] Creating new hashtable of type:
oracle.apps.xdo.template.pdf.util.FPHashtable
[101609_125751045][][STATEMENT] This template's PDF version : 1.4
[101609_125751734][][STATEMENT] The template parsing is done......
...
[101609_125812019][][EVENT] 42th document is merged
[101609_125812188][][STATEMENT] PDF template is being read and parsed......
[101609_125812189][][STATEMENT] PDFParser uses this tempDir ::: null
[101609_125812700][][STATEMENT] PDFParser.readPDFFile ---> contents size : 0
[101609_125812701][][STATEMENT] This template's PDF version : null
[101609_125812704][][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:262)
at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:138)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.processWithNoOut(PDFDocMerger.java:2585)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:449)
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.xdo.oa.cp.JCP4StreamPDFDocMerger.runProgram(JCP4StreamPDFDocMerger.java:99)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)

[101609_125812706][][STATEMENT] Temp File :::
/apps/oracle/product/finprodcomn/temp/101609_125751019/xdo.tmp.0 has been deleted successfully...
[101609_125812707][][STATEMENT] Temp directory :::
/apps/oracle/product/finprodcomn/temp/101609_125751019 has been deleted successfully...
[101609_125812707][][STATEMENT] java.lang.Exception: Document #43 looks corrupted.
at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.processWithNoOut(PDFDocMerger.java:2635)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:449)
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.xdo.oa.cp.JCP4StreamPDFDocMerger.runProgram(JCP4StreamPDFDocMerger.java:99)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)

[101609_125812729][oracle.apps.xdo.batch.FileSearch][STATEMENT]
/apps/oracle/product/finprodcomn/temp/101609_125739722/75.pdf is deleted
[101609_125812730][oracle.apps.xdo.batch.FileSearch][STATEMENT]
/apps/oracle/product/finprodcomn/temp/101609_125739722/74.pdf is deleted
...
[101609_125812887][oracle.apps.xdo.batch.FileSearch][STATEMENT]
/apps/oracle/product/finprodcomn/temp/101609_125739722/0.pdf is deleted
[101609_125812888][oracle.apps.xdo.batch.FileSearch][STATEMENT]
/apps/oracle/product/finprodcomn/temp/101609_125739722 is deleted
[101609_125812889][][EXCEPTION] oracle.apps.xdo.XDOException: java.lang.Exception: Document #43
looks corrupted.
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.xdo.oa.cp.JCP4StreamPDFDocMerger.runProgram(JCP4StreamPDFDocMerger.java:99)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)

 

Made a change to Generate Payroll XDO Reports to have Options field set to -Xmx1524m. After that, ran the Employee W-2 PDF report, and it ran successfully.
Is this a correct thing to do and would that be recommended/supported by Oracle ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.