[coldbox-4.2] Object in RC + async interceptors

48 views
Skip to first unread message

Andrew Matasek

unread,
Jul 1, 2016, 2:24:20 PM7/1/16
to ColdBox Platform
Hello All,

My team is running into a problem where we are unable to use async interceptors if there exists any object in RC at the time of the interceptor announcement. We know that we can't pass objects in the InterceptorData argument of the Interceptor announcement, but it seems the RC is automatically passed to the interceptor as well.

Any advice about what to do in this situation? Is this a known issue or a limitation of the framework?

Thanks in advance,

Andrew Matasek 

br...@bradwood.com

unread,
Jul 1, 2016, 2:25:15 PM7/1/16
to col...@googlegroups.com
Are you getting an error?  What happens when you try?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
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 coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/28ee28ff-cdb6-4148-bd48-73b23b997388%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Matasek

unread,
Jul 1, 2016, 2:47:29 PM7/1/16
to ColdBox Platform
Hey Brad,

The request is returning a 500 server error and below is the first 200 lines of the stack trace from the coldfusion-error.log file.

Exception thrown by error-handling template:
coldfusion.runtime.ObjectDuplicator$UnableToDuplicateCFCException: Unable to duplicate a ColdFusion Component.
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2547)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:125)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.util.CaseInsensitiveMap.duplicate(CaseInsensitiveMap.java:237)
at coldfusion.util.CaseInsensitiveMap.duplicate(CaseInsensitiveMap.java:217)
at coldfusion.tagext.lang.ThreadTag.setAttributeCollection(ThreadTag.java:167)
at coldfusion.tagext.lang.ThreadTag.setAttributecollection(ThreadTag.java:150)
at cfInterceptorState2ecfc2090045048$funcPROCESSASYNC.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\web\context\InterceptorState.cfc:145)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2810)
at cfInterceptorState2ecfc2090045048$funcPROCESS.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\web\context\InterceptorState.cfc:115)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2424)
at cfInterceptorService2ecfc1064949139$funcPROCESSSTATE.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\web\services\InterceptorService.cfc:139)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2424)
at cfFrameworkSupertype2ecfc1584216110$funcANNOUNCEINTERCEPTION.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\FrameworkSupertype.cfc:239)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2810)
at cfJournal2ecfc92199672$funcSENDREPORT.runFunction(G:\www\api.uhlig.com\patientresource\ppmi\handlers\1_00\dailyJournal\Journal.cfc:222)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2810)
at cfEventHandler2ecfc716309929$func_PRIVATEINVOKER.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\EventHandler.cfc:78)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2424)
at cfController2ecfc17089538$funcINVOKER.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\web\Controller.cfc:761)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2810)
at cfController2ecfc17089538$func_RUNEVENT.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\web\Controller.cfc:599)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2810)
at cfController2ecfc17089538$funcRUNEVENT.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\web\Controller.cfc:425)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2424)
at cfBootstrap2ecfc1370607835$funcPROCESSCOLDBOXREQUEST.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\Bootstrap.cfc:197)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2845)
at cfBootstrap2ecfc1370607835$funcONREQUESTSTART.runFunction(G:\apps\lib\frameworks\coldbox-4.2.0\system\Bootstrap.cfc:353)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:432)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:402)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2483)
at cfApplication2ecfc627133582$funcONREQUESTSTART.runFunction(G:\www\api.uhlig.com\patientresource\ppmi\Application.cfc:76)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:432)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:402)
at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:108)
at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:279)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:455)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:142)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:219)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:57)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:450)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:197)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: coldfusion.runtime.ObjectDuplicator$UnableToDuplicateCFCException: Unable to duplicate a ColdFusion Component.
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2547)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:125)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.runtime.Struct.duplicate(Struct.java:153)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:102)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.runtime.Struct.duplicate(Struct.java:153)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:102)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.runtime.TemplateProxy.duplicateScope(TemplateProxy.java:2567)
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2542)
... 153 more
Caused by: coldfusion.runtime.ObjectDuplicator$UnableToDuplicateCFCException: Unable to duplicate a ColdFusion Component.
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2547)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:125)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.runtime.ObjectDuplicator.duplicateList(ObjectDuplicator.java:185)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:99)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.runtime.TemplateProxy.duplicateScope(TemplateProxy.java:2567)
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2542)
... 163 more
Caused by: coldfusion.runtime.ObjectDuplicator$UnableToDuplicateCFCException: Unable to duplicate a ColdFusion Component.
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2547)
at coldfusion.orm.hibernate.CFCObjectProxy.duplicate(CFCObjectProxy.java:268)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:125)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.runtime.TemplateProxy.duplicateScope(TemplateProxy.java:2567)
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2542)
... 170 more
Caused by: coldfusion.runtime.ObjectDuplicator$UnableToDuplicateCFCException: Unable to duplicate a ColdFusion Component.
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2547)
at coldfusion.orm.hibernate.CFCObjectProxy.duplicate(CFCObjectProxy.java:268)
at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:125)
at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:78)
at coldfusion.runtime.TemplateProxy.duplicateScope(TemplateProxy.java:2567)
at coldfusion.runtime.TemplateProxy.duplicate(TemplateProxy.java:2542)
... 175 more

br...@bradwood.com

unread,
Jul 1, 2016, 3:21:41 PM7/1/16
to col...@googlegroups.com
Ahh, so I'm guessing we pass the request collection into the cfthread call that wraps the async interceptor.  I'm not sure if there's a quick work around for this since CFML duplicates all variables that it passes into a thread.  It would be possible for the thread to retrieve the rc from the request service itself, but of course, that assumes the parent thread hasn't already completed since the rc is request-scoped.
--------- Original Message ---------
Message has been deleted

br...@bradwood.com

unread,
Jul 1, 2016, 4:14:49 PM7/1/16
to col...@googlegroups.com
That seems like the best workaround for now.  Another idea is to put stuff like that into the prc (assuming it isn't passed to interceptors too).
 
Would you mind entering a ticket in our JIRA for this so we can track it?  We may come up with some ideas to get it to work, or at least handle the error better.
 
 
> I'm told you are just down the street from us
 
Ahh yes, at you're at Uhlig.  They've got a nice sized team over there.  Maybe enough to get the KC CFUG going again :)

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
Subject: Re: Re: [coldbox:25785] [coldbox-4.2] Object in RC + async interceptors
From: "Andrew Matasek" <andrew...@gmail.com>
Date: 7/1/16 3:08 pm
To: col...@googlegroups.com

Thanks for the response. For now I've just worked around the problem like so:
 
    var hold = rc.RequestedPatientUser;      //The object that was causing the problem
    rc.RequestedPatientUser = ' '; //clear that var in rc
 
    announceInterception( state="sendReport", interceptData=args, async=true);     //make interceptor call
 
    rc.RequestedPatientUser = hold;     //restore the rc variable
 
 
This works, however, we will have to remember this if we ever add anything to the preEvent interceptor that depends on this variable. Also, if anyone puts another object in RC in the preHandler, this will cause issues.
 
I'm told you are just down the street from us. Its pretty cool to work with a framework and get this type of feedback from it's developers!
 
Andrew Matasek

You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/LOxDxE2vtZk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+u...@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

 

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
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 coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.

Andrew Matasek

unread,
Jul 1, 2016, 4:20:04 PM7/1/16
to col...@googlegroups.com
Brad,

I just did an experiment and the same thing happens if there is an object anywhere in prc.

Will add a ticket to your Jira. 

Thanks again!

Luis Majano

unread,
Jul 1, 2016, 5:09:43 PM7/1/16
to coldbox
This is an issue that I am not sure it is possible to tackle in a global approach, since async interceptors just detach the request context.  However, I will investigate further.  What I would suggest is adding a `serializable=false` on objects that might end up there.

However, I will investigate

Andrew Matasek

unread,
Jul 1, 2016, 5:37:56 PM7/1/16
to col...@googlegroups.com
Just fyi, adding "serializable=false" to the config of the ORM entity in question did not change anything.

br...@bradwood.com

unread,
Jul 1, 2016, 5:45:45 PM7/1/16
to col...@googlegroups.com
When you say config, do you mean an annotation on the component tag?
 
component serializable=false {
  ...
}
 
or 
 
<cfcomponent serializable=false>
  ...
</cfcomponent>
--------- Original Message ---------

Andrew Matasek

unread,
Jul 1, 2016, 5:48:25 PM7/1/16
to col...@googlegroups.com
Yes, that is what I did. Sorry I'm still learning the lingo. We also tried adding it to our Base ORM class (making every ORM entity un-serializeable) and received the same 500 internal server error.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages