Exception in onRequest

The action productview.productdetails failed.

Invalid call of the function [getProductList], 3th Argument [subCategoryID] is of invalid type, Cannot cast String [367,367] 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 [getProductList], 3th Argument [subCategoryID] is of invalid type, Cannot cast String [367,367] to a value of type [numeric]
StackTrace
stringlucee.runtime.exp.UDFCasterException: Invalid call of the function [getProductList], 3th Argument [subCategoryID] is of invalid type, Cannot cast String [367,367] 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 layouts.sitelayouts.siteproductlist_cfm$cf$qo.call(/layouts/siteLayouts/siteProductList.cfm:9) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1034) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:926) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:907) at views.productview.productdetails_cfm$cf$qi.call(/views/productview/productDetails.cfm:12) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1034) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:926) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:907) 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: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:548) 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
string7: &lt;cfset variables.objProdList = createObject(&quot;model.service.productView&quot;).init() /&gt;<br> 8: &lt;cfset variables.siteManager = createObject(&quot;model.service.siteManager&quot;).init() /&gt;<br> <b>9: &lt;cfset variables.productList = variables.siteManager.getProductList(siteID=session.siteID,deptID=session.deptID,subCategoryID= variables.subCategoryID)/&gt;</b><br> 10: &lt;cfset variables.subCategoryInfo=variables.siteManager.getSubcategoryInfoBySubcategoryID(#session.siteID#,#variables.subCategoryID#)&gt;<br> 11: &lt;cfparam name=&quot;variables.type&quot; default=&quot;hidden&quot;&gt;<br>
codePrintPlain
string7: <cfset variables.objProdList = createObject("model.service.productView").init() /> 8: <cfset variables.siteManager = createObject("model.service.siteManager").init() /> 9: <cfset variables.productList = variables.siteManager.getProductList(siteID=session.siteID,deptID=session.deptID,subCategoryID= variables.subCategoryID)/> 10: <cfset variables.subCategoryInfo=variables.siteManager.getSubcategoryInfoBySubcategoryID(#session.siteID#,#variables.subCategoryID#)> 11: <cfparam name="variables.type" default="hidden">
column
number0
id
string??
line
number9
Raw_Trace
stringlayouts.sitelayouts.siteproductlist_cfm$cf$qo.call(/layouts/siteLayouts/siteProductList.cfm:9)
template
stringC:\sites\websam\site\layouts\siteLayouts\siteProductList.cfm
type
stringcfml
2
Struct
codePrintHTML
string10: &lt;/div&gt;<br> 11: &lt;div class=&quot;clearfix visible-sm&quot;&gt;&lt;/div&gt;<br> <b>12: &lt;cfinclude template=&quot;../../layouts/siteLayouts/siteProductList.cfm&quot;&gt;</b><br> 13: &lt;/div&gt;<br> 14: &lt;/div&gt;<br>
codePrintPlain
string10: </div> 11: <div class="clearfix visible-sm"></div> 12: <cfinclude template="../../layouts/siteLayouts/siteProductList.cfm"> 13: </div> 14: </div>
column
number0
id
string??
line
number12
Raw_Trace
stringviews.productview.productdetails_cfm$cf$qi.call(/views/productview/productDetails.cfm:12)
template
stringC:\sites\websam\site\views\productView\productDetails.cfm
type
stringcfml
3
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
4
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