Search code examples
coldfusionwddx

ColdFusion WDDX conversion doesn't work with ColdFusion images?


I'm trying to create a CFML to WDDX packet as part of a caching mechanism. I get a cfwddx error related to a Java image variable when I attempt to pass in a coldfusion image as part of input. I can get the same error creating a new CF image and then passing that in as input.

  <cfwddx action="cfml2wddx" input="#aNewCFImage#" output="wddxConverted" />  

Error Occurred While Processing Request
Error reading property for java.awt.color.ICC_ColorSpace.maxValue.

ColdFusion 8


Solution

  • You'll have to send it over as a binary file.

    see: http://books.google.ca/books?id=sWjmIxqeBxMC&pg=PA730&lpg=PA730#v=onepage&q&f=false