Firstly, take a look at the reloading code here: /ModelGlue/gesture/ModelGlue.cfm
This is how MG wants to reload the framework and the application. I can see why you are deleting the application scope, thus forcing a reload. Is there anything required by the reloading code in the ModelGlue.cfm code that you aren't providing? Secondly, are you doing anything with overloading controller definitions? DW On Wed, Oct 24, 2012 at 7:49 PM, Brian G <[email protected]> wrote: > > On Wednesday, October 24, 2012 8:58:25 AM UTC-7, Dan Wilson - > [email protected] wrote: >> >> I'm interested in the stack traces from these errors. Send me a couple. >> >> I'm not totally following what you are doing, or why you are doing it >> that way. Perhaps once I get the error stacks, I can start to get a better >> picture. >> >> > Dan, > > I trust why I'm trying to reinit the service layer and MG + subapps is > clear? > > They look like coding errors, meaning something like "can't evaluate '' as > a boolean" because the value, which is normally a boolean, is coming from > an object that is not being returned by the service layer properly as MG > reinits. Here are two of them from my last attempt: > > #1 - Here's one where the object returned to a theme is not valid, so the > method call on it fails. This error is possibly related to the Transfer > shutdown which I'm experimenting with. The #2 one is the more sinister one > further below. > > -------------------------- > > - C:\Users\brian\Documents\web\trunk-main\views\layout\pap\template.cfm > (*50, CF_STRUCTBEAN*) > - > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfm > (*33, CFINCLUDE*) > - > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfc > (*84, CFMODULE*) > - > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc > (*720, CF_TEMPLATEPROXY*) > - > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc > (*287, CF_UDFMETHOD*) > - > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Invocation.cfc > (*96, CF_TEMPLATEPROXY*) > - > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc > (*189, CF_TEMPLATEPROXY*) > - C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc > (*297, CF_TEMPLATEPROXY*) > - C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm > (*97, CF_TEMPLATEPROXY*) > - C:\Users\brian\Documents\web\trunk-main\index.cfm (*82, CFINCLUDE*) > > coldfusion.runtime.java.MethodSelectionException: The getTxtStyleSheet > method was not found. at > coldfusion.runtime.java.ObjectHandler.findMethodUsingCFMLRules(ObjectHandler.java:322) > at coldfusion.runtime.StructBean.invoke(StructBean.java:527) at > coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300) at > cftemplate2ecfm1060547494.runPage(C:\Users\brian\Documents\web\trunk-main\views\layout\pap\template.cfm:50) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at > coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at > coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at > cfViewRenderer2ecfm1037665257.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfm:33) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at > coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:63) > at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:280) at > coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at > cfViewRenderer2ecfc1037665043$funcRENDERVIEW.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfc:84) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at > coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at > coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at > coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at > cfEventContext2ecfc516297268$funcRENDERVIEW.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:720) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at > coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at > coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at > coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at > cfEventContext2ecfc516297268$funcEXECUTEEVENTQUEUE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:287) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at > coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at > coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at > coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at > cfInvocation2ecfc905915655$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Invocation.cfc:96) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at > coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at > coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at > coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at > coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at > cfEventContext2ecfc516297268$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:189) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at > coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at > coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at > coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at > cfModelGlue2ecfc217417458$funcHANDLEREQUEST.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc:297) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at > coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at > coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at > coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at > coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at > cfModelGlue2ecfm217417416.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm:97) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at > coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at > coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at > cfindex2ecfm931172590.runPage(C:\Users\brian\Documents\web\trunk-main\index.cfm:82) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at > coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at > coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273) at > coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) > at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at > coldfusion.filter.PathFilter.invoke(PathFilter.java:86) 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.CfmServlet.service(CfmServlet.java:175) 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.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > --------------------------- > > And #2: > > This one is where we're trying to send an exception email, so clearly > something broke, but in the Controller, the globalconfig object providd > from the service layer is not returning a valid result. The request on > either side of this one succeeded so it's a transient issue. > > > Stack Traceat > cfMailController2ecfc103606296$funcDOSENDEXCEPTIONEMAIL.runFunction(C:\Users\brian\Documents\web\trunk-main\controller\MailController.cfc:996) > at > cfEventContext2ecfc516297268$funcEXECUTEEVENTHANDLER.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:345) > at > cfEventContext2ecfc516297268$funcEXECUTEEVENTQUEUE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:264) > at > cfEventContext2ecfc516297268$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:210) > at > cfModelGlue2ecfc217417458$funcHANDLEREQUEST.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc:297) > at > cfModelGlue2ecfm217417416.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm:97) > at > cfindex2ecfm931172590.runPage(C:\Users\brian\Documents\web\trunk-main\index.cfm:82) > > > coldfusion.runtime.java.MethodSelectionException: The getConfigSetting method > was not found. > at > coldfusion.runtime.java.ObjectHandler.findMethodUsingCFMLRules(ObjectHandler.java:322) > at coldfusion.runtime.StructBean.invoke(StructBean.java:527) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300) > at > cfMailController2ecfc103606296$funcDOSENDEXCEPTIONEMAIL.runFunction(C:\Users\brian\Documents\web\trunk-main\controller\MailController.cfc:996) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:463) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:453) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:320) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2222) > at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:362) > at > cfEventContext2ecfc516297268$funcEXECUTEEVENTHANDLER.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:345) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) > at > cfEventContext2ecfc516297268$funcEXECUTEEVENTQUEUE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:264) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) > at > cfEventContext2ecfc516297268$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:210) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) > at > cfModelGlue2ecfc217417458$funcHANDLEREQUEST.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc:297) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) > at > cfModelGlue2ecfm217417416.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm:97) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) > at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) > at > cfindex2ecfm931172590.runPage(C:\Users\brian\Documents\web\trunk-main\index.cfm:82) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) > at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) > at > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273) > at > coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) > at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) > at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) > 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.CfmServlet.service(CfmServlet.java:175) > 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.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > > > > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > -- Plutarch - "The mind is not a vessel to be filled but a fire to be kindled." -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
