cfpdf addwatermark error

Description

I'm trying to add a watermark to a pdf document using cfpdf tag:

<cfpdf action="addwatermark" source="LessonsLearned-Report-25-09-2017.pdf" image="Fanous.png" foreground="yes" overwrite="yes" />

and I'm receiving the below error:

java.lang.NullPointerException

Environment

Windows 10

Activity

Show:
Tom King
January 17, 2021, 2:47 PM

Here’s a temp workaround if anyone needs it:

Andri Senjaya
November 27, 2020, 7:44 AM

yes, I have the same problem when adding watermark image with cfpdf too

JWJ van der Drift
September 16, 2020, 8:46 AM
Edited

I’m having this issue on Lucee 5.3.4.80

My PDF extension is 1.0.0.80 (and the error also occurs with PDF Extension 1.0.0.94-SNAPSHOT)

Below is the function where I try to add the watermark

Lucee 5.3.4.80

Andrew Mercer
November 20, 2018, 5:31 AM

I just tried this two examples
https://www.raymondcamden.com/2007/07/13/ColdFusion-8-Working-with-PDFs-Part-3

image version gives same error reported on this ticket

pdf version returns a struct

Lucee 5.2.8.50

Assignee

Michael Offner

Reporter

Mustafa Abusalah

Priority

Major

Labels

Fix versions

None

Affects versions