Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

CFDefect
Project Home Forums Known Issues Screenshots External Project Link Contact Project

CFDefect Issue: Element INSTANCE.BEANFACTORY is undefined in VARIABLES.

Name: Element INSTANCE.BEANFACTORY is undefined in VARIABLES.
ID: 2
Project: CFDefect
Type: Bug
Area: Front End
Severity: High
Status: Open
Related URL:
Creator: Rob
Created: 01/29/07 10:39 AM
Updated: 01/29/07 10:39 AM
Description: This may be due to a mis-configuration, but when I try to fire up CFDefect, it complains:

Element INSTANCE.BEANFACTORY is undefined in VARIABLES.

The error occurred in C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\AbstractController.cfc: line 16
Called from C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\AbstractController.cfc: line 10
Called from C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\Controller.cfc: line 24
Called from C:\Inetpub\wwwroot\cfdefect\fusebox.init.cfm: line 19
Called from C:\Inetpub\wwwroot\fusebox5\fusebox5.cfm: line 126
Called from C:\Inetpub\wwwroot\cfdefect\index.cfm: line 23

14 : <!--- By declaring a getter and setter for BeanFactory, ColdSpring will inject the entire factory into this CFC.
15 :    This is needed since we do not have autowiring support in Fusebox yet. --->
16 : <cffunction name="getBeanFactory" access="private" returntype="coldspring.beans.BeanFactory" output="false" hint="Getter for BeanFactory">
17 :    <cfreturn variables.instance.BeanFactory />
18 : </cffunction>

Resources:

* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.

Browser    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Remote Address    127.0.0.1
Referrer    
Date/Time    29-Jan-07 11:30 AM
Stack Trace
at cfAbstractController2ecfc819384888$funcGETBEANFACTORY.runFunction(C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\AbstractController.cfc:16) at cfAbstractController2ecfc819384888$funcGETBEAN.runFunction(C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\AbstractController.cfc:10) at cfController2ecfc185672741$funcONREQUESTSTART.runFunction(C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\Controller.cfc:24) at cffusebox2einit2ecfm662549292.runPage(C:\Inetpub\wwwroot\cfdefect\fusebox.init.cfm:19) at cffusebox52ecfm707866988.runPage(C:\Inetpub\wwwroot\fusebox5\fusebox5.cfm:126) at cfindex2ecfm937510384.runPage(C:\Inetpub\wwwroot\cfdefect\index.cfm:23)

coldfusion.runtime.UndefinedElementException: Element INSTANCE.BEANFACTORY is undefined in VARIABLES.
   at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1097)
   at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1038)
   at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1137)
   at cfAbstractController2ecfc819384888$funcGETBEANFACTORY.runFunction(C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\AbstractController.cfc:16)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344)
   at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
   at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:290)
   at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254)
   at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)
   at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169)
   at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1807)
   at cfAbstractController2ecfc819384888$funcGETBEAN.runFunction(C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\AbstractController.cfc:10)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344)
   at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
   at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:290)
   at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254)
   at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)
   at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169)
   at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1807)
   at cfController2ecfc185672741$funcONREQUESTSTART.runFunction(C:\Inetpub\wwwroot\cfdefect\com\fusebox\controller\Controller.cfc:24)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344)
   at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
   at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:290)
   at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254)
   at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)
   at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207)
   at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169)
   at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194)
   at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146)
   at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634)
   at cffusebox2einit2ecfm662549292.runPage(C:\Inetpub\wwwroot\cfdefect\fusebox.init.cfm:19)
   at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
   at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
   at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)
   at cffusebox52ecfm707866988.runPage(C:\Inetpub\wwwroot\fusebox5\fusebox5.cfm:126)
   at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
   at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
   at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)
   at cfindex2ecfm937510384.runPage(C:\Inetpub\wwwroot\cfdefect\index.cfm:23)
   at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
   at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
   at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
   at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
   at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
   at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
   at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
   at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
   at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
   at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
   at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
   at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
   at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
   at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
   at coldfusion.CfmServlet.service(CfmServlet.java:107)
   at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
   at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
   at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
   at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
   at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
   at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
   at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
   at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
   at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
   at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

This is running on CFMX 7.0.2 with a MSSQL database. I have ColdSpring 1.0, Fusebox 5.1, and Reactor installed.
History: Created by rkolosky (Rob) : 01/29/07 10:39 AM

To add a comment to this bug, please login using the link above.