Two issues with latest nightly build ()

20 views
Skip to first unread message

Brett

unread,
Jun 12, 2010, 6:00:58 PM6/12/10
to ColdBox Platform
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

Luis Majano

unread,
Jun 13, 2010, 8:11:13 PM6/13/10
to col...@googlegroups.com
Hi Bret,

The first report is excellent, thank you for this, this has been a bug since 2.6.3 and never reported.  I just committed the fix for it.

As for the second bug I cannot reproduce, so I would need more information on this.

Luis F. Majano
President
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



--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org

Brett

unread,
Jun 14, 2010, 10:23:04 AM6/14/10
to ColdBox Platform
1) confirmed fixed, thanks.

2) I'll try to narrow this down, I can definitely reproduce it. It is
a bit difficult though since no data is returned in the request.

.brett

On Jun 13, 8:11 pm, Luis Majano <lmaj...@gmail.com> wrote:
> Hi Bret,
>
> The first report is excellent, thank you for this, this has been a bug since
> 2.6.3 and never reported.  I just committed the fix for it.
>
> As for the second bug I cannot reproduce, so I would need more information
> on this.
>
> Luis F. Majano
> President
> 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
>

Luis Majano

unread,
Jun 14, 2010, 12:21:06 PM6/14/10
to col...@googlegroups.com
Thanks Brett!! It might be something that gets reinitialized as config auto reload basically reloads EVERYTHING again.

Luis F. Majano
President
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


Reply all
Reply to author
Forward
0 new messages