tracker issue : CF-3797437

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

Error reading PNG image data

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Peter Tilbrook / Peter Tilbrook (Peter Tilbrook)

Created: 07/30/2014

Components: CFIMAGE

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: ALL / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description:

An exception occurred while trying to read the image.
Error reading PNG image data 

Steps to Reproduce:

Read an PNG from a physical file or BLOB database record.

Actual Result:

Exception

Expected Result:

Display image in browser.

Any Workarounds:

Same code works on CF10. Error occurs using Java 7 Update 65 and Java 8 Update 11.

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

Watson Bug ID:	3797437

External Customer Info:
External Company:  
External Customer Name: DarthGuybrushOz
External Customer Email:  
External Test Config: Server Product 	ColdFusion

Version 	11,0,0,289822

Tomcat Version 	7.0.52.0

Edition 	Developer  

Operating System 	Windows Server 2008 R2  

OS Version 	6.1  

Adobe Driver Version 	5.1.1 (Build 0001)  

JVM Details

Java Version 	1.8.0_11  

Java Vendor 	Oracle Corporation  

Java Vendor URL 	http://java.oracle.com/

Java Home 	C:\Program Files\Java\jre8  

Java File Encoding 	Cp1252  

Java Default Locale 	en_AU  

File Separator 	\  

Path Separator 	;  

Line Separator 	Chr(13)

User Name 	DEV$  

User Home 	C:\Windows\system32\config\systemprofile  

User Dir 	C:\ColdFusion11\cfusion\bin  

Java VM Specification Version 	1.8  

Java VM Specification Vendor 	Oracle Corporation  

Java VM Specification Name 	Java Virtual Machine Specification  

Java VM Version 	25.11-b03  

Java VM Vendor 	Oracle Corporation  

Java VM Name 	Java HotSpot(TM) 64-Bit Server VM  

Java Specification Version 	1.8  

Java Specification Vendor 	Oracle Corporation  

Java Specification Name 	Java Platform API Specification  

Java Class Version 	52.0

Attachments:

  1. May 07, 2015 00:00:00: 1_IMG_3581.PNG

Comments:

<legend>Preview Slide</legend> <cfimage source="#Carousel_View.Carousel_Image#" destination="preview.png" action="write" overwrite="true" /> <div class="form-group"> <cfif Len(Carousel_URL) NEQ 0> <a href="#Carousel_URL#" target="_blank"><img class="img-thumbnail" src="#Request.ApplicationURL#_carousel/preview.png" width="100%"></a> <cfelse> <img class="img-thumbnail" src="#Request.ApplicationURL#_carousel/preview.png" width="100%"> </cfif> </div>
Comment by External U.
11478 | July 30, 2014 09:37:44 PM GMT
I had to build custom checks on my CF11 dev environment to display "placeholder" image and not the actual image preview - works fine on the production CF10 server. Buggers me. Custom check as very hard to develop a system that works LIVE and not in production (albeit with differing version of CF!). Lame! Same code different result.
Comment by External U.
11479 | August 01, 2014 03:27:55 AM GMT
Not able to repro the bug. Tried this with a png file located in the local drive: <cfimage source="image.png" destination=newimage.png" action="write" overwrite="true" /> This works as expected in CF11 with default Java as well as with Java 8 Update 11 Please provide more information to reproduce the bug. (Comment added from ex-user id:nawani)
Comment by Adobe D.
11480 | August 18, 2014 05:37:37 AM GMT
Since there has been no response, closing the bug. If you still face this issue please let us know, the bug would be reopened (Comment added from ex-user id:nawani)
Comment by Adobe D.
11481 | December 03, 2014 05:32:48 AM GMT
I'm having the same exact issue on CF 11,0,03,292866. It only happens in certain PNG files, many of which seem to come from Apple devices. I've attached "IMG_3581" from my iPhone (from my daughter's princess game, don't judge) that is causing this error, using the BLOB data as follows in cfscript. Variables.TheImage = ImageNew(BLOBData);
Comment by External U.
11482 | May 06, 2015 01:27:02 PM GMT