My Oracle Support Banner

Unable To Merge Two Pdf Files Using BI Publisher Docmerger.Mergepdfdocs Function (Doc ID 730305.1)

Last updated on APRIL 04, 2025

Applies to:

BI Publisher (formerly XML Publisher) - Version 5.6.3 to 5.6.3 [Release 5]
BI Publisher (formerly XML Publisher) - Version 10.1.3.2.1 to 10.1.3.2.1 [Release 10.1]
Information in this document applies to any platform.
The issue occurs both in BI Publisher embedded in Oracle Applications 11i Release as well as Standalone BI Publisher 10.1.3.2.1.
05-Feb-2010


Symptoms

When attempting to merge two PDF files using BI Publisher's DOCMERGER.MERGEPDFDOCS API the following error occurs.

java.lang.NullPointerException
at java.lang.String.<init>(String.java:144)
at oracle.apps.xdo.template.pdf.PDFParser.initialize(Unknown Source)
at oracle.apps.xdo.template.pdf.PDFParser.<init>(Unknown Source)
..
..

at PDFDocMerge.PDFMerger.docMerging(PDFMerger.java:30)
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.PDFParser.initialize(Unknown Source)
...

Changes

 

Cause

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
Symptoms
Changes
Cause
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.