T4 PDF Erroring with 'Java.io.FileNotFoundException Directory Name (Is A Directory)' (Doc ID 1986956.1)

Last updated on AUGUST 13, 2015

Applies to:

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


On : 12.1 HRMS RUP7 version, in all instances,

When running the Employee T4 PDF process, it is observed that XML data is produced, but no PDF is generated.

The PDF Document Stream printing subprocess is not launching and the following error occurs.

It is expected that the process creates both XML and PDF output

[070815_124302640][][ERROR] The PDF file seems to be corrupted. Trying to fix the Xref tables.
[070815_124302739][][EXCEPTION] java.io.FileNotFoundException: /app/dev122/fs_ne/inst/dev122_erp-du11app02/logs/appl/conc/log (Is a directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:212)
at java.io.FileOutputStream.(FileOutputStream.java:165)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.writeOutput(Unknown Source)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(Unknown Source)
at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergePDFDocs(Unknown Source)
at oracle.apps.xdo.batch.DocumentProcessorEngine.mergeDocs(Unknown Source)
at oracle.apps.xdo.batch.DocumentProcessorEngine.mergeDocs(Unknown Source)
at oracle.apps.xdo.batch.DocumentProcessorEngine.deliverRequestOutput(Unknown Source)
at oracle.apps.xdo.batch.DocumentProcessorEngine.endElement(Unknown Source)

The issue can be reproduced at will with the following steps:

1. Complete the setup as per <Note 562882.1> - Oracle Human Resources (HRMS) Setup For US, CA and MX Legislations Payroll PDF Reports
2. Run the Employee T4 PDF process
3. Observe that XML output is created but not PDF output
4. The following error is seen on the log file:
[EXCEPTION] java.io.FileNotFoundException


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms