Skip to main content
Participant
July 29, 2009
Question

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

  • July 29, 2009
  • 1 reply
  • 3874 views

Hi,

We are running a site in coldfusion. I am not sure why this error occurs. Generally the error message will include the filed name which is not defined. Here it is not even giving the field name.

The error message given is "Element is undefined  in a CFML structure referenced as part of an expression."

Please help me out in finding this issue.

Thanks in advance.

Jyothi

This topic has been closed for replies.

1 reply

Inspiring
July 29, 2009

Does the error message give you a line number?

Participant
July 29, 2009

Thanks for the quick reply.

I am posting the error message below.

Detail[empty string]
ErrNumber0
MessageElement is undefined in a CFML structure referenced as part of an  expression.
Resolvedname[empty string]
StackTracecoldfusion.runtime.UndefinedElementException: Element is undefined in a CFML  structure referenced as part of an expression. at  coldfusion.runtime.CfJspPage.ArrayGetAt(CfJspPage.java:510) at  coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:516) at  coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:402) at  cfwrsFunctions2ecfm1403340607$funcSETCURRENTFOCALPOINT._factor10(/var/www/sites/wrsprod/cfml/tools/wrsFunctions.cfm:629)  at  cfwrsFunctions2ecfm1403340607$funcSETCURRENTFOCALPOINT.runFunction(/var/www/sites/wrsprod/cfml/tools/wrsFunctions.cfm:619)  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at  coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:258)  at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at  coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at  coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1800) at  cfact_initiateRequest2ecfm1673489712.runPage(/var/www/sites/wrsprod/cfml/trap/act_initiateRequest.cfm:77)  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at  coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343) at  coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908) at  cfact_authorizationData2ecfm1529878917.runPage(/var/www/sites/wrsprod/cfml/trap/act_authorizationData.cfm:39)  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at  coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343) at  coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908) at  cfrequest2esaverequest2ecfm1814555549._factor5(/var/www/sites/wrsprod/cfml/parsed/request.saverequest.cfm:151)  at  cfrequest2esaverequest2ecfm1814555549._factor10(/var/www/sites/wrsprod/cfml/parsed/request.saverequest.cfm:35)  at  cfrequest2esaverequest2ecfm1814555549.runPage(/var/www/sites/wrsprod/cfml/parsed/request.saverequest.cfm:1)  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at  coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343) at  coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908) at  cffusebox42eruntime2ecfmx2ecfm335424280._factor15(/var/www/sites/wrsprod/cfml/fusebox4.runtime.cfmx.cfm:433)  at  cffusebox42eruntime2ecfmx2ecfm335424280._factor17(/var/www/sites/wrsprod/cfml/fusebox4.runtime.cfmx.cfm:426)  at  cffusebox42eruntime2ecfmx2ecfm335424280.runPage(/var/www/sites/wrsprod/cfml/fusebox4.runtime.cfmx.cfm:1)  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at  coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343) at  coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908) at  cfindex2ecfm1454927970.runPage(/var/www/sites/wrsprod/cfml/index.cfm:22) at  coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at  coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343) at  coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908) at  cfApplication2ecfc921710102$funcONREQUEST.runFunction(/var/www/sites/wrsprod/cfml/Application.cfc:164)  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at  coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:258)  at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) at  coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) at  coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:192) at  coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:145) at  coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:55) at  coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:116) at  coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:200) at  coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at  coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at  coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50) at  coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at  coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at  coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at  coldfusion.CfmServlet.service(CfmServlet.java:105) at  coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at  jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at  jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at  jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at  jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at  jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at  jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457) at  jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Regards,

Jyothi

Inspiring
July 29, 2009

In the stack trace, the words array and UDF might lead to the specific problem.