Exception in onRequest

The action subcategoryview.subcategorydetails failed.

Invalid call of the function [getSubCategoryList], 3th Argument [categoryID] is of invalid type, Cannot cast String [363,363] 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 [getSubCategoryList], 3th Argument [categoryID] is of invalid type, Cannot cast String [363,363] to a value of type [numeric]
StackTrace
stringlucee.runtime.exp.UDFCasterException: Invalid call of the function [getSubCategoryList], 3th Argument [categoryID] is of invalid type, Cannot cast String [363,363] to a value of type [numeric] at lucee.runtime.type.UDFImpl.castToAndClone(UDFImpl.java:114) at lucee.runtime.type.UDFImpl.defineArguments(UDFImpl.java:130) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:341) 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.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1747) at layouts.sitelayouts.sitesubcategorylist_cfm$cf$2ay.call(/layouts/siteLayouts/siteSubCategoryList.cfm:10) 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.subcategoryview.subcategorydetails_cfm$cf$2ax.call(/views/subcategoryview/subCategoryDetails.cfm:11) 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
string8: &lt;cfset variables.objProdView = createObject(&quot;model.service.productView&quot;).init() /&gt;<br> 9: &lt;cfset variables.siteManager = createObject(&quot;model.service.siteManager&quot;).init() /&gt;<br> <b>10: &lt;cfset variables.subCategoryList=variables.siteManager.getSubCategoryList(#session.siteID#,#session.deptID#,#variables.categoryID#)&gt; </b><br> 11: &lt;cfset variables.categoryInfo=variables.siteManager.getCategoryInfoByCategoryID(#session.siteID#,#variables.categoryID#)&gt;<br> 12: &lt;cfparam name=&quot;variables.type&quot; default=&quot;hidden&quot;&gt;<br>
codePrintPlain
string8: <cfset variables.objProdView = createObject("model.service.productView").init() /> 9: <cfset variables.siteManager = createObject("model.service.siteManager").init() /> 10: <cfset variables.subCategoryList=variables.siteManager.getSubCategoryList(#session.siteID#,#session.deptID#,#variables.categoryID#)> 11: <cfset variables.categoryInfo=variables.siteManager.getCategoryInfoByCategoryID(#session.siteID#,#variables.categoryID#)> 12: <cfparam name="variables.type" default="hidden">
column
number0
id
string??
line
number10
Raw_Trace
stringlayouts.sitelayouts.sitesubcategorylist_cfm$cf$2ay.call(/layouts/siteLayouts/siteSubCategoryList.cfm:10)
template
stringC:\sites\websam\site\layouts\siteLayouts\siteSubCategoryList.cfm
type
stringcfml
2
Struct
codePrintHTML
string9: &lt;/div&gt;<br> 10: &lt;div class=&quot;clearfix visible-sm&quot;&gt;&lt;/div&gt;<br> <b>11: &lt;cfinclude template=&quot;../../layouts/siteLayouts/siteSubCategoryList.cfm&quot;&gt;</b><br> 12: &lt;/div&gt;<br> 13: &lt;/div&gt;<br>
codePrintPlain
string9: </div> 10: <div class="clearfix visible-sm"></div> 11: <cfinclude template="../../layouts/siteLayouts/siteSubCategoryList.cfm"> 12: </div> 13: </div>
column
number0
id
string??
line
number11
Raw_Trace
stringviews.subcategoryview.subcategorydetails_cfm$cf$2ax.call(/views/subcategoryview/subCategoryDetails.cfm:11)
template
stringC:\sites\websam\site\views\subCategoryView\subCategoryDetails.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