Copy link to clipboard
Copied
Unable to duplicate a ColdFusion Component. coldfusion.runtime.UndefinedVariableException: Variable APPLICATION is undefined.
This error is flooding my logs and can not figure out what is causing it. Any ideas?
Copy link to clipboard
Copied
Whatever page is triggering this error, place the following at the top of the document and run it:
<cfdump var="#application#" /><cfabort />
If the application scope doesn't exist, there's a huge problem.
OR, if you're setting a variable called "application", pick a different name for the variable.
V/r,
^ _ ^
Copy link to clipboard
Copied
And check your code for a typo. Maybe you meant to type "application.myVarName" and accidentally left the period out resulting in "application myVarName".
HTH,
^ _ ^
Copy link to clipboard
Copied
mattm93153916 wrote
Unable to duplicate a ColdFusion Component. coldfusion.runtime.UndefinedVariableException: Variable APPLICATION is undefined.
What is your ColdFusion version? Did you upgrade? Does your code - or a library or framework you use - invoke the duplicate() method on a ColdFusion object?
I ask because I remember a strange problem like this one from some years ago. It seemed to involve the application scope that comes in as an argument of the onSessionEnd() event in Application.cfc.
https://forums.adobe.com/thread/219073
https://groups.google.com/forum/#!topic/cfwheels/9KXCk1yNIGQ