RE: [coldbox:18421] Getting Started with ColdBox Bundle

Under the Railo admin, check “Settings > scopes > Cascading” and “Settings > scopes > Local scope mode” and report back with what you have.

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 am having same issue and current setting for casecading and local scope mode is as per below.

Cascading : Standard (CFML Default)
Local Scope: Classic (CFML Default)

Below is stack trace in case you need.

Application Execution Exception
CFErrorType=expression
CFMessage=variable [INSTANCE] doesn't exist
CFStackTrace=variable [INSTANCE] doesn't exist
        at railo.runtime.type.scope.UndefinedImpl.getCollection(UndefinedImpl.java:338):338
        at model.videoservice_cfc$cf.udfCall(C:\websites\175582fc4\model\videoService.cfc:37):37
        at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:106):106
        at railo.runtime.type.UDFImpl._call(UDFImpl.java:377):377
        at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:276):276
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:574):574
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:491):491
        at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1719):1719
        at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:735):735
        at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1467):1467
        at handlers.video_cfc$cf.udfCall(C:\websites\175582fc4\handlers\video.cfc:169):169
        at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:106):106
        at railo.runtime.type.UDFImpl._call(UDFImpl.java:377):377
        at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:276):276
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:574):574
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:491):491
        at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1715):1715
        at railo.runtime.tag.Invoke.doComponent(Invoke.java:203):203
        at railo.runtime.tag.Invoke.doEndTag(Invoke.java:176):176
        at coldbox.system.web.controller_cfc$cf._6(C:\websites\175582fc4\coldbox\system\web\Controller.cfc:738):738
        at coldbox.system.web.controller_cfc$cf.udfCall(C:\websites\175582fc4\coldbox\system\web\Controller.cfc):-1
        at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:106):106
        at railo.runtime.type.UDFImpl._call(UDFImpl.java:377):377
        at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
        at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:700):700
        at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:709):709
        at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1457):1457
        at coldbox.system.web.controller_cfc$cf._5(C:\websites\175582fc4\coldbox\system\web\Controller.cfc:622):622
        at coldbox.system.web.controller_cfc$cf.udfCall(C:\websites\175582fc4\coldbox\system\web\Controller.cfc):-1
        at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:106):106
        at railo.runtime.type.UDFImpl._call(UDFImpl.java:377):377
        at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:276):276
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:574):574
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:491):491
        at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1719):1719
        at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:735):735
        at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1467):1467
        at coldbox.system.coldbox_cfc$cf._1(C:\websites\175582fc4\coldbox\system\Coldbox.cfc:236):236
        at coldbox.system.coldbox_cfc$cf.udfCall(C:\websites\175582fc4\coldbox\system\Coldbox.cfc):-1
        at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:106):106
        at railo.runtime.type.UDFImpl._call(UDFImpl.java:377):377
        at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
        at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:700):700
        at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:709):709
        at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1457):1457
        at application_cfc$cf.udfCall(C:\websites\175582fc4\Application.cfc:47):47
        at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:106):106
        at railo.runtime.type.UDFImpl._call(UDFImpl.java:377):377
        at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:573):573
        at railo.runtime.ComponentImpl._call(ComponentImpl.java:491):491
        at railo.runtime.ComponentImpl.call(ComponentImpl.java:1702):1702
        at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:372):372
        at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:108):108
        at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
        at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2108):2108
        at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2076):2076
        at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:318):318
        at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728):728
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589):589
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
        at java.lang.Thread.run(Unknown Source):-1

CFTagContext=ID: ??; LINE: 37; TEMPLATE: C:\websites\175582fc4\model\videoService.cfc 
ID: ??; LINE: 169; TEMPLATE: C:\websites\175582fc4\handlers\video.cfc 
ID: ??; LINE: 738; TEMPLATE: C:\websites\175582fc4\coldbox\system\web\Controller.cfc 
ID: ??; LINE: 622; TEMPLATE: C:\websites\175582fc4\coldbox\system\web\Controller.cfc 
ID: ??; LINE: 236; TEMPLATE: C:\websites\175582fc4\coldbox\system\Coldbox.cfc 
ID: ??; LINE: 47; TEMPLATE: C:\websites\175582fc4\Application.cfc

How about NULL support?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

Sorry Brad, but do not get it? Where can I find Null support settings? As far as I know I haven’t make any change in RAILO setting.

Thanks,
Pritesh

Null support is on the “Language/Compiler” page.

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 Brad. It is set to “partial support (CFML Default)”

Sorry, but I just realized your error is not happening in the ColdBox framework. Since the original thread was an error in Controller.cfc and you said you were having the same error I assumed it was the exact same. Can you show us what your code looks like in videoService.cfc? Are you declaring a struct called instance anywhere? (Instance is not a built-in scope-- it’s just a struct many people manually create in the variables scope to mimic Java.)

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,
Below is snippet for videoservice. Basically I have two service cfc where one is extends to another. We use videoservice.cfc inject in handler everywhere. In case of database changes automated code generator overwrite service files and due to this reason we keep separate service file which extends servicebase file. Code normally work fine without any error but same event also run through scheduled task every 15 mins and in a day we are getting error around 4 to 5 times.

videoServiceBase.cfc



videoService.cfc