event.renderData issue in Bootstrap.cfc

I’ve got a simple handler function that gets some data and uses event.renderData to render it in JSON. This works great in my dev environment. When I migrate to production I’m getting the following error

Type: java.lang.UnsupportedOperationException

Tag: CF_STRUCTBEAN
Template: C:\inetpub\wwwroot\nations\coldbox\system\Bootstrap.cfc
Line: 241

Here is what that part of the bootstrap.cfc looks like.

In prod I’m running

CF Version 11,0,13,303668

Java Version 1.8.0_161

In dev I’m running
CF Version 2016,0,06,308055

Java Version 1.8.0_112

Is there a known issue with renderData in ColdBox SEEK 4.3.0+188 Nehemiah using CF11 vs 2016?

Thanks.

Jonathan

There are some issues in ACF with getting the response object. We fixed these in 5

Luis Majano
CEO
Ortus Solutions, Corp
1-888-557-8057

@lmajano
@ortussolutions

– -- You received this message because you are subscribed to the Google Groups “ColdBox Platform” group. For News, visit For Documentation, visit For Bug Reports, visit — You received this message because you are subscribed to the Google Groups “ColdBox Platform” group. To unsubscribe from this group and stop receiving emails from it, send an email to . To post to this group, send email to . To view this discussion on the web visit . For more options, visit .

Yep, I would guess you have different versions of Adobe CF in dev and production? Adobe broke this at some point. We put in a ticket in the Adobe bug tracker if I recall but I can’t find it right now as the Adobe bug tracker is down :confused: This happened after we had basically stopped dev on ColdBox 4.x and the workaround went into ColdBox 5 which was close to release at the time (and came out in April)

Luckily for you, the upgrade path for ColdBox 5 is pretty straight forward

https://coldbox.ortusbooks.com/intro/introduction/upgrading-to-coldbox-5

Thanks!

~Brad

Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com