Error after 3.1 to 3.7 upgrade

55 views
Skip to first unread message

nick

unread,
Sep 10, 2013, 8:20:24 PM9/10/13
to col...@googlegroups.com
Hi

I'm getting the following error trying to load my site after I upgrade from 3.1 to 3.7:

I think this is the relevant line of code in my Wirebox.cfc:
map("functionDefinitions").toValue(xmlParse(getProperty("FunctionDefinitionsLocation")));

Where FunctionDefinitionsLocation is just the location to an xml file with simple content of "<functions/>";

Any idea what I need to do to fix this?

      The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.


The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request

Could not find the ColdFusion component or interface <?xml version="1.0" encoding="UTF-8"?> <functions/>.

Ensure that the name is correct and that the component or interface exists.
 
The error occurred in C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/core/util/Util.cfc: line 305
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc: line 428
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/plugins/BeanFactory.cfc: line 255
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/plugins/IOC.cfc: line 106
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/dsl/ColdBoxDSL.cfc: line 214
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/dsl/ColdBoxDSL.cfc: line 37
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Builder.cfc: line 327
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc: line 594
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc: line 481
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/scopes/NoScope.cfc: line 33
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc: line 261
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/services/HandlerService.cfc: line 120
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/services/HandlerService.cfc: line 141
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/Controller.cfc: line 550
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/Coldbox.cfc: line 74
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/predictmrs/apps/BasePredictApplication.cfc: line 48
303 : 				<cfset md = getMetaData(component)>
304 : 			<cfelse>
305 : 				<cfset md = getComponentMetaData(component)>
306 : 			</cfif>
307 : 		</cfif>

Resources:

Browser   Mozilla/5.0 (Windows NT 5.1; rv:23.0) Gecko/20100101 Firefox/23.0
Remote Address   127.0.0.1
Referrer  
Date/Time   11-Sep-13 12:13 PM
Stack Trace
at cfUtil2ecfc463499594$funcGETINHERITEDMETADATA.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/core/util/Util.cfc:305) at cfInjector2ecfc1843429502$funcAUTOWIRE.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc:428) at cfBeanFactory2ecfc456984343$funcAUTOWIRE.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/plugins/BeanFactory.cfc:255) at cfIOC2ecfc464254520$funcGETBEAN.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/plugins/IOC.cfc:106) at cfColdBoxDSL2ecfc689767582$funcGETIOCDSL.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/dsl/ColdBoxDSL.cfc:214) at cfColdBoxDSL2ecfc689767582$funcPROCESS.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/dsl/ColdBoxDSL.cfc:37) at cfBuilder2ecfc1761059509$funcBUILDDSLDEPENDENCY.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Builder.cfc:327) at cfInjector2ecfc1843429502$funcPROCESSINJECTION.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc:594) at cfInjector2ecfc1843429502$funcAUTOWIRE.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc:481) at cfNoScope2ecfc1108943968$funcGETFROMSCOPE.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/scopes/NoScope.cfc:33) at cfInjector2ecfc1843429502$funcGETINSTANCE.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc:261) at cfHandlerService2ecfc1290897752$funcNEWHANDLER.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/services/HandlerService.cfc:120) at cfHandlerService2ecfc1290897752$funcGETHANDLER.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/services/HandlerService.cfc:141) at cfController2ecfc1114113649$funcRUNEVENT.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/Controller.cfc:550) at cfColdbox2ecfc2001615838$funcLOADCOLDBOX.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/Coldbox.cfc:74) at cfBasePredictApplication2ecfc744404114$funcONAPPLICATIONSTART.runFunction(C:/ColdFusion10/cfusion/wwwroot/pcrms/predictmrs/apps/BasePredictApplication.cfc:48)

coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface <?xml version="1.0" encoding="UTF-8"?>
<functions/>.
	at coldfusion.runtime.TemplateProxyFactory.getResolvedFile(TemplateProxyFactory.java:1344)
	at coldfusion.runtime.TemplateProxyFactory.getTemplateFileHelper(TemplateProxyFactory.java:1571)
	at coldfusion.runtime.MetadataUtils.getComponentMetadata(MetadataUtils.java:112)
	at coldfusion.runtime.CfJspPage.GetComponentMetadata(CfJspPage.java:2744)
	at cfUtil2ecfc463499594$funcGETINHERITEDMETADATA.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\core\util\Util.cfc:305)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432)
	at cfInjector2ecfc1843429502$funcAUTOWIRE.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\Injector.cfc:428)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
	at cfBeanFactory2ecfc456984343$funcAUTOWIRE.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\plugins\BeanFactory.cfc:255)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
	at cfIOC2ecfc464254520$funcGETBEAN.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\plugins\IOC.cfc:106)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432)
	at cfColdBoxDSL2ecfc689767582$funcGETIOCDSL.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\dsl\ColdBoxDSL.cfc:214)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2624)
	at cfColdBoxDSL2ecfc689767582$funcPROCESS.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\dsl\ColdBoxDSL.cfc:37)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
	at cfBuilder2ecfc1761059509$funcBUILDDSLDEPENDENCY.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\Builder.cfc:327)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
	at cfInjector2ecfc1843429502$funcPROCESSINJECTION.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\Injector.cfc:594)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659)
	at cfInjector2ecfc1843429502$funcAUTOWIRE.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\Injector.cfc:481)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
	at cfNoScope2ecfc1108943968$funcGETFROMSCOPE.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\scopes\NoScope.cfc:33)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432)
	at cfInjector2ecfc1843429502$funcGETINSTANCE.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\ioc\Injector.cfc:261)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432)
	at cfHandlerService2ecfc1290897752$funcNEWHANDLER.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\web\services\HandlerService.cfc:120)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659)
	at cfHandlerService2ecfc1290897752$funcGETHANDLER.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\web\services\HandlerService.cfc:141)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432)
	at cfController2ecfc1114113649$funcRUNEVENT.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\web\Controller.cfc:550)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432)
	at cfColdbox2ecfc2001615838$funcLOADCOLDBOX.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\system\coldbox\system\Coldbox.cfc:74)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432)
	at cfBasePredictApplication2ecfc744404114$funcONAPPLICATIONSTART.runFunction(C:\ColdFusion10\cfusion\wwwroot\pcrms\predictmrs\apps\BasePredictApplication.cfc:48)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
	at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:108)
	at coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:231)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:309)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)
	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:46)
	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:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	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:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

br...@bradwood.com

unread,
Sep 10, 2013, 10:04:35 PM9/10/13
to col...@googlegroups.com
Can you provide us with more information?  How are you trying to use the mapping? 
 
I put the following mapping in my WireBox binder:

map("functionDefinitions").toValue(xmlparse("<functions/>"));

And the following code in my view to test:
 
<cfdump var="#toString(getModel("functionDefinitions"))#">
 
It correctly outputs:
 
<?xml version="1.0" encoding="UTF-8"?><functions/>

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.
For more options, visit https://groups.google.com/groups/opt_out.

nick

unread,
Sep 10, 2013, 11:55:35 PM9/10/13
to col...@googlegroups.com
Hi Brad

I'm having it injected through the cfproperty annotation:

<cfcomponent extends="coldbox.system.EventHandler" output="false">
<cfproperty name="functionDefinitions" inject="ioc" scope="variables">

I think I've fixed it by changing it to:
<cfproperty name="functionDefinitions" inject scope="variables">

br...@bradwood.com

unread,
Sep 11, 2013, 12:53:39 AM9/11/13
to col...@googlegroups.com
Yes, you wouldn't need to reference ioc unless you are using another ioc container.  The way you changed the mapping is fine.
 
Other equivalents would be:

<cfproperty name="functionDefinitions" inject="functionDefinitions">
<cfproperty name="functionDefinitions" inject="id:functionDefinitions">
 
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: [coldbox:19370] Error after 3.1 to 3.7 upgrade
From: "nick" <ni...@devx.co.nz>
--

nick

unread,
Sep 13, 2013, 1:54:53 AM9/13/13
to col...@googlegroups.com
I'm getting another IOC related error:

Required argument mismatch.

The invokeMethod function does not specify the same required value for the invocation argument in the model.aop.AuditAdvice ColdFusion component and the coldbox.system.aop.MethodInterceptor ColdFusion interface.
 
The error occurred inC:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/core/util/Util.cfc: line 305
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/config/Mapping.cfc: line 578
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/config/Binder.cfc: line 886
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc: line 157
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/ioc/Injector.cfc: line 92
Called fromC:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/services/LoaderService.cfc: line 175
Called fromC:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/web/services/LoaderService.cfc: line 78
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/Coldbox.cfc: line 71
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/system/coldbox/system/Coldbox.cfc: line 102
Called from C:/ColdFusion10/cfusion/wwwroot/pcrms/predictmrs/apps/BasePredictApplication.cfc: line 70
303 : 				<cfset md = getMetaData(component)>
304 : 			<cfelse>
305 : 				<cfset md = getComponentMetaData(component)>
306 : 			</cfif>
307 : 		</cfif>

Here's the relevant line in Wirebox.cfc:
mapAspect("AuditAdvice").to("model.aop.AuditAdvice");

And this is AuditAdvice.cfc:
<cfcomponent output="false" implements="coldbox.system.aop.MethodInterceptor" autowire="true" classMatcher="regex:dao$" methodMatcher="regex:^save">
 
<cffunction name="init" output="false" access="public" returntype="any" hint="Constructor">
 
<cfscript>
 return this;
 
</cfscript>
 
</cffunction>


 
<cffunction name="invokeMethod" output="false" access="public" returntype="any" hint="Invoke an AOP method invocation">
 
<cfargument name="invocation" type="any" hint="The method invocation object: coldbox.system.aop.MethodInvocation">
 
<cfscript>
 arguments.invocation.proceed();
 
</cfscript>
 
</cffunction>
</cfcomponent>

Any idea?

Reply all
Reply to author
Forward
0 new messages