Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Tyler C. / ()
Created: 10/21/2019
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:
java.lang.NullPointerException
at coldfusion.monitor.event.RequestMonitorEventProcessor.createRequestURI(RequestMonitorEventProcessor.java:129)
at coldfusion.monitor.event.RequestMonitorEventProcessor.onQueryStart(RequestMonitorEventProcessor.java:870)
at coldfusion.sql.SqlImpl.recordQueryMetrics(SqlImpl.java:519)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:376)
at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:1208)
at coldfusion.tagext.sql.QueryTag.startQueryExecution(QueryTag.java:841)
at coldfusion.tagext.sql.QueryUtils.executeQuery(QueryUtils.java:72)
at coldfusion.runtime.CFPage.QueryExecute(CFPage.java:12233)
at cfProxiedObject$funcCALLEDFUNCTION.runFunction(C:\PathToFile\ProxiedObject.cfc:12)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:552)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:446)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:397)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:370)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:286)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:818)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:601)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:426)
at coldfusion.runtime.java.CFCDynamicProxy.invoke(CFCDynamicProxy.java:157)
at com.sun.proxy.$Proxy52.calledFunction(Unknown Source)
at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:149)
at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:104)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
Expected Result:
Query is run
Any Workarounds:
Attachments:
Comments: