HandlerService.EventHandlerNotRegisteredException ??


For some reason we are getting this error on our site. It doesn't
seem to cause any issue, but I'm trying to understand why it's
happening. I get emailed when this error happens, it doesn't generate
an error on the website.

It mentions "admin.Announcements.includes", but this isn't actually an
event in our site. We have an includes directory in the root of the
site, but that's the Coldbox default. Something is not quite right. I
have 4 or 5 errors that say "admin.something.includes is not a valid
registered event.

Maybe this is related to one of the following??

1. The addAsset() function.
2. That we are using SES URLs and for some reason it's treating this
like an event.

We are using CB 3.5 Beta. We have SES turned on.

Here is a large chunk of the error message:

Application Execution Exception
CFMessage=The event: admin.Announcements.includes is not valid
registered event. CFStackTrace=coldfusion.runtime.CustomException: The
event: admin.Announcements.includes is not valid registered event. at
coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at
coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at
\coldbox_3.5.0.Beta\system\core\util\Util.cfc:164) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at
55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301) at
\coldbox_3.5.0.Beta\system\web\services\HandlerService.cfc:385) at

Any help very much appreciated

Yes tht might be it. Do you have an on invalid event handler? You should filter those errors out

Luis Majano
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

I don't have an "onValidEvent" setup in my Coldbox.cfc. The
interesting though is that it doesn't through an error when using the
site and I'm not sure why. I get emails that this error is happening,
but its like a false positive as they say...

Yes, make sure you add an onInvalidEvent, if not, spiders might hit parts of your site that are not valid and not have a 404 in place. I suggest making the onInvalidEvent behave like a 404

Luis F. Majano
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano