Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element 'xxx' is undefined in a CFML structure referenced as part of an expression. #70

Closed
angelacummins opened this issue Aug 7, 2012 · 7 comments

Comments

@angelacummins
Copy link

RE: Element 'xxx' is undefined in a CFML structure referenced as part of an expression.


This is a random error occurring on CFWheels Framework - Reload.

Seems to pop up on some occasions, for no apparent reason.

Only occurs on random.


ERROR:

The error occurred in C:\WServer\trunk\Web\Freemium\wheels\controller\initialization.cfm: line 49
Called from C:\WServer\trunk\Web\Freemium\wheels\global\cfml.cfm: line 44
Called from C:\WServer\trunk\Web\Freemium\wheels\controller\initialization.cfm: line 82
Called from C:\WServer\trunk\Web\Freemium\root.cfm: line 1
Called from C:\WServer\trunk\Web\Freemium\wheels\global\internal.cfm: line 433
Called from C:\WServer\trunk\Web\Freemium\wheels\controller\initialization.cfm: line 10
Called from C:\WServer\trunk\Web\Freemium\wheels\global\public.cfm: line 129
Called from C:\WServer\trunk\Web\Freemium\wheels\dispatch\request.cfm: line 163
Called from C:\WServer\trunk\Web\Freemium\wheels\index.cfm: line 1
Called from C:\WServer\trunk\Web\Freemium\rewrite.cfm: line 1
Called from C:\WServer\trunk\Web\Freemium\wheels\events\onrequest.cfm: line 1

47 : cffunction name="$setControllerClassData" returntype="void" access="public" output="false"
48 :
49 : variables.$class = application.wheels.controllers[arguments.name].$getControllerClassData();
50 :
51 : /cffunction


@angelacummins
Copy link
Author

This issue happens quite often, even on random page load.

There is no pattern, it just pops up at random for no apparent reason.

Definetly an issue at some level.

Would it possibly be an issue with ROUTES? Possibly not finding Controllers / Actions!

@chrisdpeters
Copy link
Contributor

You need to provide more info than a copy/paste of the error screen to be helpful.

What URL are you trying to hit when this happens? What CFML engine? What version of CFML engine? What version of Wheels? Are you using any plugins?

@angelacummins
Copy link
Author

Hi Chris,

Thanks a mil for your speedy resonse.

My dev team are currently working on a pretty large scale CFWheels project, so we are just logging some random bugs that we have spotted over last month.


DETAILS:

  • ADOBE COLDFUSION 9
  • CFWHEEL 1.1.8
  • NO Plugins

@angelacummins
Copy link
Author

Examples of Error:


,"Element Faviconico is undefined in a CFML structure referenced as part of an expression. The specific sequence of files included or processed is: F:\Wserver\Freemium\rewrite.cfm, line: 49 "


.... also another

"Error","jrpp-1056","07/12/12","14:37:43","0B193D88A48452FDC7D08F282CE2E992","Element dailytally is undefined in a CFML structure referenced as part of an expression.

The specific sequence of files included or processed is: F:\Wserver\Freemium\rewrite.cfm, line: 205 "


The error occurred in C:\WServer\trunk\Web\Freemium\wheels\controller\initialization.cfm: line 49
Called from C:\WServer\trunk\Web\Freemium\wheels\global\cfml.cfm: line 44
Called from C:\WServer\trunk\Web\Freemium\wheels\controller\initialization.cfm: line 82
Called from C:\WServer\trunk\Web\Freemium\root.cfm: line 1
Called from C:\WServer\trunk\Web\Freemium\wheels\global\internal.cfm: line 433
Called from C:\WServer\trunk\Web\Freemium\wheels\controller\initialization.cfm: line 10
Called from C:\WServer\trunk\Web\Freemium\wheels\global\public.cfm: line 129
Called from C:\WServer\trunk\Web\Freemium\wheels\dispatch\request.cfm: line 163
Called from C:\WServer\trunk\Web\Freemium\wheels\index.cfm: line 1
Called from C:\WServer\trunk\Web\Freemium\rewrite.cfm: line 1
Called from C:\WServer\trunk\Web\Freemium\wheels\events\onrequest.cfm: line 1

47 : cffunction name="$setControllerClassData" returntype="void" access="public" output="false"
48 : cfscript
49 : variables.$class = application.wheels.controllers[arguments.name].$getControllerClassData();
50 : /cfscript
51 : cffunction


Update:

In the above example:

Function "dailytally" is placed within base Controller: "Controller.cfc"


@angelacummins
Copy link
Author

My thoughts:

  • Possibly an issue with REWRITE or ROUTES

I've updated some of the previous comments above with more info

@chrisdpeters
Copy link
Contributor

I recommend communicating with the Google Group about this.
https://groups.google.com/forum/?fromgroups#!forum/cfwheels

If you find a specific, traceable bug to report, please file it here on the GitHub issue tracker. It is not helpful to list a laundry list of errors on our issue tracker.

@HamishAhern
Copy link

I have the same issue.. it only appears under a continuous test I left running for 3 hours. it is very random.. definately a bug at some level. Here are some of the errors that appeared, I have logged them as issues in my testing documentation... I have actually caught the error 1 in 1000 chance in a debugger, I reissued the http again and it succeeded, so its an internal bug to CFML processor engine.

Element oID is undefined in a CFML structure referenced as part of an expression.

Element field2 is undefined in a CFML structure referenced as part of an expression.

Element field5 is undefined in a CFML structure referenced as part of an expression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants