tracker issue : CF-4181269

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

cfpdf action="thumbnail" throws PDFDocException (Windows)

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Dave Levin / Dave Levin (Dave Levin)

Created: 08/15/2016

Components: Document Management

Versions: 2016

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF2016_Update1 /

Priority/Frequency: Critical / Most users will encounter

Locale/System: English / Windows 10 64 bit

Vote Count: 0

Problem Description:

This is a follow-up to bug:4167755 which was reported for Linux and marked as fixed in ColdFusion 2016 Update 2. This issue is still present after update 2 on Windows.

Steps to Reproduce:

Run CFPDF action="thumbnail" on the attached PDF.  Example:

<cfpdf
     action="thumbnail"
     source="Waste-wise-Business-Spotlight.pdf"
     destination="C:\"
     resolution="high"
     overwrite="yes"
     pages="1"
     scale="100"
     transparent="no"
     format="jpg"
/>

Actual Result:

PDFDocException <p/> Created on Sep 12, 2006

java.lang.RuntimeException: Out of range exception with PdfArrayIterator
	at org.jpedal.objects.raw.PdfArrayIterator.getNextValueAsString(Unknown Source)
	at org.jpedal.io.PageLabels.readLabels(Unknown Source)
	at org.jpedal.io.PdfObjectReader.readPageLabels(Unknown Source)
	at org.jpedal.FileAccess.openPdfFile(Unknown Source)
	at org.jpedal.FileAccess.openPdfFile(Unknown Source)
	at org.jpedal.PdfDecoderServer.openPdfFile(Unknown Source)
	at coldfusion.pdf.PDFDocHandler._extractSinglePDFImages(PDFDocHandler.java:4145)
	at coldfusion.pdf.PDFDocHandler._extractImages(PDFDocHandler.java:4078)
	at coldfusion.pdf.PDFDocHandler.extractImages(PDFDocHandler.java:3974)
	at coldfusion.pdf.PDFDocOperation.thumbnail(PDFDocOperation.java:2930)
	at coldfusion.tagext.lang.PDFTag.doEndTag(PDFTag.java:1990)
	at cffiles2ecfc1428996220$funcCREATEDOCUMENTPREVIEW.runFunction(D:\Web Sites\Delicious Catering Web Site 1.0\admin\cfc\files.cfc:198)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:538)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3485)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3466)


Expected Result:

JPG image.

Any Workarounds:

None Known.

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

Watson Bug ID:	4181269

External Customer Info:
External Company:  
External Customer Name: Dave Levin
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

  1. August 16, 2016 00:00:00: 1_Waste-wise-Business-Spotlight.pdf

Comments:

Hi Dave, The bug CF-4167755 has indeed been fixed, but it will go out in HF3. I don't know how it shows HF2 in your side. You are most probably viewing 'found in build' instead of 'fixed in build'. Thanks, Kailash
Comment by Kailash B.
2026 | August 16, 2016 12:09:15 AM GMT