All factories fail for the operation "filestore" writing ARGB images out as JPEGs


WriteToBrowser jpeg with an ARGB image throws

because jpeg doesn't support ARGB images

(crashes with, but not aka trycf:latest)

rather than this cryptic error, it should throw "Cannot convert image to jpeg, jpeg doesn't support ARGB images"

another problem is

throws the extremely cryptic error message

lucee.runtime.exp.NativeException:, java.lang.Object, lucee.runtime.type.Collection$Key, lucee.runtime.type.Struct, short, java.lang.String) at java.base/java.lang.Class.getMethod( at org.lucee.extension.image.util.CommonUtil.callWithNamedValues( at org.lucee.extension.image.Image.callWithNamedValues( at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(




Zac Spitzer
September 2, 2020, 1:47 PM

strangely, today I’m now getting the following error with

Can't cast Object type [Struct] to a value of type [Image]

lucee.runtime.exp.CasterException: Can't cast Object type [Struct] to a value of type [Image] at lucee.runtime.op.ExceptonImpl.createCasterException( at org.lucee.extension.image.Image.createImage( at org.lucee.extension.image.tag.Image.doStartTag(

I just tried uninstalling the image snapshot and reinstalling it,. but that didn’t help. but then when I restarted Lucee it worked. I had downgraded to the Image Extension before to test the regression, but I hadn’t restarted Lucee after I updated back to

Also, my deploy.log is set to trace and there was no logging about the extension being removed and installed beyond

"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-5","09/01/2020","15:14:39","extension","Remove FLD file [image-function.fld]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-5","09/01/2020","15:14:39","extension","Remove TLD file image-tag.tldx"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-5","09/01/2020","15:14:39","extension","Deploy fld [image-function.fld]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-5","09/01/2020","15:14:39","extension","Deploy tld/tldx [image-tag.tldx]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-4","09/01/2020","15:23:45","extension","Remove FLD file [image-function.fld]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-4","09/01/2020","15:23:45","extension","Remove TLD file image-tag.tldx"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-4","09/01/2020","15:23:45","extension","Deploy fld [image-function.fld]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-4","09/01/2020","15:23:45","extension","Deploy tld/tldx [image-tag.tldx]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-7","09/02/2020","15:40:11","extension","Remove FLD file [image-function.fld]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-7","09/02/2020","15:40:11","extension","Remove TLD file image-tag.tldx"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-10","09/02/2020","15:41:12","extension","Deploy fld [image-function.fld]"
"INFO","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-10","09/02/2020","15:41:12","extension","Deploy tld/tldx [image-tag.tldx]"

Pothys - MitrahSoft
September 2, 2020, 1:51 PM

Yeah , I also faced this same error.
Initially I tested with image extension version - and then update the version to - release means, works fine.
And if we update version to initial version means, it throws an error like

Zac Spitzer
September 2, 2020, 1:52 PM

I just filed about the lack of deploy.logs when installing / removing and extension

Zac Spitzer
September 2, 2020, 1:59 PM

filed about the problems with the image extensions requiring a restart

Zac Spitzer
September 24, 2020, 8:21 AM

Seems that the new Image snapshot fixes the first problem with (can someone add that fix version?)

I have logged a separate bug for the second problem


Pothys - MitrahSoft


Zac Spitzer




Fix versions


Affects versions