Cfpdf add watermark problem

I have a simple code by adding watermark using cfpdf, when the watermark pdf has image, I get error:

lucee.runtime.exp.NativeException: com/sun/image/codec/jpeg/ImageFormatException
at org.icepdf.core.pobjects.Stream.putIntoImageCache(Unknown Source)
at org.icepdf.core.pobjects.Stream.getImage(Unknown Source)
at org.icepdf.core.pobjects.Stream.getImage(Unknown Source)
at org.icepdf.core.pobjects.Resources.getImage(Unknown Source)

I have post the problem and my attached code at [LDEV-2256] - Lucee

This issue was fixed in PDF Extension version 1.1.0.18-SNAPSHOT