tracker issue : CF-3987967

select a category, or use search below
(searches all categories and all time range)
Title:

Some Scanned PDF file could n't be read.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Krishna Reddy P)

Created: 05/14/2015

Components: Document Management, PDF manipulation

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF 10 U16 & CF 11 U5 In GMs also /

Priority/Frequency: Major / Some users will encounter

Locale/System: ALL / Mac 10 All,Win XP All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Problem:
Scanned PDF file couldn't be opened and fails at PDFDocument.requirePages()
Gibson BuildId: 6667  Imp Version:58.413496
Caused by: java.lang.NegativeArraySizeException
                at com.adobe.internal.pdftoolkit.core.cos.CosParseBuf.<init>(CosParseBuf.java:58)
                at com.adobe.internal.pdftoolkit.core.cos.CosParseBuf.<init>(CosParseBuf.java:66)
                at com.adobe.internal.pdftoolkit.core.cos.CosObjectStream.getBytesForObject(CosObjectStream.java:111)
                at com.adobe.internal.pdftoolkit.core.cos.XRefTable.getIndirectObject(XRefTable.java:607)
                at com.adobe.internal.pdftoolkit.core.cos.CosDocument.getIndirectObject(CosDocument.java:2957)
                at com.adobe.internal.pdftoolkit.core.cos.CosDocument.resolveReference(CosDocument.java:1104)
                at com.adobe.internal.pdftoolkit.core.cos.CosDictionary.get(CosDictionary.java:293)
                at com.adobe.internal.pdftoolkit.pdf.document.PDFCosDictionary.getDictionaryCosObjectValue(PDFCosDictionary.java:547)
                at com.adobe.internal.pdftoolkit.pdf.document.PDFCatalog.requirePages(PDFCatalog.java:220)
                at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.requirePages(PDFDocument.java:539)
                at coldfusion.pdf.PDFDocHandler.readInternal(PDFDocHandler.java:613)


Method:

Result:
               Exception is thrown instead of merging the pdf
Expected:
               It should be able to read it and merge.

Workaround:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3987967

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Verified with cold fusion 12 and this is working fine with new gibson jar. Issue still persists in coldfusion11.
Comment by Poonam J.
7445 | June 05, 2015 01:24:09 AM GMT
This is working fine with CF 12 , we can close this. For CF11 we will provide hotfix if requirement comes from a user.
Comment by Poonam J.
7446 | August 06, 2015 02:17:58 AM GMT