tracker issue : CF-4205501

select a category, or use search below
(searches all categories and all time range)

Unable to run query inside Dynamic Proxy

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Tyler C. / ()

Created: 10/21/2019

Components: Database, CFQuery

Versions: 2018

Failure Type: Non Functioning

Found In Build/Fixed In Build: 2018.0.01.311402 /

Priority/Frequency: Normal / All users will encounter

Locale/System: / Windows 10 64 bit

Vote Count: 0

Problem Description:

Trying to execute a query using cfquery tag and queryExecute() throws nullPointer when run from within a Dynamic Proxied object.

Steps to Reproduce:

Using RabbitMQs amqp-client-5.6.0.jar consume a queue and react with a proxied CFC.  The connection, channel and consumer are all create on application start and stored in the application scope.

Actual Result:

	at coldfusion.monitor.event.RequestMonitorEventProcessor.createRequestURI(
	at coldfusion.monitor.event.RequestMonitorEventProcessor.onQueryStart(
	at coldfusion.sql.SqlImpl.recordQueryMetrics(
	at coldfusion.sql.SqlImpl.execute(
	at coldfusion.tagext.sql.QueryTag.executeQuery(
	at coldfusion.tagext.sql.QueryTag.startQueryExecution(
	at coldfusion.tagext.sql.QueryUtils.executeQuery(
	at coldfusion.runtime.CFPage.QueryExecute(
	at cfProxiedObject$funcCALLEDFUNCTION.runFunction(C:\PathToFile\ProxiedObject.cfc:12)
	at coldfusion.runtime.UDFMethod.invoke(
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(
	at coldfusion.filter.FunctionAccessFilter.invoke(
	at coldfusion.runtime.UDFMethod.runFilterChain(
	at coldfusion.runtime.UDFMethod.runFilterChain(
	at coldfusion.runtime.UDFMethod.invoke(
	at coldfusion.runtime.TemplateProxy.invoke(
	at coldfusion.runtime.TemplateProxy.invoke(
	at coldfusion.runtime.TemplateProxy.invoke(
	at com.sun.proxy.$Proxy52.calledFunction(Unknown Source)
	at com.rabbitmq.client.impl.ConsumerDispatcher$
	at com.rabbitmq.client.impl.ConsumerWorkService$
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.base/java.util.concurrent.ThreadPoolExecutor$
	at java.base/

Expected Result:

Query is run

Any Workarounds:



This issue appears to be related to using Fusionreactor (version 8.0 and 8.2.1)
Comment by Tyler C.
31675 | October 22, 2019 02:03:36 PM GMT
Issue is resolved in at least Hotfix 4
Comment by Tyler C.
31712 | October 24, 2019 09:42:13 PM GMT
Hi Tyler, Are you still facing this issue with the latest hotfix? -Nimit
Comment by Nimit S.
31869 | November 25, 2019 04:41:10 AM GMT
No, the issue was resolved with updated Fusionreactor and Coldfusion hotfix
Comment by Tyler C.
31948 | December 09, 2019 10:22:16 PM GMT
Thanks for the confirmation Tyler. Can I close this bug now?
Comment by Nimit S.
31949 | December 10, 2019 02:47:43 AM GMT
Comment by Tyler C.
31950 | December 10, 2019 03:42:57 PM GMT
Thanks for the confirmation Tyler!
Comment by Nimit S.
31951 | December 10, 2019 03:58:03 PM GMT