stack overflow in request context decorator

Im trying to get the ioc plugin from my request context decorator.
This is the decorator (with anything else stripped out, just the code
that gives the error, getController.getPlugin("ioc"):

<cfcomponent name=""
       hint=""
       extends="coldbox.system.beans.requestContextDecorator"
       output="false">

<cffunction name="Configure" access="public" returntype="void"
output="false" >
    <cfset getController().getPlugin("ioc")>

</cffunction>

</cfcomponent>

If i get for example the beanFactory plugin, the error does not occur.
The ioc i am using is ColdSpring. So it seems that getPlugin("ioc")
when using Coldspring does not work, in the error output (its a java
stacktrace, so it seems pretty serious), it looks like the java method
enablecfoutputonly is calling itself in an endless loop.

Can anyone reproduce this problem? The worst case would be there is
something special in my specific settings... But getPlugin("ioc")
works everywhere else then in the request context decorator.

This is the error i get from coldfusion:

500

ROOT CAUSE:
coldfusion.runtime.EventHandlerException: Event handler exception.
  at coldfusion.runtime.AppEventInvoker.onRequestStart
(AppEventInvoker.java:229)
  at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:
264)
  at coldfusion.filter.RequestMonitorFilter.invoke
(RequestMonitorFilter.java:48)
  at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:
40)
  at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
  at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
  at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
  at coldfusion.filter.ClientScopePersistenceFilter.invoke
(ClientScopePersistenceFilter.java:28)
  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
  at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
  at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
  at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:
22)
  at coldfusion.CfmServlet.service(CfmServlet.java:175)
  at coldfusion.bootstrap.BootstrapServlet.service
(BootstrapServlet.java:89)
  at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
  at coldfusion.monitor.event.MonitoringServletFilter.doFilter
(MonitoringServletFilter.java:42)
  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:
46)
  at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
  at jrun.servlet.FilterChain.service(FilterChain.java:101)
  at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
  at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
  at jrun.servlet.JRunRequestDispatcher.invoke
(JRunRequestDispatcher.java:286)
  at jrun.servlet.ServletEngineService.dispatch
(ServletEngineService.java:543)
  at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
  at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable
(ThreadPool.java:320)
  at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable
(ThreadPool.java:428)
  at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable
(ThreadPool.java:266)
  at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Caused by: java.lang.StackOverflowError
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)

  .... 100's MORE OF THESE

  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)
  at coldfusion.runtime.NeoBodyContent.enablecfoutputonly
(NeoBodyContent.java:138)

  at coldfusion.monitor.event.MonitoringServletFilter.doFilter
(MonitoringServletFilter.java:70)
  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:
46)
  at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
  at jrun.servlet.FilterChain.service(FilterChain.java:101)
  at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
  at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
  at jrun.servlet.JRunRequestDispatcher.invoke
(JRunRequestDispatcher.java:286)
  at jrun.servlet.ServletEngineService.dispatch
(ServletEngineService.java:543)
  at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
  at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable
(ThreadPool.java:320)
  at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable
(ThreadPool.java:428)
  at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable
(ThreadPool.java:266)
  at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Weirdly enoguh i get the same stack overflow when i try to get a
custom plugin that i just made with only a standard config method. so
getController().getPlugin("somecustomplugin",true)

It must be the combo of getController and the configure method.

Yes, i think you are right, beanFactory does not have the problem, and
it has no configure method, while my custom plugin and the ioc plugin
have a configure method, and these 2 throw the error...

I don’t get an error at all when calling them from the configure method?

Can you expand more what is going on, because I can’t reproduce it.