// coldbox directivescoldbox = { //Application Setup appName = "Product Suite", eventName = "cbevent",
//Development Settings debugMode = false, debugPassword = "coldbox", reinitPassword = "yea", handlersIndexAutoReload = false, configAutoReload = false,
//Implicit Events defaultEvent = "general.login", requestStartHandler = "", requestEndHandler = "", applicationStartHandler = "", applicationEndHandler = "", sessionStartHandler = "", sessionEndHandler = "", missingTemplateHandler = "",
//Error/Exception Handling exceptionHandler = "", onInvalidEvent = "", customErrorTemplate = "/coldbox/system/includes/BugReport.cfm",
//Application Aspects handlerCaching = true, eventCaching = true, //Testing pathing stuff HandlersPath = "_coldbox.handlers" , //RequestContextDecorator requestContextDecorator = "_coldbox.model.CustomRequestContextDecorator"};
coldfusion.runtime.CustomException: The event: g4enrollment:enroll.calculateMedicalPremium is not valid registered event.
at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
at cfHandlerService2ecfc717000056$funcINVALIDEVENT.runFunction(C:\ColdFusion9\wwwroot\coldbox_4_1_0\system\web\services\HandlerService.cfc:390)
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:2582)
at cfHandlerService2ecfc717000056$funcGETREGISTEREDHANDLER.runFunction(C:\ColdFusion9\wwwroot\coldbox_4_1_0\system\web\services\HandlerService.cfc:305)
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 cfController2ecfc15596061$func_RUNEVENT.runFunction(C:\ColdFusion9\wwwroot\coldbox_4_1_0\system\web\Controller.cfc:496)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
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:517)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547)
at cfController2ecfc15596061$funcRUNEVENT.runFunction(C:\ColdFusion9\wwwroot\coldbox_4_1_0\system\web\Controller.cfc:425)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
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:517)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)
at cfBootstrap2ecfc809004914$funcPROCESSCOLDBOXREQUEST.runFunction(C:\ColdFusion9\wwwroot\coldbox_4_1_0\system\Bootstrap.cfc:198)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
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 cfBootstrap2ecfc809004914$funcONREQUESTSTART.runFunction(C:\ColdFusion9\wwwroot\coldbox_4_1_0\system\Bootstrap.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 cfApplication2ecfc128701477$funcONREQUESTSTART.runFunction(C:\ColdFusion9\wwwroot\gen4productsuite\branches\8-1B-FBCBHybrid\Application.cfc:148)
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.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
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.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at coldfusion.CfmServlet.service(CfmServlet.java:200)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.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.http.WebService.invokeRunnable(WebService.java:172)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
--------- Original Message ---------
Subject: [coldbox:26195] Re: [coldbox:4.1] The event is not valid registered event error
From: "brett" <bde...@gmail.com>
Date: 12/15/16 9:01 am
To: "ColdBox Platform" <col...@googlegroups.com>
Anyone have other ideas?Thanks.
On Tuesday, December 13, 2016 at 3:38:22 PM UTC-5, brett wrote:
Hi everyone,I have an error coming up that I'm trying to troubleshoot. So I have a benefits enrollment page that lists 5 medical options a user can enroll into. When the page loads I use some JS to loop over each option being presented and fire an ajax call to an event to calculate the cost for that medical option. About half of the calls generate a coldbox error with the message that 'The event: g4enrollment:enroll.calculateMedicalPremium is not valid registered event.'.It seems like I'm having some concurrency issue. I'm in the process of developing this app and had a bunch of coldbox development settings enabled. I made sure I set those to a production mode like so:
// coldbox directivescoldbox = {//Application SetupappName = "Product Suite",eventName= "cbevent",//Development SettingsdebugMode= false,debugPassword= "coldbox",
reinitPassword= "yea",
handlersIndexAutoReload = false,configAutoReload= false,//Implicit EventsdefaultEvent= "general.login",requestStartHandler= "",requestEndHandler= "",applicationStartHandler = "",applicationEndHandler= "",sessionStartHandler = "",sessionEndHandler= "",missingTemplateHandler= "",//Error/Exception HandlingexceptionHandler= "",onInvalidEvent= "",
customErrorTemplate= "/coldbox/system/includes/BugReport.cfm",
//Application AspectshandlerCaching = true,
eventCaching= true,
--
--
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/4d25ef61-8d83-43de-910d-6e90f213525f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.