I could be wrong, but I thought all argument attribute values had to be 
quoted?...

Cutter

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

>This one is baffling me. I have an app with session management enbabled. The 
>onSessionEnd function has NO CODE in it whatsoever. It is there so I do not 
>get a "method not found" error when sessions end. I am NOT calling this 
>explicitly - it gets called by CF when a session expires.
>
>Every time the OnSessionEnd function fires, I get this error:
>
>"An exception occurred when invoking a event handler method from 
>Application.cfc The method name is: onSessionEnd."
>
>The "StackTrace" shows this: "java.lang.NullPointerException at 
>coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:145)"
>
>
>Here is the EXACT code for the onSessionEnd function:
>
>[cffunction name="onSessionEnd"]
>   [cfargument name="SessionScope" required=True/]
>   [cfargument name="ApplicationScope" required=False/]
>               
>[/cffunction]
>
>I even added a simple [cfset x=1] in the function body thinking that an empty 
>function body would cause the error - no luck.
>
>Any ideas?
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233147
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to