[Announcement] New Compatibility Module released to help get you on ColdBox 4.0

For those of you who are eyeballing ColdBox 4.0 and it’s new features/performance but are unsure of jumping into the compatibility updates, your moment has arrived.

I have just released a compatibility module that you can drop into a ColdBox 4.x app to make it work with a 3.x codebase while you refactor at your own pace. Yep, that means plugins come back, methods like getColdBoxOCM() re-appear and WireBox DSL namespaces such as coldbox:cacheManager will all work again. Betcha’ didn’t even realize you could do that much with a module :slight_smile:

Please read about it here:
http://blog.coldbox.org/blog/new-compatibility-module-released-to-help-get-you-on-coldbox-40

Here’s the short version. Grab CommandBox and type:

install cbcompat

Boom, you’re done! Pretty easy, right? Give it a spin and let us know how it works or if there’s anything to add.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

I’m curious if anyone has had the chance to give this 4.0 compatibility module a spin. We’d love any feedback on it.

Thanks!

~Brad

Brad,

I just was playing with it. It doesn’t seem the wirebox DSL’s are working.

I get an error with coldbox:plugin:sessionStorage.

Error Type: Builder.DSLDependencyNotFoundException :
Error Messages: The DSL Definition {JAVACAST={null},NAME={sessionStorage},ARGNAME={},DSL={coldbox:plugin:sessionstorage},VALUE={null},SCOPE={variables},REQUIRED={true},REF={null},TYPE={any}} did not produce any resulting dependency

Curt

Can you show me a stack trace? It’s possible you have DI happening before the module gets loaded.

Thanks!

~Brad

Curt, did you ever get a chance to grab a stack trace of this to confirm if the DSL was getting used before the compat module was loaded?

Thanks!

~Brad

Hi Brad-

Does the compatibility module need ColdFusion 11 to run? I am on Coldfusion 10 and the getPlugin function in the system/ FrameworkSuperType.cfc keeps throwing the error message. The mixin is being called but the getPlugin is not being overwritten by it with the this.getPlugin and variables.getPlugin. Any ideas?

function getPlugin(){ throw( “This method has been deprecated, please use getInstance() instead” ); }

Hi Brad-

Does the compatibility module need ColdFusion 11 to run? I am on Coldfusion 10 and the getPlugin function in the system/ FrameworkSuperType.cfc keeps throwing the error message. The mixin is being called but the getPlugin is not being overwritten by it with the this.getPlugin and variables.getPlugin. Any ideas?

function getPlugin(){ throw( “This method has been deprecated, please use getInstance() instead” ); }

Exceptions

14:32:10.010 - Application Exception - in C:/ColdFusion10/cfusion/wwwroot/fastgrade/frameworks/coldbox/system/FrameworkSupertype.cfc : line 458

	    This method has been deprecated, please use getInstance() instead
	    

14:32:10.010 - Builder.BuildCFCDependencyException - in ) instead with constructor arguments : line -1

	    Error building: cbcompat.plugins.antisamy -> This method has been deprecated, please use getInstance() instead  with constructor arguments: {controller={[(Component=coldbox.system.web.Controller)]}} 

I’d need to see a stack trace, but chances are, something in your app is calling that method before the compat module has had a chance to load. See if you can defer the creation of this object until after the framework is loaded.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

The mixin code is called way before the error hits. I am confused though as it looks to be calling the proper mixin when it is hitting the error:

CFC[ C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbdebugger/models/DebuggerService.cfc | pushTracer(ERROR 06:39:06.757 AM coldbox.system.Bootstrap
Error: Error building: myApp.plugins.JSMin -> This method has been deprecated, please use getInstance() instead with constructor arguments: {controller={[(Component=coldbox.system.web.Controller)]}} Mapping: {PATH={myApp.plugins.JSMin},MIXINS={[]},THREADSAFE={false},DISETTERS={[]},PROVIDERMETHODS={[]},AUTOWIRE={true},SCOPE={singleton},ALIAS={[]},VALUE={},AUTOINIT={true},DSL={},DICONSTRUCTORARGS={[{JAVACAST={null},REF={null},SCOPE={variables},REQUIRED={true},VALUE={[(Component=coldbox.system.web.Controller)]},DSL={null},TYPE={any},ARGNAME={},NAME={controller}}]},TYPE={cfc},DIPROPERTIES={[]},EXTRAATTRIBUTES={{MODULE={},CUSTOM={true},ISPLUGIN={true},PLUGINPATH={myApp.plugins.JSMin}}},CACHE={{LASTACCESSTIMEOUT={},PROVIDER={},TIMEOUT={},KEY={}}},ONDICOMPLETE={[]},NAME={myApp.plugins.JSMin},EAGERINIT={false},METHOD={},VIRTUALINHERITANCE={coldbox.system.Plugin},ASPECT={false},AUTOASPECTBINDING={true},CONSTRUCTOR={init},DIMETHODARGS={[]},DISCOVERED={true},METADATA={{INHERITANCETRAIL={[myApp.plugins.JSMin, coldbox.system.Plugin, coldbox.system.FrameworkSupertype, WEB-INF.cftags.component]},PATH={C:/ColdFusion10/cfusion/wwwroot/myApp/plugins/JSMin.cfc},PROPERTIES={[{NAME={controller}}]},OUTPUT={false},HINT={***************************************************************************** Copyright 2009 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldboxframework.com | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Author : Luis Majano Description : This is a plugin that interfaces with our own flavor of JSMin to minify CSS and JavaScript files and also compress them into a single include file. We have also added LESS support for compiling LESS into CSS for you or on-demand. Configuration Settings: jsmin_enable : boolean (defaults to true) - flag to enable disable the packaging process jsmin_cacheLocation : string - the relative file location where cached minified js/css files will be stored, this location will be expanded. ex: includes/cache If any of the minify methods cannot find a location argument or the jsmin_cacheLocation setting then an exception will be thrown. Usage: minify(assets:string, location:relativePath) : html script or link The main method of operation is minify(). You pass to it a list of assets to compress, but they have to be of the same type: js or css/less. Do not alternate or weird results will happen. This method returns a script or link include that you would output on your layouts: #getMyPlugin(“JSMin”).minify(‘includes/js/myscripts.js,includes/js/jquery.js’)# #getMyPlugin(“JSMin”).minify(‘includes/css/site.css,includes/css/boxes.css’)# #getMyPlugin(“JSMin”).minify(‘includes/css/site.less,includes/css/boxes.less’)# // With Location #getMyPlugin(“JSMin”).minify(assets=‘includes/css/site.less,includes/css/boxes.less’, location=‘includes/mycache’)# As you can see from the example above, you can easily render the minified version of all the assets. This plugin will minify each asset and if more than 1 is declared, then it will build a concatenated version of the js or css/less assets and cache them. If the files are of LESS extension, then the plugin will compile the LESS into CSS files. You can use the alternate ‘location’ argument to choose the location of the compressed and minified files. minifyToHead(assets:string, location:relativePath) : void This method basically sends the HTML links and script tags to the head section using cfhtmlhead. You can use this method when calling JSMin via handlers or plugins or any other location than layouts. compileLessSource(input:LESS, [ output:absolutePath ]) : CSS This method compiles LESS source into CSS for you and returns it to you if no output argument is used, else the compiled source is sent to the output file. An extra goody about this method is that compilation only takes place if the source LESS file has been modified. compileLess(input:absolutePath, [ output:absolutePath ]) : [void | CSS] This methods can compile an input LESS file into an output CSS file or you can omit passing the output file argument and the method will return to you the compiled CSS.},SINGLETON={},ACCESSORS={true},AUTHOR={Luis Majano lmajano@ortussolutions.com},FUNCTIONS={[{PARAMETERS={[Ljava.lang.Object;@686b7bd5},HINT={Renders an external view anywhere that cfinclude works.},NAME={renderExternalView}}, {RETURN={coldbox.system.cache.IColdboxApplicationCache},PARAMETERS={[Ljava.lang.Object;@32a37529},HINT={Get a named CacheBox Cache},NAME={getCache}}, {PARAMETERS={[Ljava.lang.Object;@7c550d7e},RETURNTYPE={string},HINT={Resolve a file to be either relative or absolute in your application},NAME={locateFilePath}}, {PARAMETERS={[Ljava.lang.Object;@143cd21a},HINT={Executes events with full life-cycle methods and returns the event results if any were returned.},NAME={runEvent}}, {Parameters={[Ljava.lang.Object;@273ab69b},returntype={coldbox.system.FrameworkSupertype},access={public},name={SETCONTROLLER}}, {PARAMETERS={[Ljava.lang.Object;@e199568},RETURNTYPE={string},HINT={Resolve a directory to be either relative or absolute in your application},NAME={locateDirectoryPath}}, {PARAMETERS={[Ljava.lang.Object;@5af34728},HINT={Populate a model object from the request Collection},NAME={populateModel}}, {NAME={getMyPlugin},PARAMETERS={[Ljava.lang.Object;@28ade26e}}, {PARAMETERS={[Ljava.lang.Object;@5a51178e},RETURNTYPE={struct},HINT={Get a datasource structure representation},NAME={getDatasource}}, {OUTPUT={false},RETURNTYPE={any},HINT={Get a reference to the request collection},PARAMETERS={[Ljava.lang.Object;@18a16b79},ACCESS={private},COLDDOC:GENERIC={struct},NAME={getRequestCollection}}, {RETURN={FrameworkSuperType},RETURNTYPE={any},HINT={Load the global application helper libraries defined in the applicationHelper Setting of your application. This is called by the framework ONLY! Use at your own risk},PARAMETERS={[Ljava.lang.Object;@58abb542},NAME={loadApplicationHelpers}}, {RETURN={struct or any},RETURNTYPE={any},HINT={Get a module’s settings structure or a specific setting if the setting key is passed},PARAMETERS={[Ljava.lang.Object;@1fd292ab},NAME={getModuleSettings}}, {PARAMETERS={[Ljava.lang.Object;@4d6d0bb8},HINT={Render out a view},NAME={renderView}}, {RETURN={FrameworkSuperType},RETURNTYPE={any},HINT={Set a new setting in the system},PARAMETERS={[Ljava.lang.Object;@5e044bcf},NAME={setSetting}}, {PARAMETERS={[Ljava.lang.Object;@5b00e4e8},HINT={Get a instance object from WireBox},NAME={getInstance}}, {PARAMETERS={[Ljava.lang.Object;@504c62e9},HINT={Get a setting from the system},NAME={getSetting}}, {PARAMETERS={[Ljava.lang.Object;@75d99393},HINT={Get a model object},NAME={getModel}}, {RETURN={coldbox.system.web.Renderer},PARAMETERS={[Ljava.lang.Object;@9ffe4d4},HINT={Retrieve the system web renderer},NAME={getRenderer}}, {RETURN={Interceptor},PARAMETERS={[Ljava.lang.Object;@558476a7},HINT={Get an interceptor reference},NAME={getInterceptor}}, {RETURN={FrameworkSuperType},PARAMETERS={[Ljava.lang.Object;@66ec1dd4},HINT={Persist variables into the Flash RAM},NAME={persistVariables}}, {RETURN={FrameworkSuperType},RETURNTYPE={any},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},PARAMETERS={[Ljava.lang.Object;@5f904f91},NAME={includeUDF}}, {PARAMETERS={[Ljava.lang.Object;@293fc9f3},RETURNTYPE={struct},HINT={Get a module’s configuration structure},NAME={getModuleConfig}}, {PARAMETERS={[Ljava.lang.Object;@5ff8a33d},HINT={DEPRECATED: Get all the settings structure},NAME={getSettingStructure}}, {PARAMETERS={[Ljava.lang.Object;@597c17ab},RETURNTYPE={void},HINT={Relocate the user to another location},NAME={setNextEvent}}, {PARAMETERS={[Ljava.lang.Object;@4cd27d2},HINT={Render a layout or a layout + view combo},NAME={renderLayout}}, {PARAMETERS={[Ljava.lang.Object;@53ea16e9},RETURNTYPE={string},HINT={Add a js/css asset(s) to the html head section. You can also pass in a list of assets. This method keeps track of the loaded assets so they are only loaded once},NAME={addAsset}}, {PARAMETERS={[Ljava.lang.Object;@4991a6e2},HINT={ REMOVE THE FOLLOWING: JUST LEFT UNTIL COMPLETELY REMOVED ***},NAME={getPlugin}}, {PARAMETERS={[Ljava.lang.Object;@70692134},returntype={any},access={public},NAME={GETCONTROLLER}}, {RETURN={struct of thread information or void},RETURNTYPE={any},HINT={Announce an interception to the system. If you use the asynchronous facilities, you will get a thread structure report as a result.},PARAMETERS={[Ljava.lang.Object;@1d776b5c},NAME={announceInterception}}, {OUTPUT={false},RETURNTYPE={any},HINT={Retrieve the request context object},PARAMETERS={[Ljava.lang.Object;@1ea97b45},ACCESS={private},COLDDOC:GENERIC={coldbox.system.web.context.RequestContext},NAME={getRequestContext}}, {PARAMETERS={[Ljava.lang.Object;@5acb68c4},RETURNTYPE={boolean},HINT={Verify a setting from the system},NAME={settingExists}}, {OUTPUT={false},HINT={Get the instance’s pluginDescription},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@63929228},ACCESS={public},NAME={getPluginDescription}}, {OUTPUT={false},HINT={Get the instance’s pluginPath},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@4599288d},ACCESS={public},NAME={getpluginPath}}, {OUTPUT={false},HINT={Set the instance’s pluginVersion},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@10bf1028},ACCESS={public},NAME={setPluginVersion}}, {OUTPUT={false},HINT={Set the instance’s pluginDescription},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@11b3c7b3},ACCESS={public},NAME={setPluginDescription}}, {OUTPUT={false},HINT={Get the instance’s pluginName},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@66c7147f},ACCESS={public},NAME={getPluginName}}, {OUTPUT={false},RETURNTYPE={string},HINT={Get the instance’s pluginAuthor},PARAMETERS={[Ljava.lang.Object;@6a16856a},ACCESS={public},NAME={getpluginAuthor}}, {OUTPUT={false},HINT={Get the instance’s pluginVersion},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@240e650},ACCESS={public},NAME={getPluginVersion}}, {OUTPUT={false},HINT={Set the instance’s pluginName},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@d4137f4},ACCESS={public},NAME={setPluginName}}, {OUTPUT={false},RETURNTYPE={void},HINT={Set the instance’s pluginAuthor},PARAMETERS={[Ljava.lang.Object;@537baecf},ACCESS={public},NAME={setpluginAuthor}}, {OUTPUT={false},RETURNTYPE={void},HINT={Set the instance’s pluginAuthorURL},PARAMETERS={[Ljava.lang.Object;@d985c1f},ACCESS={public},NAME={setpluginAuthorURL}}, {PARAMETERS={[Ljava.lang.Object;@561a07a2},RETURNTYPE={JSMin},NAME={init}}, {OUTPUT={false},RETURNTYPE={string},HINT={Get the instance’s pluginAuthorURL},PARAMETERS={[Ljava.lang.Object;@c9521e4},ACCESS={public},NAME={getpluginAuthorURL}}, {PARAMETERS={[Ljava.lang.Object;@245acba3},HINT={Compile LESS source string into CSS},NAME={compileLessSource}}, {PARAMETERS={[Ljava.lang.Object;@537dd112},HINT={Compile LESS into CSS either to an output file or return},NAME={compileLess}}, {PARAMETERS={[Ljava.lang.Object;@2b072cd1},ACCESS={private},HINT={Check if the LESS file has been modified or first time we see it.},NAME={isLessModified}}, {PARAMETERS={[Ljava.lang.Object;@2da61904},HINT={Prepare source(s) statements using our fabulous jsmin compressor and return back the include HTML},NAME={minify}}, {PARAMETERS={[Ljava.lang.Object;@5f53d8c0},HINT={Renders links according to passed in assets},NAME={renderLinks}}, {PARAMETERS={[Ljava.lang.Object;@621b6779},RETURNTYPE={JSMin},HINT={Clean the cache location for cached assets},NAME={cleanCache}}, {PARAMETERS={[Ljava.lang.Object;@7068be4f},ACCESS={private},HINT={JSMin a set of files and return the compressed version cache string file},NAME={jsmin}}, {PARAMETERS={[Ljava.lang.Object;@6d9bf77f},RETURNTYPE={JSMin},HINT={Prepare source(s) statements using our fabulous jsmin compressor and send them to the head section},NAME={minifyToHead}}]},SERIALIZABLE={false},NAME={myApp.plugins.JSMin},TYPE={component},FULLNAME={myApp.plugins.JSMin}}}}, Stacktrace: coldfusion.runtime.CustomException: This method has been deprecated, please use getInstance() instead at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2795) at cfFrameworkSupertype2ecfc411386962$funcGETPLUGIN.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/FrameworkSupertype.cfc:458) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2655) at cfJSMin2ecfc1386690567$funcINIT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/plugins/JSMin.cfc:101) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:402) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2796) at cfBuilder2ecfc1152431365$funcBUILDCFC.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/ioc/Builder.cfc:127) 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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfInjector2ecfc163598318$funcBUILDINSTANCE.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfSingleton2ecfc148399159$funcGETFROMSCOPE.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfInjector2ecfc163598318$funcGETINSTANCE.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfPluginService2ecfc338465201$funcNEW.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/models/PluginService.cfc:163) 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:518) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2620) at cfPluginService2ecfc338465201$funcGET.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/models/PluginService.cfc:179) 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:2655) at cfPluginService2ecfc338465201$funcGETPLUGIN.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/models/PluginService.cfc:89) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at cfmixins2ecfm1435481996$func__GETMYPLUGIN.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/includes/mixins.cfm:25) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2655) at cfmainLayout2ecfm112733751.runPage(C:/ColdFusion10/cfusion/wwwroot/myApp/layouts/myAppApp/mainLayout.cfm:7) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:446) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2795) at cfRenderer2ecfc1773485305$funcRENDERVIEWCOMPOSITE.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Renderer.cfc:346) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:518) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2620) at cfRenderer2ecfc1773485305$funcRENDERLAYOUT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Renderer.cfc:503) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at cfBootstrap2ecfc830154408$funcPROCESSCOLDBOXREQUEST.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/Bootstrap.cfc:216) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfapplication2ecfc821064599$funcONREQUESTSTART.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/application.cfc:125) 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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:108) at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:278) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:419) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745), [complex value]) ] from C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbdebugger/models/DebuggerService.cfc

when I call the getPlugin(‘AntiSamy’) in my handler after all the modules have been loaded I get the same thing and the mixin.cfm is called before the error:

CFC[ C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbdebugger/models/DebuggerService.cfc | pushTracer(ERROR 06:54:30.577 AM coldbox.system.Bootstrap
Error: Error building: cbcompat.plugins.antisamy -> This method has been deprecated, please use getInstance() instead with constructor arguments: {controller={[(Component=coldbox.system.web.Controller)]}} Mapping: {PATH={cbcompat.plugins.antisamy},MIXINS={[]},THREADSAFE={false},DISETTERS={[]},PROVIDERMETHODS={[]},AUTOWIRE={true},SCOPE={singleton},ALIAS={[]},VALUE={},AUTOINIT={true},DSL={},DICONSTRUCTORARGS={[{JAVACAST={null},REF={null},SCOPE={variables},REQUIRED={true},VALUE={[(Component=coldbox.system.web.Controller)]},DSL={null},TYPE={any},ARGNAME={},NAME={controller}}]},TYPE={cfc},DIPROPERTIES={[]},EXTRAATTRIBUTES={{MODULE={},CUSTOM={false},ISPLUGIN={true},PLUGINPATH={cbcompat.plugins.antisamy}}},CACHE={{LASTACCESSTIMEOUT={},PROVIDER={},TIMEOUT={},KEY={}}},ONDICOMPLETE={[]},NAME={cbcompat.plugins.antisamy},EAGERINIT={false},METHOD={},VIRTUALINHERITANCE={coldbox.system.Plugin},ASPECT={false},AUTOASPECTBINDING={true},CONSTRUCTOR={init},DIMETHODARGS={[]},DISCOVERED={true},METADATA={{INHERITANCETRAIL={[cbcompat.plugins.antisamy, coldbox.system.Plugin, coldbox.system.FrameworkSupertype, WEB-INF.cftags.component]},PATH={C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/plugins/AntiSamy.cfc},PROPERTIES={[{NAME={controller}}]},OUTPUT={false},HINT={OWASP AntiSamy Project that provides XSS cleanup operations to ColdBox applications},SINGLETON={},ACCESSORS={true},AUTHOR={Luis Majano lmajano@ortussolutions.com},FUNCTIONS={[{PARAMETERS={[Ljava.lang.Object;@686b7bd5},HINT={Renders an external view anywhere that cfinclude works.},NAME={renderExternalView}}, {RETURN={coldbox.system.cache.IColdboxApplicationCache},PARAMETERS={[Ljava.lang.Object;@32a37529},HINT={Get a named CacheBox Cache},NAME={getCache}}, {PARAMETERS={[Ljava.lang.Object;@7c550d7e},RETURNTYPE={string},HINT={Resolve a file to be either relative or absolute in your application},NAME={locateFilePath}}, {PARAMETERS={[Ljava.lang.Object;@143cd21a},HINT={Executes events with full life-cycle methods and returns the event results if any were returned.},NAME={runEvent}}, {Parameters={[Ljava.lang.Object;@273ab69b},returntype={coldbox.system.FrameworkSupertype},access={public},name={SETCONTROLLER}}, {PARAMETERS={[Ljava.lang.Object;@e199568},RETURNTYPE={string},HINT={Resolve a directory to be either relative or absolute in your application},NAME={locateDirectoryPath}}, {PARAMETERS={[Ljava.lang.Object;@5af34728},HINT={Populate a model object from the request Collection},NAME={populateModel}}, {NAME={getMyPlugin},PARAMETERS={[Ljava.lang.Object;@28ade26e}}, {PARAMETERS={[Ljava.lang.Object;@5a51178e},RETURNTYPE={struct},HINT={Get a datasource structure representation},NAME={getDatasource}}, {OUTPUT={false},RETURNTYPE={any},HINT={Get a reference to the request collection},PARAMETERS={[Ljava.lang.Object;@18a16b79},ACCESS={private},COLDDOC:GENERIC={struct},NAME={getRequestCollection}}, {RETURN={FrameworkSuperType},RETURNTYPE={any},HINT={Load the global application helper libraries defined in the applicationHelper Setting of your application. This is called by the framework ONLY! Use at your own risk},PARAMETERS={[Ljava.lang.Object;@58abb542},NAME={loadApplicationHelpers}}, {RETURN={struct or any},RETURNTYPE={any},HINT={Get a module’s settings structure or a specific setting if the setting key is passed},PARAMETERS={[Ljava.lang.Object;@1fd292ab},NAME={getModuleSettings}}, {PARAMETERS={[Ljava.lang.Object;@4d6d0bb8},HINT={Render out a view},NAME={renderView}}, {RETURN={FrameworkSuperType},RETURNTYPE={any},HINT={Set a new setting in the system},PARAMETERS={[Ljava.lang.Object;@5e044bcf},NAME={setSetting}}, {PARAMETERS={[Ljava.lang.Object;@5b00e4e8},HINT={Get a instance object from WireBox},NAME={getInstance}}, {PARAMETERS={[Ljava.lang.Object;@504c62e9},HINT={Get a setting from the system},NAME={getSetting}}, {PARAMETERS={[Ljava.lang.Object;@75d99393},HINT={Get a model object},NAME={getModel}}, {RETURN={coldbox.system.web.Renderer},PARAMETERS={[Ljava.lang.Object;@9ffe4d4},HINT={Retrieve the system web renderer},NAME={getRenderer}}, {RETURN={Interceptor},PARAMETERS={[Ljava.lang.Object;@558476a7},HINT={Get an interceptor reference},NAME={getInterceptor}}, {RETURN={FrameworkSuperType},PARAMETERS={[Ljava.lang.Object;@66ec1dd4},HINT={Persist variables into the Flash RAM},NAME={persistVariables}}, {RETURN={FrameworkSuperType},RETURNTYPE={any},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},PARAMETERS={[Ljava.lang.Object;@5f904f91},NAME={includeUDF}}, {PARAMETERS={[Ljava.lang.Object;@293fc9f3},RETURNTYPE={struct},HINT={Get a module’s configuration structure},NAME={getModuleConfig}}, {PARAMETERS={[Ljava.lang.Object;@5ff8a33d},HINT={DEPRECATED: Get all the settings structure},NAME={getSettingStructure}}, {PARAMETERS={[Ljava.lang.Object;@597c17ab},RETURNTYPE={void},HINT={Relocate the user to another location},NAME={setNextEvent}}, {PARAMETERS={[Ljava.lang.Object;@4cd27d2},HINT={Render a layout or a layout + view combo},NAME={renderLayout}}, {PARAMETERS={[Ljava.lang.Object;@53ea16e9},RETURNTYPE={string},HINT={Add a js/css asset(s) to the html head section. You can also pass in a list of assets. This method keeps track of the loaded assets so they are only loaded once},NAME={addAsset}}, {PARAMETERS={[Ljava.lang.Object;@4991a6e2},HINT={ REMOVE THE FOLLOWING: JUST LEFT UNTIL COMPLETELY REMOVED ***},NAME={getPlugin}}, {PARAMETERS={[Ljava.lang.Object;@70692134},returntype={any},access={public},NAME={GETCONTROLLER}}, {RETURN={struct of thread information or void},RETURNTYPE={any},HINT={Announce an interception to the system. If you use the asynchronous facilities, you will get a thread structure report as a result.},PARAMETERS={[Ljava.lang.Object;@1d776b5c},NAME={announceInterception}}, {OUTPUT={false},RETURNTYPE={any},HINT={Retrieve the request context object},PARAMETERS={[Ljava.lang.Object;@1ea97b45},ACCESS={private},COLDDOC:GENERIC={coldbox.system.web.context.RequestContext},NAME={getRequestContext}}, {PARAMETERS={[Ljava.lang.Object;@5acb68c4},RETURNTYPE={boolean},HINT={Verify a setting from the system},NAME={settingExists}}, {OUTPUT={false},HINT={Get the instance’s pluginDescription},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@63929228},ACCESS={public},NAME={getPluginDescription}}, {OUTPUT={false},HINT={Get the instance’s pluginPath},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@4599288d},ACCESS={public},NAME={getpluginPath}}, {OUTPUT={false},HINT={Set the instance’s pluginVersion},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@10bf1028},ACCESS={public},NAME={setPluginVersion}}, {OUTPUT={false},HINT={Set the instance’s pluginDescription},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@11b3c7b3},ACCESS={public},NAME={setPluginDescription}}, {OUTPUT={false},HINT={Get the instance’s pluginName},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@66c7147f},ACCESS={public},NAME={getPluginName}}, {OUTPUT={false},RETURNTYPE={string},HINT={Get the instance’s pluginAuthor},PARAMETERS={[Ljava.lang.Object;@6a16856a},ACCESS={public},NAME={getpluginAuthor}}, {OUTPUT={false},HINT={Get the instance’s pluginVersion},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@240e650},ACCESS={public},NAME={getPluginVersion}}, {OUTPUT={false},HINT={Set the instance’s pluginName},RETURNTYPE={string},PARAMETERS={[Ljava.lang.Object;@d4137f4},ACCESS={public},NAME={setPluginName}}, {OUTPUT={false},RETURNTYPE={void},HINT={Set the instance’s pluginAuthor},PARAMETERS={[Ljava.lang.Object;@537baecf},ACCESS={public},NAME={setpluginAuthor}}, {OUTPUT={false},RETURNTYPE={void},HINT={Set the instance’s pluginAuthorURL},PARAMETERS={[Ljava.lang.Object;@d985c1f},ACCESS={public},NAME={setpluginAuthorURL}}, {OUTPUT={false},RETURNTYPE={AntiSamy},PARAMETERS={[Ljava.lang.Object;@8ef499a},ACCESS={public},NAME={init}}, {OUTPUT={false},RETURNTYPE={string},HINT={Get the instance’s pluginAuthorURL},PARAMETERS={[Ljava.lang.Object;@c9521e4},ACCESS={public},NAME={getpluginAuthorURL}}, {OUTPUT={false},RETURNTYPE={Any},HINT={clean HTML from XSS scripts using the AntiSamy project. The available policies are antisamy, ebay, myspace, slashdot, custom},PARAMETERS={[Ljava.lang.Object;@296eb6f},NAME={clean}}, {OUTPUT={false},RETURNTYPE={Any},HINT={clean HTML from XSS scripts using the AntiSamy project. The available policies are antisamy, ebay, myspace, slashdot, custom},PARAMETERS={[Ljava.lang.Object;@4d212786},NAME={HTMLSanitizer}}]},SERIALIZABLE={false},NAME={cbcompat.plugins.antisamy},TYPE={component},FULLNAME={cbcompat.plugins.antisamy}}}}, Stacktrace: coldfusion.runtime.CustomException: This method has been deprecated, please use getInstance() instead at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2795) at cfFrameworkSupertype2ecfc411386962$funcGETPLUGIN.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/FrameworkSupertype.cfc:458) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2655) at cfAntiSamy2ecfc1516994134$funcINIT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/plugins/AntiSamy.cfc:39) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:402) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2796) at cfBuilder2ecfc1152431365$funcBUILDCFC.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/ioc/Builder.cfc:127) 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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfInjector2ecfc163598318$funcBUILDINSTANCE.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfSingleton2ecfc148399159$funcGETFROMSCOPE.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfInjector2ecfc163598318$funcGETINSTANCE.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfPluginService2ecfc338465201$funcNEW.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/models/PluginService.cfc:163) 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:518) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2620) at cfPluginService2ecfc338465201$funcGET.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/models/PluginService.cfc:179) 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:2655) at cfPluginService2ecfc338465201$funcGETPLUGIN.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/models/PluginService.cfc:89) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at cfmixins2ecfm1435481996$func__GETPLUGIN.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbcompat/includes/mixins.cfm:19) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2655) at cfAdminUsers2ecfc638555780$funcDSPLOGIN.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/handlers/AdminUsers.cfc:55) 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:518) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2620) at cfEventHandler2ecfc1473899858$func_PRIVATEINVOKER.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/EventHandler.cfc:78) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at cfController2ecfc1733222881$funcINVOKER.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Controller.cfc:749) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2655) at cfController2ecfc1733222881$func_RUNEVENT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Controller.cfc:587) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:518) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2620) at cfController2ecfc1733222881$funcRUNEVENT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Controller.cfc:425) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at cfFrameworkSupertype2ecfc411386962$funcRUNEVENT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/FrameworkSupertype.cfc:355) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2655) at cfAdminUsers2ecfc638555780$funcINDEX.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/handlers/AdminUsers.cfc:43) 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:518) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2620) at cfEventHandler2ecfc1473899858$func_PRIVATEINVOKER.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/EventHandler.cfc:78) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at cfController2ecfc1733222881$funcINVOKER.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Controller.cfc:749) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:2655) at cfController2ecfc1733222881$func_RUNEVENT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Controller.cfc:587) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:518) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2620) at cfController2ecfc1733222881$funcRUNEVENT.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/web/Controller.cfc:425) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2369) at cfBootstrap2ecfc830154408$funcPROCESSCOLDBOXREQUEST.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/frameworks/coldbox/system/Bootstrap.cfc:197) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) 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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428) at cfapplication2ecfc821064599$funcONREQUESTSTART.runFunction(C:/ColdFusion10/cfusion/wwwroot/myApp/application.cfc:125) 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:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:108) at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:278) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:419) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745), [complex value]) ] from C:/ColdFusion10/cfusion/wwwroot/myApp/modules/cbdebugger/models/DebuggerService.cfc

If you want to see the whole stack trace I can email to you?
Thanks,
Matt

I ended up just changing the getPlugin() function to the following lines in the FrameworkSuperType.cfc (start line 457)

function getPlugin(){

var pluginService = getInstance( ‘pluginService@cbcompat’ );
return pluginService.getPlugin( argumentCollection=arguments );

}

I will just remove when I get all getPlugins removed from my code.

Found another bug in the coldbox\system\web\flash\AbstractFlashScope.cfc line 182…you guys have " structKeyList( getScope() );" and it needs to be "return structKeyList( getScope() );} or you get an undefined

Thanks for the bug report:

https://ortussolutions.atlassian.net/browse/COLDBOX-454

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

I am attempting to use the cbcompat module and have made the manual modification to the FrameworkSuperType as suggested in this post, but am still getting an error. I’m on ColdBox 4.1, and the latest dependencies as of yesterday (5/7/2015). So the bug in the ticket Brad submitted is fixed.

# Requested instance not found: ‘pluginService@cbcompat’
The instance could not be located in any declared scan location(s) (model,modules) or full path location

The error occurred in C:/sites/patientresource/myapp/coldbox/system/ioc/Injector.cfc: line 236
Called from C:/sites/patientresource/myapp/modules/cbcompat/models/CompatColdBoxBuilder.cfc: line 27 |

I opened CompatColdBoxBuilder to check out line 27: var pluginService = injector.getInstance( ‘pluginService@cbcompat’ );

This is a ColdBox 3.5.3 site that I am attempting to convert to work with ColdBox 4.1 using the cbcompat module, on ACF 11 Update 5 on Windows 7 with IIS 7.5. I’ve adjusted the bootstrap, orm configs, and logging, so this is just another in a long line of adjustments that are being made to get the site working again.

Any ideas how to get past this? Thanks.

Your stack trace shows that your app is building an interceptor and interceptors are loaded prior to modules which causes an annoying chicken/egg issue where you can’t directly inject a model provided in a module into an interceptor.

Review your interceptors, find the one(s) injecting plugins and try putting the “provider:” namespace in front of them. Or, just go ahead and convert them over to models :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

So I have a Security Interceptor that has a property like this:
property name=“SessionStorage” inject=“coldbox:plugin:SessionStorage”;

So you’re saying do this? property name=“SessionStorage” inject=“provider:coldbox:plugin:SessionStorage”;

I have adjusted all of my interceptors with plugins to the above, but it is still throwing the same error. Or must I adjust those a bit more?

That looks correct. Chances are you’ve just missed a spot. Use the stack trace to determine what’s being built when the error is thrown.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

Hi Brad -

I’m a little late to get to the ColdBox party, but I’m ready to get down!
I’ve been working with a very old coldBox application (2.x), trying to upgrade to CB 5.

I’ve swapped out some of the core files, and am learning which files need to be replaced to get the application to load.
(I did manage to refactor my old Application.cfc file from an old version to the new version. mostly)

The latest error I’m getting is:

Application Exception - in /Applications/ColdFusion11/cfusion/wwwroot/coldbox/system/FrameworkSupertype.cfc : line 496

	    This method has been deprecated, please use getInstance() instead
	    

You can use the compat module, but only if your app is already converted to 3.x compatibility. It’s just a crutch though, I’d just address the concerns. As the error message tells you, getPlugin() was removed in ColdBox 4.0. What you need to do depends on what plugins you are using. For plugins that were part of the Coldbox core, those all became modules which you can easily install from ForgeBox using CommandBox. You can read all about what modules to use here:

https://coldbox.ortusbooks.com/content/full/introduction/upgrading_to_coldbox_400.html#plugins-removed

If you’re using custom plugins that someone built, then you just need to move them to the models folder and remove any dependencies on the base plugin class (in favor of injecting those dependencies).

Thanks for the reply. I’m not sure what plug-ins are being used.
I don’t think the app has been converted to 3.x compatibility, as I couldn’t find any documentation going from 2.x to 3.x.
I’ll review the link below.

After digging through the app, it looks like there are only two plugIns being called with the deprecated getPlugIn().

  • messagebox
  • renderer

Some of the layouts in existing app, are making calls to the getPlugIn() function.
ie

<cfoutput>
   #renderView('layout/header')#
   <div id="bd" class="single">
      #getPlugin("messageBox").renderit(true)#
      #renderView()#
   </div> 
   #renderView('layout/footer')#
   <script>stripeTable();</script>
</cfoutput>

So far as I know, the way layouts work probably hasn’t changed. Going back two E-mails ago, you said you didn’t know what plugins were being used. That’s where you simply need to look at the stack trace in the error message. It will show you the actual file name and line number where the error was thrown and you can just open up that file and look!

Messagebox and renderer and very simple to replace. You need to install the cbmessagebox module into your app and swap out all instances of getPlugin( “messagebox” ) with getInstance( “messagebox@cbmessagebox” ). Or if you’re using property injection, you’d swap
property name=“whatever” inject=“coldbox:plugin:messagebox”;
to
property name=“whatever” inject=" messagebox@cbmessagebox ";

This should all be documented in hat 4.0 migration guide I linked you to.

The renderer is now just a core part of the framework but you’d need to know me how you’re using it so I could tell you how to convert it. You can inject the renderer as a WireBox mapping, but there’s usually no need to do that. Convenience methods like renderView() or renderLayout() are all part of the framework super type which makes then automatically available in any handler, view, layout, or interceptor.