ColdFusion 8 EXIF error
I was updating an app to take advantage of CF8’s new EXIF reading abilities, and came across an error. When I tried to call imageGetEXIFMetaData() on a certain image, I got a 500 java.lang.StackOverflowError (you can read the complete error in the attached HTML file).
I took a peek at the stack, and found that Adobe is using Metadata Extractor by Drew Noakes. Reading the change log, I found that the bug I hit was fixed with version 2.3.0.
So, I stopped my CF8 service, and replaced %CFROOT%/lib/metadata-extractor-2.2.2.jar with my newly downloaded metadata-extractor-2.3.1.jar. Started CF back up, and my error went away.
Ah, the beauty of Java!

Thanks for this post I am sure it will help a lot of us until this is patched officially by Adobe.
Comment by Mike Brunt — October 27, 2007 @ 12:00 am
Thanks Shannon,
you just saved me from a painful 500
Comment by Patrick Spenceley — March 18, 2009 @ 1:23 pm
[...] Luckily Steve was a better Google Ninja than I, and he found this article from the Webapper folks: ColdFusion 8 EXIF Error [...]
Pingback by Error resizing a JPG with ColdFusion? — July 18, 2009 @ 9:57 am