IBM Support

PDF attachments in Maximo record are not printed with 'Direct Print with Attachments' action if they include an incorrect trailer

Question & Answer


Question

You might encounter the following error message when trying to do “Direct Print with Attachments” for a Maximo record selection that includes some PDF files as Attachments.
Errors encountered. For details of the error note current time and ask your system admin tocheck server log. Error:ERROR: Could not merge all files. Ask administrator to check server log”.
image 7930
- If the PDF file includes an incorrect trailer and that PDF is added as an Attachment, then you will not be able to do “Direct Print with Attachments”.
The PDF trailer cause of the issue is shown in an error message the SystemOut log.
"
SilentPrintServlet exception while generating report or converting the attachment to pdf
java.io.IOException: Rebuild failed: trailer not found.; Original message: PDF startxref not found.
at com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:446)

"
and same in the SystemErr log:
"
java.io.IOException: trailer not found.
at com.lowagie.text.pdf.PdfReader.rebuildXref(PdfReader.java:1107)
at com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:457)

"
- On the other hand, if the PDF file includes a trailer and that PDF is added as an Attachment, then the “Direct Print with Attachments” action will complete: the Details reports and printable Attachments will be printed successfully.
 

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"ARM Category":[{"code":"a8m50000000CbCWAA0","label":"Reporting"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.0;7.6.1"},{"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSWT9A","label":"IBM Control Desk"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
17 September 2025

UID

ibm16407804