I've run into this before but I don't recall offhand what was the
exact issue was and it would of been on 3.5 so possibly not related.
Do you still get the error if you render the request without the
layout?
On Feb 14, 9:16 am, Dustin Martin <
d...@dustinmartin.net> wrote:
> Hey guys, any ideas on this? I'm at a loss for what could be causing this.
>
> Thanks,
> Dustin
>
> On Feb 13, 2012, at 9:13 AM, Dustin Martin <
d...@dustinmartin.net> wrote:
>
> Hey guys, I'm seeing sporadic errors telling me that one of the functions in my applicationhelper.cfm has been declared more than once. I've double checked and the function has only been declared once in the entire application. To make sure there was nothing funky with my function I completely removed it and got the same error just with a different function in my helper. It's almost like the application helper is sometimes being included twice sometimes. Any ideas?
>
> Thanks,
> Dustin
>
> Error:
> The routine isBackhaulAccount has been declared twice in different templates.
>
> Stack Trace:
> coldfusion.runtime.CfJspPage$DynamicDuplicateFunctionDefinitionException: Routines cannot be declared more than once. at coldfusion.runtime.CfJspPage.registerUDF(CfJspPage.java:2517) at cfApplicationHelper2ecfm2070386888.registerUDFs(E:\WebRoot\Production\CF\pr ojects\Backhauls2\includes\helpers\ApplicationHelper.cfm) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:397) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfRenderer2ecfc1460685596$funcRENDERLAYOUT.runFunction(E:\WebRoot\Productio n\CF\projects\Backhauls2\frameworks\coldbox\3_1\system\plugins\Renderer.cfc :384) 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:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfColdbox2ecfc1686952617$funcPROCESSCOLDBOXREQUEST.runFunction(E:\WebRoot\P roduction\CF\projects\Backhauls2\frameworks\coldbox\3_1\system\Coldbox.cfc: 261) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2582) at cfColdbox2ecfc1686952617$funcONREQUESTSTART.runFunction(E:\WebRoot\Producti on\CF\projects\Backhauls2\frameworks\coldbox\3_1\system\Coldbox.cfc:353) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfApplication2ecfc612734261$funcONREQUESTSTART.runFunction(E:\WebRoot\Produ ction\CF\projects\Backhauls2\Application.cfc:85) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:491) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88) at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:258) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:349) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenc eFilter.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:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at com.intergral.fusionreactor.filter.FusionReactorFilter.b(FusionReactorFilte r.java:376) at com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilte r.java:254) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReact orFilter.java:164) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServlet Filter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203 ) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:42 8) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)