Hi CF-Talk guys, after the CFMX 7.01 upgrade, I costantly receive an error (perhaps) raised from the onSessionEnd event in Application.cfc:
"An exception occurred when invoking a event handler method from Application.cfc The method name is: onSessionEnd." Since it is really difficult to debug errors on events like this, I'm not sure the cause is in the onSessionEnd event. Session methods are very simple but despite this, the exception is always raised. <cffunction name="onSessionStart" returnType="void" output="false"> </cffunction> <cffunction name="onSessionEnd" returnType="void" output="false"> <cfargument name = "SessionScope" required="true"> </cffunction> If i comment the onSessionEnd method, ColdFusion still raises the same onSessionEnd exception (!). If I comment onSessionStart and onSessionEnd methods, the error is gone. What's is happening on my server? I'm using J2EE session variables on my server. Server Product ColdFusion MX Version 7,0,1,116466 Java Version 1.4.2_05 Operating System Windows 2003 OS Version 5.2 More details from the error below --------------------------------------------------- Detail An exception occurred when invoking a event handler method from Application.cfc The method name is: onSessionEnd. Message Event Handler Exception. RootCause Error scope - struct Message [empty string] StackTrace java.lang.NullPointerException at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:145) at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168) at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70) TagContext Error scope - array [empty] Type java.lang.NullPointerException StackTrace coldfusion.runtime.EventHandlerException: Event Handler Exception. at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:147) at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168) at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70) TagContext Error scope - array [empty] Type Expression name onSessionEnd -- Giampaolo Bellavite - Berlin [EMAIL PROTECTED] (PGP key available) ICQ# 99999936 - MSN: [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220655 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