no it's not the site-wide error handler - its in a shared environment
so i dont have access to the administrator   I have an onError()
method in the CFAdministrator, that has this (in part) :


<cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]"
subject="[ #this.sitename# ] Error on the site"
server="mail.mydomain.com" username="[EMAIL PROTECTED]"
password="mypassword" type="html">
<html><head><title></title></head><body>#arguments.eventname# threw an
error: The error was given as: #arguments.exception.message# <cfdump
var="#arguments.exception#"></body></html></cfmail>


 ok,  here's the error message:

[quote]
onSessionEnd threw an error: The error was given as: Event Handler Exception.
struct  
Detail   An exception occurred when invoking a event handler method
from Application.cfc The method name is: onSessionEnd.
Message  Event Handler Exception.       
RootCause        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       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       array [empty]  
Type     Expression     
name     onSessionEnd   
[/quote]


As i said, it was easy enough to find the error and fix it, but what
surprised me was that these things came castading  into my mailbox,
one per page view, when I would have expected onSessionEnd() only to
run once per session.    Therefore I would have thought it would only
detect an error in the OnSessionEnd code when it ran - i.e. once per
person per hour or so,   not once per page view.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 4/1/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> That might be true if the error handler was specified in the CF
> Administrator. If the error handler is specified with cferror then I
> don't believe that's possible. Reading over his post again I realize
> he didn't say where the error handler was specified, and my tendancy
> is to assume cferror (I don't like the fact that the site-wide error
> handler in the CF Administrator can't be overridden, so I don't like
> using it.) But compile errors also throw a different set of error
> messages and right now you and I are just guessing. So Mike, I guess I
> should have asked you to provide more information about the errors you
> were seeing. :) If you can post the error message we might be able to
> give more helpful advice.
>
> > It

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236685
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to