Generation of pdf's in Lucee causing errors

Hello, I have a hosted client that generates a pdf upon checkout of their
shopping cart. They were just recently migrated from Railo where this was
working without an issue. We are currently on V (4.5.3.020).

It is quit strange as pdf creation hadn’t been an issue up till the last
patch. The pdf’s get created however, they are corrupt according to
acrobat when trying to open them and then we get the following error.

Web context x:\Websites\mydomain.com\www* exception.log - ;org.zefer.pd4ml.PD4ML.setPageFooter(org.zefer.pd4ml.
PD4PageMark);org.zefer.pd4ml.PD4ML.setPageFooter(org.
zefer.pd4ml.PD4PageMark)

Message ;org.zefer.pd4ml.PD4ML.setPageFooter(org.zefer.pd4ml.
PD4PageMark);org.zefer.pd4ml.PD4ML.setPageFooter(org.
zefer.pd4ml.PD4PageMark)
Last occurence 47 minutes ago: 20 Jan. 2017 15:04:19
Thread name ajp-nio-8904-exec-2
Type ERROR
File x:\Websites*mydomain.com
\www\cfcs\PDFTemplates\receipt_default.cfm,
line 102
Occurences 1
Detail “ERROR”,“ajp-nio-8904-exec-2”,“01/20/2017”,“15:04:19”,"",";org.zefer.pd4ml.PD4ML.setPageFooter(
org.zefer.pd4ml.PD4PageMark);org.zefer.pd4ml.PD4ML.setPageFooter(org.zefer.pd4ml.PD4PageMark)

at java.lang.Class.getMethod(Class.java:1786):1786
at lucee.commons.pdf.PDF.invoke(PDF.java:194):194
at lucee.commons.pdf.PDF.setPageFooter(PDF.java:125):125
at lucee.commons.pdf.PDFDocument.render(PDFDocument.java:320):320
at lucee.runtime.tag.Document.render(Document.java:645):645
at lucee.runtime.tag.Document._doEndTag(Document.java:541):541
at lucee.runtime.tag.Document.doEndTag(Document.java:503):503
at cfcs.pdftemplates.receipt_default_cfm$cf.call(x:\Websites\mydomain.com\www\cfcs\PDFTemplates\receipt_default.
cfm:102
):102
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:954):954
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:858):858
at cfcs.userpdf_cfc$cf.udfCall(
x:\Websites\mydomain.com\www\cfcs\UserPDF.cfc:212) :212
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:642):642
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1761):1761
at
lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:743)
:743
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1593):1593
at checkout_action_cfm$cf.udfCall* x**:\Websites\mydomain.com\www\checkout_action.
cfm:274*):274

I am also attaching the receipt_default.cfm file which is where the pdf is
generated and the userpdf that has the cf code in it. This code has worked
as is all the way from CF 8 till our latest patch in early December. PDF’s

Any help on this would be greatly appreciated as this site is running a
live auction and is currently not functioning properly.

I actually installed the latest patch this morning and it seems to have
fixed the issue. Apparently the patch *4.5.3.020 *hosed the pdf creation
but the latest stable release fixed it.