Exception in onRequest

The action productdetailsview.productdetails failed.

Invalid call of the function [getAccessibleProducts], 3th Argument [productID] is of invalid type, Cannot cast String [245,245] to a value of type [numeric]

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

Exception
Struct
additional
Struct (ordered)
Detail
stringthe function is located at [C:\sites\websam\site\model\service\productDetailsView.cfc]
ErrNumber
number0
ErrorCode
string0
Extended_Info
string
ExtendedInfo
string
Message
stringInvalid call of the function [getAccessibleProducts], 3th Argument [productID] is of invalid type, Cannot cast String [245,245] to a value of type [numeric]
StackTrace
stringlucee.runtime.exp.UDFCasterException: Invalid call of the function [getAccessibleProducts], 3th Argument [productID] is of invalid type, Cannot cast String [245,245] to a value of type [numeric] at lucee.runtime.type.UDFImpl.castToAndClone(UDFImpl.java:114) at lucee.runtime.type.UDFImpl.defineArguments(UDFImpl.java:164) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:342) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:685) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572) at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1930) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866) at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1766) at controllers.productdetailsview_cfc$cf.udfCall(/controllers/productDetailsView.cfc:31) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:207) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:685) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572) at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1925) at lucee.runtime.tag.Invoke.doComponent(Invoke.java:209) at lucee.runtime.tag.Invoke.doEndTag(Invoke.java:186) at org.corfield.framework_cfc$cf.udfCall6(/org/corfield/framework.cfc:1310) at org.corfield.framework_cfc$cf.udfCall(/org/corfield/framework.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:785) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1747) at org.corfield.framework_cfc$cf.udfCall2(/org/corfield/framework.cfc:517) at org.corfield.framework_cfc$cf.udfCall(/org/corfield/framework.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:684) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1911) at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:437) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:216) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2460) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2450) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2421) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1179) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1125) 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
string29: &lt;cfelse&gt;<br> 30: &lt;cfif structKeyExists(session,&quot;siteID&quot;) AND structKeyExists(url,&quot;productID&quot;) &gt;<br> <b>31: &lt;cfset rc.productDetails=getProductDetailsViewService().getAccessibleProducts(siteID=#session.siteID#,productID=url.productID)&gt;</b><br> 32: &lt;/cfif&gt;<br> 33: &lt;/cfif&gt;<br>
codePrintPlain
string29: <cfelse> 30: <cfif structKeyExists(session,"siteID") AND structKeyExists(url,"productID") > 31: <cfset rc.productDetails=getProductDetailsViewService().getAccessibleProducts(siteID=#session.siteID#,productID=url.productID)> 32: </cfif> 33: </cfif>
column
number0
id
string??
line
number31
Raw_Trace
stringcontrollers.productdetailsview_cfc$cf.udfCall(/controllers/productDetailsView.cfc:31)
template
stringC:\sites\websam\site\controllers\productDetailsView.cfc
type
stringcfml
2
Struct
codePrintHTML
string1308: &lt;cfif structKeyExists(arguments.cfc,arguments.method) or structKeyExists(arguments.cfc,&quot;onMissingMethod&quot;)&gt;<br> 1309: &lt;cftry&gt;<br> <b>1310: &lt;cfinvoke component=&quot;#arguments.cfc#&quot; method=&quot;#arguments.method#&quot; rc=&quot;#request.context#&quot; /&gt;</b><br> 1311: &lt;cfcatch type=&quot;any&quot;&gt;<br> 1312: &lt;cfset setCfcMethodFailureInfo( arguments.cfc, arguments.method ) /&gt;<br>
codePrintPlain
string1308: <cfif structKeyExists(arguments.cfc,arguments.method) or structKeyExists(arguments.cfc,"onMissingMethod")> 1309: <cftry> 1310: <cfinvoke component="#arguments.cfc#" method="#arguments.method#" rc="#request.context#" /> 1311: <cfcatch type="any"> 1312: <cfset setCfcMethodFailureInfo( arguments.cfc, arguments.method ) />
column
number0
id
string??
line
number1310
Raw_Trace
stringorg.corfield.framework_cfc$cf.udfCall6(/org/corfield/framework.cfc:1310)
template
stringC:\sites\websam\site\org\corfield\framework.cfc
type
stringcfml
3
Struct
codePrintHTML
string515: }<br> 516: doController( tuple.controller, 'start' &amp; tuple.item );<br> <b>517: doController( tuple.controller, tuple.item );</b><br> 518: }<br> 519: }<br>
codePrintPlain
string515: } 516: doController( tuple.controller, 'start' & tuple.item ); 517: doController( tuple.controller, tuple.item ); 518: } 519: }
column
number0
id
string??
line
number517
Raw_Trace
stringorg.corfield.framework_cfc$cf.udfCall2(/org/corfield/framework.cfc:517)
template
stringC:\sites\websam\site\org\corfield\framework.cfc
type
stringcfml
type
stringexpression