Preflight Error: value at index 0 must be an indirect object
This is a bug report relating to the Acrobat XI Pro Preflight program.
I have attached two files as an example.
SOURCE_OUT01.PDF - This file contains a single bookmark linking to page 3 in DESTINATION.PDF
DESTINATION.PDF - The is the target file of the bookmark located in SOURCE.PDF
Acrobat XI Pro has no problem using the bookmark. Opening SOURCE_OUT01.PDF and clicking on the bookmark successfully opens DESTINATION.PDF and goes to page 3.
The problem is that running (Preflight -> PDF analysis -> Report PDF syntax issues) on SOURCE_OUT01.PDF gives the following error:
Incorrect value type for array element at index N
General File Format Error
The array element at index 0 is of incorrect type
Value 2
The value at index 0 must be an indirect object
Value 2
If you open SOURCE_OUT01.PDF in WordPad and search for "Go to bottom", you will see the "array element at index 0" referred to in the Preflight error is contained in object: 107 0 obj
106 0 obj
<< /A 107 0 R /Parent 11 0 R /Title (Go to bottom of page 2 in DESTINATION.PDF)
endobj
107 0 obj
<< /D [ 2 /FitH 440 ] /F 108 0 R /S /GoToR >>
endobj
108 0 obj
<< /F (destination.pdf) /Type /Filespec /UF (destination.pdf) >>
endobj
Specifically, Preflight thinks the 1st element of array [ 2 /FitH 440 ] must be an indirect object(ex. 9999 0 R) instead of the 2 which points to page 3 in the DESTINATION.PDF.
According to the PDF manual I'm using:
Document management — Portable document format — Part 1: PDF 1.7
First Edition 2008-7-1
Section: 12.6.4.3 Remote Go-To Actions
using a page number while doing a Remote Go To Action (/GoToR) is required. Here is what the manual says:
"If the value is an array defining an explicit destination (as described under 12.3.2.2, “Explicit Destinations”), its first element shall be a page number within the remote document rather than an indirect reference to a page object in the current document. The first page shall be numbered 0"
This is why I believe Preflight needs to be modified to allow for this legitimate syntax.
Also, the Acrobat 7 version of Preflight reports SOURCE_OUT01.PDF has no problems. The problem shows up using Acrobat XI Preflight.
Thank You
Closing this request, As there is no plan to fix this bugs in Acrobat XI.
Please feel free to ask if you have any query.
Thanks.
-
AdminGirija Agarwala (Admin, Adobe) commented
Hi Gary,
Thanks for reaching out to us.
This issue is fixed with the latest Acrobat DC version.
Unfortunately, we do not plan to fix any bugs in Acroabt XI from now on.
You can follow the instructions on page https://acrobat.adobe.com/in/en/free-trial-download.html to install and use the 7 day trial version of Acrobat DC.Hope you find this helpful!
Thanks and Regards,
Girija Agarwal
Software Engineer II
Adobe Syytems