[ColdBox Lite 3.8.1] "Error running exception handler: Variable E is undefined" error on local boot.

81 views
Skip to first unread message

Bouton Jones

unread,
Jan 5, 2015, 1:07:26 PM1/5/15
to col...@googlegroups.com

I.                    THE ISSUE:

When I reboot my PC in the morning, I get the following error message in the browser window for my localhost copy of my ColdBox Lite (3.8.1) application:

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

Error running exception handler: Variable E is undefined.

 

coldfusion.runtime.UndefinedVariableException: Variable E is undefined. at coldfusion.runtime.CfJspPage._get(CfJspPage.java:316) at coldfusion.runtime.CfJspPage._get(CfJspPage.java:296) at coldfusion.runtime.CfJspPage._autoscalarize(CfJspPage.java:1522) at coldfusion.runtime.CfJspPage._autoscalarize(CfJspPage.java:1486) at cfBootstrap2ecfc14983792$funcPROCESSEXCEPTION.runFunction(C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc:352) 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:2659) at cfBootstrap2ecfc14983792$funcPROCESSCOLDBOXREQUEST.runFunction(C:/inetpub/wwwroot/coldbox/system/mvc/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:2659) at cfBootstrap2ecfc14983792$funcONREQUESTSTART.runFunction(C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc:214) 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: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.onRequestStart(AppEventInvoker.java:278) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:417) 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.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) 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.ajp.AjpProcessor.process(AjpProcessor.java:204) 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)

 


The error occurred in C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc: line 356
Called from C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc: line 198
Called from C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc: line 214

354 :                  }
355 :                  catch(Any e){
356 :                          throw(message="Error running exception handler: #e.message#", detail="#e.detail# #e.stackTrace#", type="ExceptionHandlerKapoot");
357 :                  }
358 :          }

Resources:

Browser  

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Remote Address  

::1

Referrer  

http://localhost/

Date/Time  

05-Jan-15 08:28 AM

 

Stack Trace

at cfBootstrap2ecfc14983792$funcPROCESSEXCEPTION.runFunction(C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc:356) at cfBootstrap2ecfc14983792$funcPROCESSCOLDBOXREQUEST.runFunction(C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc:198) at cfBootstrap2ecfc14983792$funcONREQUESTSTART.runFunction(C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc:214) 

coldfusion.runtime.CustomException: Error running exception handler: Variable E is undefined.
        at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)
        at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799)
        at cfBootstrap2ecfc14983792$funcPROCESSEXCEPTION.runFunction(C:\inetpub\wwwroot\coldbox\system\mvc\Bootstrap.cfc:356)
        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:2659)
        at cfBootstrap2ecfc14983792$funcPROCESSCOLDBOXREQUEST.runFunction(C:\inetpub\wwwroot\coldbox\system\mvc\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:2659)
        at cfBootstrap2ecfc14983792$funcONREQUESTSTART.runFunction(C:\inetpub\wwwroot\coldbox\system\mvc\Bootstrap.cfc:214)
        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: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.onRequestStart(AppEventInvoker.java:278)
        at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:417)
        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.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
        at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
        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.ajp.AjpProcessor.process(AjpProcessor.java:204)
        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)

 

The URL in Google Chrome (Version 39.0.2171.95 m)  is http://localhost/crud4cbl/index.cfm.

The URL in Mozilla Firefox is http://localhost/crud4cbl/index.cfm?event=main.index .  (Currently FF is not showing the error message but earlier the tile in the tab indicated an error.)

This is the only error in the application that I haven’t been able to fix.

II.                  BACKGROUND

I have over 10 years experience with ColdFusion but no previous experience with ColdBox or ColdBox Lite.  Most of my framework experience has been with Fusebox early, 3, 4, and 5.5.

Currently I am developing a trio of simple project management program using three different frameworks: Fusebox 5.5, FW/1, and Coldbox Lite.  The three applications share largely the same code but the frameworks are different.  Our team wants to compare the three frameworks and decide which framework to adopt as the official house standard.  I’ve finished two of the applications and I’m nearly finished with the third --- the ColdBox Lite version.

III.                WHAT I TRIED:

I googled my issue but I couldn’t find a relevant solution. 

A similar error message was reported back in 2010 but the thread indicated that Luis Majano fixed it. (https://groups.google.com/forum/#!topic/coldbox/kXt2OmMe9Q0)

I tried fixing the issue with the following code in \config\Coldbox.cfc:

              // Kludge fix for unexpected "Error running exception handler: Variable E is undefined" error.

              // When: Error appears on system boot-up

              // The error occurred in C:/inetpub/wwwroot/coldbox/system/mvc/Bootstrap.cfc: line 356

              // exception.message ="";

              // exception.detail = "";

              // exception.stackTrace = "";

              e.message ="";

              e.detail = "";

                       e.stackTrace = "";

The error didn’t occur the next morning when I rebooted but it returned the following day.  This afternoon I’ll try using the “exception” code that I commented out.

IV.                CODE

The code for the entire application can be viewed at https://github.com/boutonjones/CRUD-ColdboxLite .

V.                CONTACT:  Bouton Jones (bouton.j...@gmail.com)

br...@bradwood.com

unread,
Jan 5, 2015, 4:17:14 PM1/5/15
to col...@googlegroups.com
I'm not sure how e couldn't be defined since it's the name of the cfcatch struct.   What version of  CF are you on and are all the patches installed?

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/d/optout.

Bouton Jones

unread,
Jan 5, 2015, 5:55:13 PM1/5/15
to col...@googlegroups.com
Hello Brad.

ColdFusion Version: 10 Developer
OS: Windows 7 6.1
Server: localhost

Your suggestion was sound.  CF Admin showed that I was two updates behind. 

I installed them and rebooted.  Unfortunately the error message persists.  

:(

Bouton J.
...

br...@bradwood.com

unread,
Jan 5, 2015, 7:26:06 PM1/5/15
to col...@googlegroups.com
I don't know what to tell you.  CF's try/catch is known to have concurrency issues since "e" goes in the variables scope.  Perhaps multiple requests are hitting at once.  You could try just commenting out the try/catch or putting a rethrow in to see what the actual error message is.
--------- Original Message ---------
--
Reply all
Reply to author
Forward
0 new messages