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

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 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. (Google Groups)

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.jones.coa@gmail.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: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.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.

:frowning:

Bouton J.

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.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com