Hi,

I need to update my issue.

There is no connection with filename.

As I understand it depends on image that I use.


I think I have found that this is a general JAI problem as described in this 
link.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6211480


When I try to open image which does not work on Photoshop, I get error as 
"Could not complete your request because an unknown or invalid JPEG marker type 
is found."

But I can open same image on browsers and Paint. :)

And when I open image on paint and save it again, it works!


As you can see, a strange situation.

I will let you know for future details.


Oguz Demirkapi




-----Original Message-----
From: Oðuz_Demirkapý [mailto:[EMAIL PROTECTED] 
Sent: Samstag, 18. Februar 2006 21:47
To: CF-Talk
Subject: Object Instantiation Exception

Hi,

 

I have a simple photo upload tool for a project. I use image.cfc
(http://www.opensourcecf.com/imagecfc/) to resize uploaded images etc.

 

When I use files which include spaces or underscores in file names, I have
following error.

 


Object Instantiation Exception. 


An exception occurred when instantiating a java object. The cause of this
exception was that: .   The error occurred in
E:\SERVER\CFusionMX7\wwwroot\damg\cfc\image.cfc: line 212
Called from E:\SERVER\CFusionMX7\wwwroot\damg\cfc\image.cfc: line 142
Called from
E:\SERVER\CFusionMX7\wwwroot\damg\v5\admin\dsp_photos_upload.cfm: line 31
Called from E:\SERVER\CFusionMX7\wwwroot\damg\v5\admin\dsp_adminhome.cfm:
line 48
Called from E:\SERVER\CFusionMX7\wwwroot\damg\v5\admin\index.cfm: line 23
Called from E:\SERVER\CFusionMX7\wwwroot\damg\cfc\image.cfc: line 212
Called from E:\SERVER\CFusionMX7\wwwroot\damg\cfc\image.cfc: line 142
Called from
E:\SERVER\CFusionMX7\wwwroot\damg\v5\admin\dsp_photos_upload.cfm: line 31
Called from E:\SERVER\CFusionMX7\wwwroot\damg\v5\admin\dsp_adminhome.cfm:
line 48
Called from E:\SERVER\CFusionMX7\wwwroot\damg\v5\admin\index.cfm: line 23

210 :                     return retVal;
211 :              }
212 :
resizedImage.init(javacast("int",w),javacast("int",h),img.getType());
213 : 
214 :              w = w / img.getWidth();

 

 

I have ColdFusion MX 7 on Win XP Pro and Win2003 Server with same error. 

 

Any idea?

 

TIA!

 

Oðuz Demirkapý

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232801
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to