Exception in onRequest

The action custompages.pagedetails failed.

invalid call of the function getSiteCustomPageDetailsByID, first Argument (cmsID) is of invalid type, can't cast String [20,20] to a value of type [numeric]

the function is located at [C:\sites\websam\site\model\service\siteManager.cfc] (expression)

Exception
Struct
additional
Struct (ordered)
Detail
stringthe function is located at [C:\sites\websam\site\model\service\siteManager.cfc]
ErrNumber
number0
ErrorCode
string0
Extended_Info
string
ExtendedInfo
string
Message
stringinvalid call of the function getSiteCustomPageDetailsByID, first Argument (cmsID) is of invalid type, can't cast String [20,20] to a value of type [numeric]
StackTrace
stringlucee.runtime.exp.UDFCasterException: invalid call of the function getSiteCustomPageDetailsByID, first Argument (cmsID) is of invalid type, can't cast String [20,20] to a value of type [numeric] at lucee.runtime.type.UDFImpl.castToAndClone(UDFImpl.java:113) at lucee.runtime.type.UDFImpl.defineArguments(UDFImpl.java:160) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:355) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:659) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573) at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2014) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:833) at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1737) at views.custompages.pagedetails_cfm$cf.call(/views/custompages/pageDetails.cfm:8) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:901) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:823) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:805) at org.corfield.framework_cfc$cf.udfCall7(/org/corfield/framework.cfc:1539) at org.corfield.framework_cfc$cf.udfCall(/org/corfield/framework.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1718) at org.corfield.framework_cfc$cf.udfCall2(/org/corfield/framework.cfc:548) at org.corfield.framework_cfc$cf.udfCall(/org/corfield/framework.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:657) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1997) at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:438) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:216) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2464) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2454) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2427) at lucee.runtime.engine.Request.exe(Request.java:44) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1090) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1038) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)
TagContext
Array
1
Struct
codePrintHTML
string6: &lt;/cfif&gt;<br> 7: &lt;cfset variables.siteManager = createObject(&quot;model.service.siteManager&quot;).init() /&gt;<br> <b>8: &lt;cfset variables.customPages1=variables.siteManager.getSiteCustomPageDetailsByID(cmsID=variables.cmsID)&gt;</b><br> 9: <br> 10: &lt;!--- &lt;html lang=&quot;en&quot;&gt;<br>
codePrintPlain
string6: </cfif> 7: <cfset variables.siteManager = createObject("model.service.siteManager").init() /> 8: <cfset variables.customPages1=variables.siteManager.getSiteCustomPageDetailsByID(cmsID=variables.cmsID)> 9: 10: <!--- <html lang="en">
column
number0
id
string??
line
number8
Raw_Trace
stringviews.custompages.pagedetails_cfm$cf.call(/views/custompages/pageDetails.cfm:8)
template
stringC:\sites\websam\site\views\customPages\pageDetails.cfm
type
stringcfml
2
Struct
codePrintHTML
string1537: &lt;/cfif&gt;<br> 1538: <br> <b>1539: &lt;cfsavecontent variable='response'&gt;&lt;cfinclude template=&quot;#viewPath#&quot;/&gt;&lt;/cfsavecontent&gt;</b><br> 1540: <br> 1541: &lt;cfreturn response /&gt;<br>
codePrintPlain
string1537: </cfif> 1538: 1539: <cfsavecontent variable='response'><cfinclude template="#viewPath#"/></cfsavecontent> 1540: 1541: <cfreturn response />
column
number0
id
string??
line
number1539
Raw_Trace
stringorg.corfield.framework_cfc$cf.udfCall7(/org/corfield/framework.cfc:1539)
template
stringC:\sites\websam\site\org\corfield\framework.cfc
type
stringcfml
3
Struct
codePrintHTML
string546: <br> 547: if ( structKeyExists(request, 'view') ) {<br> <b>548: out = internalView( request.view );</b><br> 549: } else {<br> 550: out = onMissingView( request.context );<br>
codePrintPlain
string546: 547: if ( structKeyExists(request, 'view') ) { 548: out = internalView( request.view ); 549: } else { 550: out = onMissingView( request.context );
column
number0
id
string??
line
number548
Raw_Trace
stringorg.corfield.framework_cfc$cf.udfCall2(/org/corfield/framework.cfc:548)
template
stringC:\sites\websam\site\org\corfield\framework.cfc
type
stringcfml
type
stringexpression