Error building: coldbox.system.plugins.BeanFactory ->

Hi Guys,
Hoping someone here might be able to help me out on an issue I am having.
I’m in the process of updating our code base from Coldbox 3.0.0 to Coldbox 3.7.0.
I only get this when I have modules (Forgebox, FileBrowser) in the module folder. If I remove the modules and reinit the framework then I don’t get the error.
Any source on enlightenment would be much appreciated!!
Thanks Richard

Error building: coldbox.system.plugins.BeanFactory -> Invalid CFML construct found on line 304 at column 81. ColdFusion was looking at the following text:

for

The CFML compiler was processing:

  • A script statement beginning with for on line 304, column 81.
  • A script statement beginning with { on line 296, column 161.
  • A script statement beginning with if on line 296, column 73.
  • A script statement beginning with { on line 294, column 94.
  • A script statement beginning with if on line 294, column 65.
  • A script statement beginning with { on line 260, column 154.
  • A script statement beginning with if on line 260, column 57.
  • A script statement beginning with { on line 238, column 131.
  • A script statement beginning with if on line 238, column 54.
  • A script statement beginning with if on line 234, column 49.
  • A script statement beginning with { on line 230, column 50.
  • A script statement beginning with if on line 230, column 41.
  • A script statement beginning with { on line 211, column 62.
  • A script statement beginning with for on line 211, column 33.
  • A script statement beginning with try on line 197, column 25.
  • A cfscript tag beginning on line 186, column 18.
  • A cfscript tag beginning on line 186, column 18.
    with constructor arguments: {controller={[(Component=coldbox.system.web.Controller)]}}
    Mapping: {MIXINS={[]},DIPROPERTIES={[]},PROVIDERMETHODS={[]},DSL={},DISCOVERED={true},THREADSAFE={false},DISETTERS={[]},VALUE={},ONDICOMPLETE={[]},AUTOWIRE={true},CACHE={{KEY={},PROVIDER={},LASTACCESSTIMEOUT={},TIMEOUT={}}},DIMETHODARGS={[]},TYPE={cfc},DICONSTRUCTORARGS={[{JAVACAST={null},NAME={controller},ARGNAME={},DSL={null},REQUIRED={true},SCOPE={variables},VALUE={[(Component=coldbox.system.web.Controller)]},REF={null}}]},NAME={coldbox.system.plugins.BeanFactory},SCOPE={singleton},AUTOASPECTBINDING={true},VIRTUALINHERITANCE={coldbox.system.Plugin},PATH={coldbox.system.plugins.BeanFactory},AUTOINIT={true},EAGERINIT={false},ALIAS={[]},EXTRAATTRIBUTES={{PLUGINPATH={coldbox.system.plugins.BeanFactory},MODULE={},CUSTOM={false},ISPLUGIN={true}}},METADATA={{NAME={coldbox.system.plugins.BeanFactory},FULLNAME={coldbox.system.plugins.BeanFactory},SINGLETON={},SERIALIZABLE={false},FUNCTIONS={[{ACCESS={public},NAME={loadGlobalUDFLibraries},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@8c3c62},HINT={Load the global UDF libraries defined in the UDFLibraryFile Setting},OUTPUT={false}}, {ACCESS={public},NAME={$rethrow},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@d04843},HINT={Rethrow facade},OUTPUT={false}}, {ACCESS={public},NAME={getInterceptor},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@38305b},HINT={Get an interceptor},OUTPUT={false}}, {ACCESS={public},NAME={relocate},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@eebafe},HINT={This method will be deprecated, please use setNextEvent() instead.},OUTPUT={false}}, {ACCESS={public},NAME={getModuleSettings},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@1367a2c},HINT={Get a module’s setting structure if it exists},OUTPUT={false}}, {ACCESS={public},NAME={getColdboxOCM},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@18efc0c},HINT={Get a CacheBox Cache of type: coldbox.system.cache.IColdboxApplicationCache},COLDDOC:GENERIC={coldbox.system.cache.IColdboxApplicationCache},OUTPUT={false}}, {ACCESS={public},NAME={$abort},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@458c1e},HINT={Facade for cfabort},OUTPUT={false}}, {ACCESS={public},NAME={setfwLocale},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@1f21412},HINT={Set the default locale to use in the framework for a specific user. Utility Method},OUTPUT={false}}, {ACCESS={public},NAME={getNewMail},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@3b70c},HINT={Get a new mail payload object ready for sending email through our mail service. This function’s arguments match the cfmail tag, so send whatever you like},OUTPUT={false}}, {ACCESS={public},NAME={getDatasource},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@1e6a820},HINT={I will return to you a datasourceBean according to the alias of the datasource you wish to get from the configstruct},COLDDOC:GENERIC={coldbox.system.core.db.DatasourceBean},OUTPUT={false}}, {ACCESS={public},NAME={getController},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@27e571},HINT={Get controller: coldbox.system.web.Controller},OUTPUT={false}}, {ACCESS={public},NAME={getMailService},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@14886d3},HINT={Get a reference to our Mail Service plugin},OUTPUT={false}}, {ACCESS={public},NAME={$dump},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@8bbdab},HINT={Facade for cfmx dump},OUTPUT={true}}, {ACCESS={public},NAME={getModel},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@515a25},HINT={Create or retrieve model objects by convention.},OUTPUT={false}}, {ACCESS={Public},NAME={renderLayout},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@f56489},HINT={Renders a layout with view combinations},OUTPUT={false}}, {ACCESS={public},NAME={renderView},RETURNTYPE={Any},PARAMETERS={[Ljava.lang.Object;@9b9e76},HINT={Renders all kinds of views},OUTPUT={false}}, {ACCESS={public},NAME={locateFilePath},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@c07f58},HINT={Locate the real path location of a file in a coldbox application. 3 checks: 1) inside of coldbox app, 2) expand the path, 3) Absolute location. If path not found, it returns an empty path},OUTPUT={false}}, {ACCESS={public},NAME={$include},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@1e89f1b},HINT={Facade for cfinclude},OUTPUT={true}}, {ACCESS={public},NAME={getSetting},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@125dae8},HINT={Facade},OUTPUT={false}}, {ACCESS={public},NAME={getDebugMode},RETURNTYPE={boolean},PARAMETERS={[Ljava.lang.Object;@46e311},HINT={Facade to get your current debug mode},OUTPUT={false}}, {ACCESS={public},NAME={getPlugin},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@1e5941c},HINT={Facade},OUTPUT={false}}, {ACCESS={public},NAME={settingExists},RETURNTYPE={boolean},PARAMETERS={[Ljava.lang.Object;@15ebf57},HINT={Facade},OUTPUT={false}}, {ACCESS={public},NAME={getValidationManager},RETURNTYPE={coldbox.system.validation.IValidationManager},PARAMETERS={[Ljava.lang.Object;@1640941},HINT={Retrieve the application’s configured Validation Manager},OUTPUT={false}}, {ACCESS={public},NAME={getSettingStructure},RETURNTYPE={struct},PARAMETERS={[Ljava.lang.Object;@9bbe68},HINT={Facade},OUTPUT={false}}, {ACCESS={public},NAME={getMemento},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@f1a348},HINT={Get the memento of this object},OUTPUT={false}}, {ACCESS={public},NAME={setNextRoute},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@1708f9},HINT={This method is now deprecated, please use setNextEvent(). This method will be removed later on},OUTPUT={false}}, {ACCESS={public},NAME={setNextEvent},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@4e4df3},HINT={Facade},OUTPUT={false}}, {ACCESS={public},NAME={addAsset},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@dfb094},HINT={Add a js/css asset(s) to the html head section. You can also pass in a list of assets.},OUTPUT={false}}, {ACCESS={public},NAME={getSettingsBean},RETURNTYPE={coldbox.system.core.collections.ConfigBean},PARAMETERS={[Ljava.lang.Object;@1c1e4cb},HINT={Returns a configBean with all the configuration structure.},OUTPUT={false}}, {ACCESS={public},NAME={includeUDF},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@93f455},HINT={Injects a UDF Library (*.cfc or *.cfm) into the target object. It does not however, put the mixins on any of the cfc scopes. Therefore they can only be called internally.},OUTPUT={false}}, {ACCESS={public},NAME={populateModel},RETURNTYPE={Any},PARAMETERS={[Ljava.lang.Object;@18e1a98},HINT={Populate a named or instantiated model (java/cfc) from the request collection items},OUTPUT={false}}, {ACCESS={public},NAME={validateModel},RETURNTYPE={coldbox.system.validation.result.IValidationResult},PARAMETERS={[Ljava.lang.Object;@743294},HINT={Validate a target object},OUTPUT={false}}, {ACCESS={public},NAME={getResource},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@a4b8bc},HINT={Facade to i18n.getResource. Returns a string.},OUTPUT={false}}, {ACCESS={public},NAME={$htmlhead},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@5c4833},HINT={Facade to cfhtmlhead},OUTPUT={false}}, {ACCESS={public},NAME={announceInterception},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@884c0e},HINT={Announce an interception to the system. If you use the asynchronous facilities, you will get a thread structure report as a result.},OUTPUT={true}}, {ACCESS={public},NAME={setDebugMode},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@393296},HINT={Facade to set your debug mode},OUTPUT={false}}, {ACCESS={public},NAME={persistVariables},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@1282140},HINT={Persist variables for flash redirections},OUTPUT={false}}, {ACCESS={public},NAME={setSetting},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@19ef365},HINT={Facade},OUTPUT={false}}, {ACCESS={public},NAME={getfwLocale},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@7d72df},HINT={Get the user’s currently set locale or default locale},OUTPUT={false}}, {ACCESS={public},NAME={renderExternalView},RETURNTYPE={Any},PARAMETERS={[Ljava.lang.Object;@ae86},HINT={Renders external views},OUTPUT={false}}, {ACCESS={public},NAME={getMyPlugin},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@c1eecd},HINT={Facade},OUTPUT={false}}, {ACCESS={public},NAME={$throw},PARAMETERS={[Ljava.lang.Object;@24f4eb},HINT={Facade for cfthrow},OUTPUT={false}}, {ACCESS={public},NAME={getMailSettings},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@4b87f7},HINT={I will return to you a mailsettingsBean modeled after your mail settings in your config file.},COLDDOC:GENERIC={coldbox.system.core.mail.MailSettingsBean},OUTPUT={false}}, {ACCESS={public},NAME={runEvent},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@cba8e1},HINT={Facade to controller’s runEvent() method.},OUTPUT={false}}, {ACCESS={public},NAME={locateDirectoryPath},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@bc6e09},HINT={Locate the real path location of a directory in a coldbox application. 3 checks: 1) inside of coldbox app, 2) expand the path, 3) Absolute location. If path not found, it returns an empty path},OUTPUT={false}}, {ACCESS={public},NAME={getPluginDescription},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@dc362d},HINT={Get the instance’s pluginDescription},OUTPUT={false}}, {ACCESS={public},NAME={getpluginPath},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@168eac0},HINT={Get the instance’s pluginPath},OUTPUT={false}}, {ACCESS={public},NAME={setPluginVersion},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@10c03c6},HINT={Set the instance’s pluginVersion},OUTPUT={false}}, {ACCESS={public},NAME={setPluginDescription},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@1cbbcb3},HINT={Set the instance’s pluginDescription},OUTPUT={false}}, {ACCESS={public},NAME={getPluginName},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@d1aa70},HINT={Get the instance’s pluginName},OUTPUT={false}}, {ACCESS={private},NAME={getRequestContext},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@10cbe41},HINT={Retrieve the request context object},COLDDOC:GENERIC={coldbox.system.web.context.RequestContext},OUTPUT={false}}, {ACCESS={public},NAME={getpluginAuthor},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@19ed348},HINT={Get the instance’s pluginAuthor},OUTPUT={false}}, {ACCESS={public},NAME={getPluginVersion},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@413ea6},HINT={Get the instance’s pluginVersion},OUTPUT={false}}, {ACCESS={public},NAME={setPluginName},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@1783ddd},HINT={Set the instance’s pluginName},OUTPUT={false}}, {ACCESS={private},NAME={getRequestCollection},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@1259ee0},HINT={Get a reference to the request collection},COLDDOC:GENERIC={struct},OUTPUT={false}}, {ACCESS={public},NAME={setpluginAuthor},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@e1a690},HINT={Set the instance’s pluginAuthor},OUTPUT={false}}, {ACCESS={public},NAME={setpluginAuthorURL},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@7e668d},HINT={Set the instance’s pluginAuthorURL},OUTPUT={false}}, {ACCESS={public},NAME={init},RETURNTYPE={BeanFactory},PARAMETERS={[Ljava.lang.Object;@7ebd7d},HINT={constructor},OUTPUT={false}}, {ACCESS={public},NAME={getpluginAuthorURL},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@ca9651},HINT={Get the instance’s pluginAuthorURL},OUTPUT={false}}, {ACCESS={public},NAME={autowire},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@52ded2},HINT={Autowire an object using the ColdBox DSL},OUTPUT={false}}, {ACCESS={public},NAME={populateFromXML},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@a2b249},HINT={Populate a named or instantiated bean from an XML packet},OUTPUT={false}}, {ACCESS={public},NAME={populateFromStruct},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@166fad9},HINT={Populate a named or instantiated bean from a structure},OUTPUT={false}}, {ACCESS={public},NAME={removeExternalLocations},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@1deef8a},HINT={Try to remove all the external locations passed in. @deprecated by 3.1},OUTPUT={false}}, {NAME={populateFromQueryWithPrefix},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@1408d95},HINT={Populates an Object using only specific columns from a query. Useful for performing a query with joins that needs to populate multiple objects.},OUTPUT={false}}, {ACCESS={public},NAME={locateModel},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@10f4d89},HINT={Get the location instantiation path for a model object. If the model location is not found, this method returns an empty string. @deprecated by 3.1},OUTPUT={false}}, {ACCESS={public},NAME={appendExternalLocations},RETURNTYPE={void},PARAMETERS={[Ljava.lang.Object;@1ab9655},HINT={Try to append a new model external location. @deprecated by 3.1},OUTPUT={false}}, {ACCESS={public},NAME={populateBean},RETURNTYPE={Any},PARAMETERS={[Ljava.lang.Object;@1ad263},HINT={Populate a named or instantiated bean (java/cfc) from the request collection items},OUTPUT={false}}, {ACCESS={public},NAME={populateFromQuery},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@ea9d22},HINT={Populate a named or instantiated bean from query},OUTPUT={false}}, {ACCESS={public},NAME={populateFromJSON},RETURNTYPE={any},PARAMETERS={[Ljava.lang.Object;@f229cd},HINT={Populate a named or instantiated bean from a json string},OUTPUT={false}}]},HINT={I am a plugin that taps into WireBox. I will be eventually removed as you can access wirebox directly :)},PATH={C:\ColdFusion9\wwwroot\coldbox\system\plugins\BeanFactory.cfc},OUTPUT={false},INHERITANCETRAIL={[coldbox.system.plugins.BeanFactory, coldbox.system.Plugin, coldbox.system.FrameworkSupertype, WEB-INF.cftags.component]},TYPE={component}}},CONSTRUCTOR={init},METHOD={},ASPECT={false}}, Stacktrace: coldfusion.compiler.ParseException: Invalid CFML construct found on line 304 at column 81. at coldfusion.compiler.cfml40.generateParseException(cfml40.java:11961) at coldfusion.compiler.cfml40.jj_consume_token(cfml40.java:11832) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1708) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.cfscriptBlock(cfml40.java:2321) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1518) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1585) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.cfscriptBlock(cfml40.java:2321) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1518) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1585) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.cfscriptBlock(cfml40.java:2321) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1518) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1585) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.cfscriptBlock(cfml40.java:2321) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1518) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1585) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1589) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.cfscriptBlock(cfml40.java:2321) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1518) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1585) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.cfscriptBlock(cfml40.java:2321) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1518) at coldfusion.compiler.cfml40.ComplexStatement(cfml40.java:1687) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1478) at coldfusion.compiler.cfml40.cfscriptBlock(cfml40.java:2321) at coldfusion.compiler.cfml40.cfScriptTryStatement(cfml40.java:3378) at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1527) at coldfusion.compiler.cfml40.cfscript(cfml40.java:1403) at coldfusion.compiler.cfml40.cfml(cfml40.java:4236) at coldfusion.compiler.cfml40.cffunction(cfml40.java:3607) at coldfusion.compiler.cfml40.cfml(cfml40.java:4238) at coldfusion.compiler.cfml40.start(cfml40.java:4539) at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:667) at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:648) at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:401) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:343) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:144) at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:418) at coldfusion.util.LruCache.get(LruCache.java:180) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362) at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58) at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133) at coldfusion.util.SoftCache.get(SoftCache.java:81) at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:591) at coldfusion.runtime.RuntimeServiceImpl.getFile(RuntimeServiceImpl.java:785) at coldfusion.runtime.RuntimeServiceImpl.resolveTemplatePath(RuntimeServiceImpl.java:752) at coldfusion.runtime.TemplateProxyFactory.getResolvedFile(TemplateProxyFactory.java:1228) at coldfusion.runtime.TemplateProxyFactory.getTemplateFileHelper(TemplateProxyFactory.java:1518) at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:51) at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4781) at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4795) at cfBeanFactory2ecfc1127914618$funcINIT.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\plugins\BeanFactory.cfc:32) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:495) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:354) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301) at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:382) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2723) at cfBuilder2ecfc1151797735$funcBUILDCFC.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\ioc\Builder.cfc:118) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfInjector2ecfc1748100027$funcBUILDINSTANCE.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\ioc\Injector.cfc:288) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfSingleton2ecfc2120473237$funcGETFROMSCOPE.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\ioc\scopes\Singleton.cfc:49) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfInjector2ecfc1748100027$funcGETINSTANCE.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\ioc\Injector.cfc:261) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfPluginService2ecfc1378671346$funcNEW.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\web\services\PluginService.cfc:137) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547) at cfPluginService2ecfc1378671346$funcGET.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\web\services\PluginService.cfc:153) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfController2ecfc1944470730$funcGETPLUGIN.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\web\Controller.cfc:371) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfModuleService2ecfc304242916$funcACTIVATEMODULE.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\web\services\ModuleService.cfc:273) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582) at cfModuleService2ecfc304242916$funcACTIVATEALLMODULES.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\web\services\ModuleService.cfc:256) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfLoaderService2ecfc1851512594$funcLOADAPPLICATION.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\web\services\LoaderService.cfc:86) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfColdbox2ecfc1074052954$funcLOADCOLDBOX.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\Coldbox.cfc:71) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582) at cfColdbox2ecfc1074052954$funcRELOADCHECKS.runFunction(C:\ColdFusion9\wwwroot\coldbox\system\Coldbox.cfc:102) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfApplication2ecfc1849731510$funcONREQUESTSTART.runFunction(C:\ColdFusion9\wwwroot\TroikaIIProvider\Application.cfc:91) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88) at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:258) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:331) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:87) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) 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.filter.CachingFilter.invoke(CachingFilter.java:53) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:200) 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)

The error occurred in C:\ColdFusion9\wwwroot\coldbox\system\ioc\Builder.cfc: line 123
Called from C:\ColdFusion9\wwwroot\coldbox\system\ioc\Injector.cfc: line 288
Called from C:\ColdFusion9\wwwroot\coldbox\system\ioc\scopes\Singleton.cfc: line 49
Called from C:\ColdFusion9\wwwroot\coldbox\system\ioc\Injector.cfc: line 261
Called from C:\ColdFusion9\wwwroot\coldbox\system\web\services\PluginService.cfc: line 137
Called from C:\ColdFusion9\wwwroot\coldbox\system\web\services\PluginService.cfc: line 153
Called from C:\ColdFusion9\wwwroot\coldbox\system\web\Controller.cfc: line 371
Called from C:\ColdFusion9\wwwroot\coldbox\system\web\services\ModuleService.cfc: line 273
Called from C:\ColdFusion9\wwwroot\coldbox\system\web\services\ModuleService.cfc: line 256
Called from C:\ColdFusion9\wwwroot\coldbox\system\web\services\LoaderService.cfc: line 86
Called from C:\ColdFusion9\wwwroot\coldbox\system\Coldbox.cfc: line 71
Called from C:\ColdFusion9\wwwroot\coldbox\system\Coldbox.cfc: line 102
Called from C:\ColdFusion9\wwwroot\TroikaIIProvider\Application.cfc: line 91

121 : 					<!--- Controlled Exception --->
122 : 					<cfthrow message="Error building: #thisMap.getName()# -> #cfcatch.message# #cfcatch.detail# with constructor arguments: #constructorArgs.toString()#" 
**123 : 							 detail="Mapping: #thisMap.getMemento().toString()#, Stacktrace: #cfcatch.stacktrace#"** 
124 : 							 type="Builder.BuildCFCDependencyException">
125 : 				</cfcatch>

my guess is you are running on ColdFusion 8.

Hi Andrew
Thanks for the response. I am definitely running CF9.
Regards, Richard

Ok, is it fully patched version of CF9?

Looking at the error in more detail, can you tell us in which file exactly that is occurring in?

As it looks like it maybe using something that is ColdFusion 10+ or Railo only code.

As in turns out i’m not running a fully patched version of CF9 at the moment as I am using a spare machine with just the original version of CF9 on it (Primary laptop died on me yesterday!). Think might put on CF10 and see does it help things! Thanks Andrew.

Yeah I was trying to recall whether it might be a script issue introduced in CF10 only, but if you only have 9 and not 9.01 you may get the same error as well.

Simply patching your 9 install should work, but nothing wrong with going all the way to 10. CF 9.01 introduced several fixes for cfscript and struct literals.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Thanks Guys, Upgrading to CF10 solved the problem. Appreciate ye taking the time out to help me out!