BI Publisher (MOSC)

MOSC Banner

Error in Using the BI Publisher API PDFDocMerger

edited Aug 30, 2023 1:03PM in BI Publisher (MOSC) 8 commentsAnswered
We are using the PDF Document Merger class to merge two PDF documents (File1.pdf, File2.pdf) into a single PDF document (FileNew.pdf)

But getting the following error -

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:496)
        at pdfmerge.main(pdfmerge.java:25)

Basically it is throwing error for 1 of the two files(File1.pdf) used while merging. This is working out if we try to merge File2.pdf with some other file, say File3.pdf. It seems to be a problem with File1.pdf only, but we are able to open File1.pdf from our local systems and it is not corrupted.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center