Railo 4 ORM Error

I just upgraded to Railo 4.0 and I am getting a weird error.

Has anyone else seen this error?

Oops! Exception Encountered### Application Execution ExceptionError Type: expression : 0

Error Messages: No matching function member [method] for call with named arguments found, available function members are [append,avg,clear,contains,containsNoCase,delete,deleteAt,each,filter,find,findAll,findAllNoCase,findNoCase,first,indexExists,insertAt,isDefined,isEmpty,last,len,max,merge,mid,min,prepend,resize,reverse,set,slice,sort,sum,swap,toList,toStruct]

Tag Context:
ID: ??
LINE: 1177
Template: C:\tomcat\loc.chat.loc\ROOT\coldbox\system\orm\hibernate\BaseORMService.cfc
ID: ??
LINE: 722
Template: C:\tomcat\loc.chat.loc\ROOT\coldbox\system\orm\hibernate\BaseORMService.cfc
ID: ??
LINE: 27
Template: C:\tomcat\loc.chat.loc\ROOT\model\login\loginService.cfc
ID: ??
LINE: 53
Template: C:\tomcat\loc.chat.loc\ROOT\model\login\loginService.cfc
ID: ??
LINE: 46
Template: C:\tomcat\loc.chat.loc\ROOT\handlers\login.cfc
ID: ??
LINE: 739
Template: C:\tomcat\loc.chat.loc\ROOT\coldbox\system\web\Controller.cfc
ID: ??
LINE: 623
Template: C:\tomcat\loc.chat.loc\ROOT\coldbox\system\web\Controller.cfc
ID: ??
LINE: 236
Template: C:\tomcat\loc.chat.loc\ROOT\coldbox\system\Coldbox.cfc
ID: ??
LINE: 66
Template: C:\tomcat\loc.chat.loc\ROOT\Application.cfc
Framework Snapshot
Current Event: login.validate
Current Layout: N/A (Module: )
Current View: N/A
Bug Date: 08/21/2012 04:53:34 PM
Coldfusion ID: JSessionID=B415CD8076D80817948071055715648A
Template Path : C:\tomcat\loc.chat.loc\ROOT\index.cfm
Path Info : /login/validate
Host & Server: loc.chat.loc JeremyRDeYoung
Query String:
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1
Remote Address: 127.0.0.1
Form variables:
Session Storage:
Cookies:
railo_admin_pw_server: 6802A0AABEDAB98B97
coldbox_debugmode_d84b2e941c7800cf9ea82485df340e21: true
token: “B41F3731-80D9-8249-8E44-2FEA9F662307”
railo_admin_lastpage: services.update
cftoken: 0
railo_admin_lang: en
jsessionid: B415CD8076D80817948071055715648A
cfid: feb94a77-9444-4622-a1c0-06945e94ee75
Stack Trace:

No matching function member [method] for call with named arguments found, available function members are [append,avg,clear,contains,containsNoCase,delete,deleteAt,each,filter,find,findAll,findAllNoCase,findNoCase,first,indexExists,insertAt,isDefined,isEmpty,last,len,max,merge,mid,min,prepend,resize,reverse,set,slice,sort,sum,swap,toList,toStruct]
at railo.runtime.type.util.MemberUtil.callWithNamedValues(MemberUtil.java:125):125
at railo.runtime.type.scope.ArgumentImpl.callWithNamedValues(ArgumentImpl.java:525):525
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:749):749
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1521):1521
at system.orm.hibernate.baseormservice_cfc$cf._6(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\orm\hibernate\BaseORMService.cfc:1177):1177
at system.orm.hibernate.baseormservice_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\orm\hibernate\BaseORMService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at system.orm.hibernate.baseormservice_cfc$cf._4(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\orm\hibernate\BaseORMService.cfc:722):722
at system.orm.hibernate.baseormservice_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\orm\hibernate\BaseORMService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:274):274
at railo.runtime.ComponentImpl._call(ComponentImpl.java:608):608
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1799):1799
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:749):749
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1521):1521
at model.login.loginservice_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\model\login\loginService.cfc:27):27
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at model.login.loginservice_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\model\login\loginService.cfc:53):53
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:274):274
at railo.runtime.ComponentImpl._call(ComponentImpl.java:608):608
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1799):1799
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:749):749
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1521):1521
at handlers.login_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\handlers\login.cfc:46):46
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:274):274
at railo.runtime.ComponentImpl._call(ComponentImpl.java:608):608
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1795):1795
at railo.runtime.tag.Invoke.doComponent(Invoke.java:209):209
at railo.runtime.tag.Invoke.doEndTag(Invoke.java:182):182
at system.web.controller_cfc$cf._6(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\web\Controller.cfc:739):739
at system.web.controller_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\web\Controller.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at system.web.controller_cfc$cf._5(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\web\Controller.cfc:623):623
at system.web.controller_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\web\Controller.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:274):274
at railo.runtime.ComponentImpl._call(ComponentImpl.java:608):608
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1799):1799
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:749):749
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1521):1521
at coldbox.system.coldbox_cfc$cf._1(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\Coldbox.cfc:236):236
at coldbox.system.coldbox_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\coldbox\system\Coldbox.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1780):1780
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at application_cfc$cf.udfCall(C:\tomcat\loc.chat.loc\ROOT\Application.cfc:66):66
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1780):1780
at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:350):350
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:111):111
at railo.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:82):82
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2248):2248
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2215):2215
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:312):312
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684):684
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471):471
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402):402
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329):329
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213):213
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171):171
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145):145
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92):92
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381):381
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243):243
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225):225
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169):169
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98
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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999):999
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565):565
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812):1812
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

Extra Information Dump
[N/A]

ColdBox Debugging Information

Framework Info:
ColdBox SEEK 3.5.2 Jeremiah 29:13
Application Name:
chat (environment=development)
TimeStamp:
Aug-21-2012 04:53:34 PM
Server Instance:
JeremyRDeYoung
Current Event:
login.validate
Current Layout:
N/A (Module: )
Current View:
N/A
Current Route:
:handler/:action/
Routed URL:
login/validate/
LogBox Appenders:
coldboxTracer,EmailAppender
RootLogger Levels:
FATAL - ERROR
Loaded Modules:

Timestamp Execution Time Framework Method
04:53:34.281 PM 467 ms invoking runEvent [main.onRequestStart]
04:53:34.372 PM 0 ms invoking runEvent [main.onException]
Total Framework Request Execution Time: 717 ms

Approximate Debug Rendering Time: 1 ms

not really

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

this happens anytime I call “model[Service].save(entity=entityName)”


Jeremy R. DeYoung
Phone:615.261.8201

RantsFromAMadMan.com

Jeremy,

I am getting the same error on Railo 4. Did you find a work around?

umm - downgrade :frowning:

there is going to be a new release soon but its not available yet.


Jeremy R. DeYoung
Phone:615.261.8201

RantsFromAMadMan.com

Sorry just to clarify, did you downgrade Railo or the version of ColdBox?

Jason,

sorry about my response – it was pretty vague :-(.

I suggest downgrading the version of railo to 3.3.x bleeding edge but keep the latest version of coldbox the same. as I understand it, Railo will soon have a new release of 4.0.x soon but no timeframes were given. unfortunately, this leave me hanging as I have live websites that need to run so 3.3.x was my only option.


Jeremy R. DeYoung
Phone:615.261.8201

RantsFromAMadMan.com

Perfect thank you!