Hello world tutorial issue

55 views
Skip to first unread message

Juan David Polo

unread,
Jan 3, 2022, 4:16:52 PM1/3/22
to CFWheels
I´m trying to make the hello world in the chwheels documentation, but I have an issue trying to  adding dynamic content to the view. The time variable in the template is undefined despited following all steps as the tutorial
c3.png
c1.png
c2.png

Tom King

unread,
Jan 3, 2022, 4:40:59 PM1/3/22
to CFWheels
Most likely is it's not actually going through the controller.
Might be a case sensitivity issue with the controller name - is it Say.cfc?
T


Edward Chanter

unread,
Jan 17, 2022, 5:17:10 AM1/17/22
to cfwh...@googlegroups.com
Hey guys,

I had a load of errors this morning from one of my apps that I haven't seen before. It relates to something within wheels as opposed to my application code. Every page on the site was throwing the same error:

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

I have never seen that one before. I included the full stack trace below in case it is helpful. I restarted the CF server and the error went away but I need to try and work out what caused it so I can send a sensible answer to my client.

Any insight would be most gratefully received.

-= Ed


Full stack trace

Detail: An exception occurred while invoking an event handler method from Application.cfc. The method name is: onRequest.
Message: Event handler exception.
RootCause:  
[struct]
Detail: [empty string]
ErrNumber: 0
Message: Element FLASHAPPEND is undefined in a CFML structure referenced as part of an expression.
Resolvedname: [empty string]
StackTrace: coldfusion.runtime.UndefinedElementException: Element FLASHAPPEND is undefined in a CFML structure referenced as part of an expression.
at coldfusion.runtime.CfJspPage.ArrayGetAt(CfJspPage.java:1387)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:1603)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:1598)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:975)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:957)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:922)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:909)
at cfutil2ecfm2049309674$func$GET.runFunction(E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\global\util.cfm:11)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:287)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4132)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4112)
at cfinitialization2ecfm664099559$func$INITCONTROLLERCLASS.runFunction(E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\controller\initialization.cfm:48)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:835)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:641)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3506)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3481)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:472)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4287)
at cfroot2ecfm1908647844.runPage(E:\wwwroot\root.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:735)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4286)
at cfinternal2ecfm1029777204$func$CREATEOBJECTFROMROOT.runFunction(E:\wwwroot\wheels\global\internal.cfm:543)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cfinternal2ecfm1029777204$func$CREATECONTROLLERCLASS.runFunction(E:\wwwroot\wheels\global\internal.cfm:674)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:570)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4287)
at cfcfml2ecfm957731918$func$INVOKE.runFunction(E:\wwwroot\wheels\global\cfml.cfm:157)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cfcfml2ecfm957731918$func$DOUBLECHECKEDLOCK.runFunction(E:\wwwroot\wheels\global\cfml.cfm:13)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cfmisc2ecfm263102183$funcCONTROLLER.runFunction(E:\wwwroot\wheels\global\misc.cfm:459)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cffunctions2ecfm700837692$func$REQUEST.runFunction(E:\wwwroot\wheels\dispatch\functions.cfm:183)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:287)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:830)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:613)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:438)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3584)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3561)
at cfindex2ecfm1526896952.runPage(E:\wwwroot\wheels\index.cfm:5)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:735)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4286)
at cfrewrite2ecfm1893956749.runPage(e:\wwwroot\rewrite.cfm:2)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:735)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4286)
at cfonrequest2ecfm1460096687$funcONREQUEST.runFunction(E:\wwwroot\wheels\events\onrequest.cfm:5)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:287)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:830)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:613)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:438)
at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:115)
at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:308)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:553)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:162)
at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:96)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
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:226)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:311)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:46)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at jdk.internal.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:134)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doNext(FusionReactorRequestHandler.java:772)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doHttpServletRequest(FusionReactorRequestHandler.java:344)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doFusionRequest(FusionReactorRequestHandler.java:207)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.handle(FusionReactorRequestHandler.java:809)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:36)
at jdk.internal.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:71)
at jdk.internal.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intergral.fusionreactor.agent.filter.FusionReactorStaticFilter.doFilter(FusionReactorStaticFilter.java:54)
at com.intergral.fusionreactor.agent.pointcuts.NewFilterChainPointCut$1.invoke(NewFilterChainPointCut.java:42)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:422)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Suppressed:  
[array]
TagContext:  
[array]
1) [struct]
COLUMN: 0
ID: ??
LINE: 11
RAW_TRACE: at cfutil2ecfm2049309674$func$GET.runFunction(E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\global\util.cfm:11)
TEMPLATE: E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\global\util.cfm
TYPE: CFML
2) [struct]
COLUMN: 0
ID: CF_UDFMETHOD
LINE: 48
RAW_TRACE: at cfinitialization2ecfm664099559$func$INITCONTROLLERCLASS.runFunction(E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\controller\initialization.cfm:48)
TEMPLATE: E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\controller\initialization.cfm
TYPE: CFML
3) [struct]
COLUMN: 0
ID: CFINVOKE
LINE: 1
RAW_TRACE: at cfroot2ecfm1908647844.runPage(E:\wwwroot\root.cfm:1)
TEMPLATE: E:\wwwroot\root.cfm
TYPE: CFML
4) [struct]
COLUMN: 0
ID: CFINCLUDE
LINE: 543
RAW_TRACE: at cfinternal2ecfm1029777204$func$CREATEOBJECTFROMROOT.runFunction(E:\wwwroot\wheels\global\internal.cfm:543)
TEMPLATE: E:\wwwroot\wheels\global\internal.cfm
TYPE: CFML
5) [struct]
COLUMN: 0
ID: CF_UDFMETHOD
LINE: 674
RAW_TRACE: at cfinternal2ecfm1029777204$func$CREATECONTROLLERCLASS.runFunction(E:\wwwroot\wheels\global\internal.cfm:674)
TEMPLATE: E:\wwwroot\wheels\global\internal.cfm
TYPE: CFML
6) [struct]
COLUMN: 0
ID: CFINVOKE
LINE: 157
RAW_TRACE: at cfcfml2ecfm957731918$func$INVOKE.runFunction(E:\wwwroot\wheels\global\cfml.cfm:157)
TEMPLATE: E:\wwwroot\wheels\global\cfml.cfm
TYPE: CFML
7) [struct]
COLUMN: 0
ID: CF_UDFMETHOD
LINE: 13
RAW_TRACE: at cfcfml2ecfm957731918$func$DOUBLECHECKEDLOCK.runFunction(E:\wwwroot\wheels\global\cfml.cfm:13)
TEMPLATE: E:\wwwroot\wheels\global\cfml.cfm
TYPE: CFML
8) [struct]
COLUMN: 0
ID: CF_UDFMETHOD
LINE: 459
RAW_TRACE: at cfmisc2ecfm263102183$funcCONTROLLER.runFunction(E:\wwwroot\wheels\global\misc.cfm:459)
TEMPLATE: E:\wwwroot\wheels\global\misc.cfm
TYPE: CFML
9) [struct]
COLUMN: 0
ID: CF_UDFMETHOD
LINE: 183
RAW_TRACE: at cffunctions2ecfm700837692$func$REQUEST.runFunction(E:\wwwroot\wheels\dispatch\functions.cfm:183)
TEMPLATE: E:\wwwroot\wheels\dispatch\functions.cfm
TYPE: CFML
10) [struct]
COLUMN: 0
ID: CF_TEMPLATEPROXY
LINE: 5
RAW_TRACE: at cfindex2ecfm1526896952.runPage(E:\wwwroot\wheels\index.cfm:5)
TEMPLATE: E:\wwwroot\wheels\index.cfm
TYPE: CFML
11) [struct]
COLUMN: 0
ID: CFINCLUDE
LINE: 2
RAW_TRACE: at cfrewrite2ecfm1893956749.runPage(e:\wwwroot\rewrite.cfm:2)
TEMPLATE: e:\wwwroot\rewrite.cfm
TYPE: CFML
12) [struct]
COLUMN: 0
ID: CFINCLUDE
LINE: 5
RAW_TRACE: at cfonrequest2ecfm1460096687$funcONREQUEST.runFunction(E:\wwwroot\wheels\events\onrequest.cfm:5)
TEMPLATE: E:\wwwroot\wheels\events\onrequest.cfm
TYPE: CFML
Type: Expression
element: FLASHAPPEND
objectType:  
[object of java.lang.Class]
Class Name: java.lang.Class
Methods:  
asSubclass(java.lang.Class) returns java.lang.Class
cast(java.lang.Object) returns java.lang.Object
desiredAssertionStatus() returns boolean
forName(java.lang.String, boolean, java.lang.ClassLoader) returns java.lang.Class
forName(java.lang.Module, java.lang.String) returns java.lang.Class
forName(java.lang.String) returns java.lang.Class
getAnnotatedInterfaces() returns java.lang.reflect.AnnotatedType[]
getAnnotatedSuperclass() returns java.lang.reflect.AnnotatedType
getAnnotation(java.lang.Class) returns java.lang.annotation.Annotation
getAnnotations() returns java.lang.annotation.Annotation[]
getAnnotationsByType(java.lang.Class) returns java.lang.annotation.Annotation[]
getCanonicalName() returns java.lang.String
getClassLoader() returns java.lang.ClassLoader
getClasses() returns java.lang.Class[]
getComponentType() returns java.lang.Class
getConstructor(java.lang.Class[]) returns java.lang.reflect.Constructor
getConstructors() returns java.lang.reflect.Constructor[]
getDeclaredAnnotation(java.lang.Class) returns java.lang.annotation.Annotation
getDeclaredAnnotations() returns java.lang.annotation.Annotation[]
getDeclaredAnnotationsByType(java.lang.Class) returns java.lang.annotation.Annotation[]
getDeclaredClasses() returns java.lang.Class[]
getDeclaredConstructor(java.lang.Class[]) returns java.lang.reflect.Constructor
getDeclaredConstructors() returns java.lang.reflect.Constructor[]
getDeclaredField(java.lang.String) returns java.lang.reflect.Field
getDeclaredFields() returns java.lang.reflect.Field[]
getDeclaredMethod(java.lang.String, java.lang.Class[]) returns java.lang.reflect.Method
getDeclaredMethods() returns java.lang.reflect.Method[]
getDeclaringClass() returns java.lang.Class
getEnclosingClass() returns java.lang.Class
getEnclosingConstructor() returns java.lang.reflect.Constructor
getEnclosingMethod() returns java.lang.reflect.Method
getEnumConstants() returns java.lang.Object[]
getField(java.lang.String) returns java.lang.reflect.Field
getFields() returns java.lang.reflect.Field[]
getGenericInterfaces() returns java.lang.reflect.Type[]
getGenericSuperclass() returns java.lang.reflect.Type
getInterfaces() returns java.lang.Class[]
getMethod(java.lang.String, java.lang.Class[]) returns java.lang.reflect.Method
getMethods() returns java.lang.reflect.Method[]
getModifiers() returns int
getModule() returns java.lang.Module
getName() returns java.lang.String
getNestHost() returns java.lang.Class
getNestMembers() returns java.lang.Class[]
getPackage() returns java.lang.Package
getPackageName() returns java.lang.String
getProtectionDomain() returns java.security.ProtectionDomain
getResource(java.lang.String) returns java.net.URL
getResourceAsStream(java.lang.String) returns java.io.InputStream
getSigners() returns java.lang.Object[]
getSimpleName() returns java.lang.String
getSuperclass() returns java.lang.Class
getTypeName() returns java.lang.String
getTypeParameters() returns java.lang.reflect.TypeVariable[]
isAnnotation() returns boolean
isAnnotationPresent(java.lang.Class) returns boolean
isAnonymousClass() returns boolean
isArray() returns boolean
isAssignableFrom(java.lang.Class) returns boolean
isEnum() returns boolean
isInstance(java.lang.Object) returns boolean
isInterface() returns boolean
isLocalClass() returns boolean
isMemberClass() returns boolean
isNestmateOf(java.lang.Class) returns boolean
isPrimitive() returns boolean
isSynthetic() returns boolean
newInstance() returns java.lang.Object
toGenericString() returns java.lang.String
toString() returns java.lang.String

StackTrace: coldfusion.runtime.EventHandlerException: Event handler exception.
at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:319)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:553)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:162)
at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:96)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
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:226)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:311)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:46)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at jdk.internal.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:134)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doNext(FusionReactorRequestHandler.java:772)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doHttpServletRequest(FusionReactorRequestHandler.java:344)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doFusionRequest(FusionReactorRequestHandler.java:207)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.handle(FusionReactorRequestHandler.java:809)
at com.intergral.fusionreactor.j2ee.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:36)
at jdk.internal.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:71)
at jdk.internal.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intergral.fusionreactor.agent.filter.FusionReactorStaticFilter.doFilter(FusionReactorStaticFilter.java:54)
at com.intergral.fusionreactor.agent.pointcuts.NewFilterChainPointCut$1.invoke(NewFilterChainPointCut.java:42)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:422)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: coldfusion.runtime.UndefinedElementException: Element FLASHAPPEND is undefined in a CFML structure referenced as part of an expression.
at coldfusion.runtime.CfJspPage.ArrayGetAt(CfJspPage.java:1387)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:1603)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:1598)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:975)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:957)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:922)
at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:909)
at cfutil2ecfm2049309674$func$GET.runFunction(E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\global\util.cfm:11)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:287)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4132)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4112)
at cfinitialization2ecfm664099559$func$INITCONTROLLERCLASS.runFunction(E:\Domains\demo\zyen.fsclub.co.uk\wwwroot\wheels\controller\initialization.cfm:48)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:835)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:641)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3506)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3481)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:472)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4287)
at cfroot2ecfm1908647844.runPage(E:\wwwroot\root.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:735)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4286)
at cfinternal2ecfm1029777204$func$CREATEOBJECTFROMROOT.runFunction(E:\wwwroot\wheels\global\internal.cfm:543)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cfinternal2ecfm1029777204$func$CREATECONTROLLERCLASS.runFunction(E:\wwwroot\wheels\global\internal.cfm:674)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:570)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4287)
at cfcfml2ecfm957731918$func$INVOKE.runFunction(E:\wwwroot\wheels\global\cfml.cfm:157)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cfcfml2ecfm957731918$func$DOUBLECHECKEDLOCK.runFunction(E:\wwwroot\wheels\global\cfml.cfm:13)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cfmisc2ecfm263102183$funcCONTROLLER.runFunction(E:\wwwroot\wheels\global\misc.cfm:459)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4073)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:4054)
at cffunctions2ecfm700837692$func$REQUEST.runFunction(E:\wwwroot\wheels\dispatch\functions.cfm:183)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:287)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:830)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:613)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:438)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3584)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3561)
at cfindex2ecfm1526896952.runPage(E:\wwwroot\wheels\index.cfm:5)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:735)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4286)
at cfrewrite2ecfm1893956749.runPage(e:\wwwroot\rewrite.cfm:2)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:735)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4286)
at cfonrequest2ecfm1460096687$funcONREQUEST.runFunction(E:\wwwroot\wheels\events\onrequest.cfm:5)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:287)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:830)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:613)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:438)
at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:115)
at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:308)

Tom King

unread,
Jan 17, 2022, 8:55:11 AM1/17/22
to CFWheels
That's an odd one;
Basically wheels is looking to setup the flash system from within the controller initialisation, but can't find the function within application.wheels.
It could be the application restarting, and something causing a lock or race condition which meant that the function wasn't available in scope at the correct time.
Which version of wheels are you on? Assuming 2.x, are you on 2.2 at least?
T

Edward Chanter

unread,
Jan 18, 2022, 12:51:09 PM1/18/22
to cfwh...@googlegroups.com
Hi Tom,

Sorry for the delayed reply, my week went a bit crazy. It has only happened once so I think it must be what you said about:
"It could be the application restarting, and something causing a lock or race condition which meant that the function wasn't available in scope at the correct time."
Though I have no way to prove that. I will keep an eye on it.

The Wheels version is 2.2

Thanks for your help.

-= Ed


--
You received this message because you are subscribed to the Google Groups "CFWheels" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfwheels+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cfwheels/80882589-e974-45af-83e3-98aad6754ea4n%40googlegroups.com.


--

Edward Chanter

Technical Innovations Manager
Collaborative Connections Ltd.
www.cc.uk.com

Landline: 01273 327950
Mobile: 07866 365282
Skype: edward.chanter
LinkedIn: http://goo.gl/Vdxqh

Reply all
Reply to author
Forward
0 new messages