tracker issue : CF-4181269

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

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:


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 Source)
	at 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(
	at coldfusion.pdf.PDFDocHandler._extractImages(
	at coldfusion.pdf.PDFDocHandler.extractImages(
	at coldfusion.pdf.PDFDocOperation.thumbnail(
	at coldfusion.tagext.lang.PDFTag.doEndTag(
	at cffiles2ecfc1428996220$funcCREATEDOCUMENTPREVIEW.runFunction(D:\Web Sites\Delicious Catering Web Site 1.0\admin\cfc\files.cfc:198)
	at coldfusion.runtime.UDFMethod.invoke(
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(
	at coldfusion.filter.FunctionAccessFilter.invoke(
	at coldfusion.runtime.UDFMethod.runFilterChain(
	at coldfusion.runtime.UDFMethod.invoke(
	at coldfusion.runtime.CfJspPage._invokeUDF(
	at coldfusion.runtime.CfJspPage._invokeUDF(

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:


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


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