Re: PDF merge works once, then fails
Okay, I think there is a bug using cfpdfparam nested within cfpdf action="merge". I pulled the cfpdfparams out, opting instead for a comma-separated list in the Source attribute, and it works. This works: Null pointer after a single iteration: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295798 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
PDF merge works once, then fails
I am trying to merge two separate PDF files into a single two-page file. I'm doing this as part of a loop of 125 records. And I'm losing my mind. The cfpdf merge works one time--the first time--and then returns NullPointerException. It doesn't matter which record I handle first--if I start at record 1, record 2 fails. If I start at record 2 it works but record 3 fails. If I start at record 50 it works but record 51 fails, and on and on. What would cause a nullpointerexception in this case? My code is obviously checking out--it does what it should the first time--and I have no idea what to try next. I'm puzzled. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295796 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4