I updated to the latest nightly (from 3.0M5) and ran into a couple
issues with an application.
Setup: Tomcat 6/ColdFusion 9,0,1,274610/ColdBox Build-201006120000
1) I am using the base ORM event handler
(coldbox.system.orm.hibernate.EventHandler) and get this error loading
an entity ( through ORMService.get() ):
Error Type: Application : [N/A]
Error Messages: Error while loading the entity.
org.hibernate.HibernateException:
coldfusion.runtime.UndefinedElementException: Element
INTERCEPTDATA.ENTITY is undefined in ARGUMENTS.
There is an redundant INTERCEPTDATA key in the arguments passed into
Autowire.ORMPostLoad() interceptData arg so the actual ENTITY key
value is at arguments.interceptdata.interceptdata.entity.
2) I get a stackoverflow error when I set configAutoReload to true.
I'm guessing the request is caught in a recursive loop. Here are some
bits from the catalina log:
Jun 12, 2010 5:37:49 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet CfmServlet threw exception
javax.servlet.ServletException: ROOT CAUSE:
coldfusion.runtime.EventHandlerException: Event handler exception.
Caused by: java.lang.StackOverflowError
at cfInterceptorState2ecfc989762626$funcINVOKER.runFunction(E:\web
\sites\cf9.local\webapps\ROOT\coldbox\system\beans
\InterceptorState.cfc:127)
I'm working around both but wanted to report them. If they can't be
reproduced let me know and I can narrow them down.
.brett