Oops! Exception Encountered

Application Execution Exception

Error Type: expression : 0
Error Messages: invalid call of the function getPhotosbyCategory (/opt/sites/ypofgc/model/PhotosService.cfc), first Argument (CategoryID) is of invalid type, can't cast String [15?event=general.photos,15] to a value of type [numeric]
Tag Context:
ID: ??
LINE: 116
Template: /opt/sites/ypofgc/handlers/general.cfc
ID: ??
LINE: 698
Template: /opt/sites/ypofgc/coldbox/system/web/Controller.cfc
ID: ??
LINE: 583
Template: /opt/sites/ypofgc/coldbox/system/web/Controller.cfc
ID: ??
LINE: 231
Template: /opt/sites/ypofgc/coldbox/system/coldbox.cfc
ID: ??
LINE: 51
Template: /opt/sites/ypofgc/Application.cfc
Framework Snapshot
Current Event: general.photos
Current Layout: N/A (Module: )
Current View: N/A
Bug Date: 07/22/2017 05:50:07 PM
Coldfusion ID: CFID=4179e96e-e44d-4e33-be24-8c8d049050b3 ; CFToken=0 ; JSessionID=282663F86C60CD06224D3EF30E01FEF8_4179e96e-e44d-4e33-be24-8c8d049050b3_0
Template Path : /opt/sites/ypofgc/index.cfm
Path Info :
Host & Server: ypofgc.com ckh-lucee-1
Query String: event=general.photos&CategoryID=15?event=general.photos&CategoryID=15
Browser: CCBot/2.0 (http://commoncrawl.org/faq/)
Remote Address: 127.0.0.1
Form variables:
Session Storage:
Cookies:
cfid: 4179e96e-e44d-4e33-be24-8c8d049050b3
cftoken: 0
Stack Trace:
invalid call of the function getPhotosbyCategory (/opt/sites/ypofgc/model/PhotosService.cfc), first Argument (CategoryID) is of invalid type, can't cast String [15?event=general.photos,15] to a value of type [numeric]
	at lucee.runtime.type.UDFImpl.castToAndClone(UDFImpl.java:117):117
	at lucee.runtime.type.UDFImpl.defineArguments(UDFImpl.java:130):130
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:325):325
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:642):642
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1761):1761
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:743):743
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599):1599
	at handlers.general_cfc$cf.udfCall1(/handlers/general.cfc:116):116
	at handlers.general_cfc$cf.udfCall(/handlers/general.cfc):-1
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216):216
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:643):643
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1774):1774
	at lucee.runtime.tag.Invoke.doComponent(Invoke.java:221):221
	at lucee.runtime.tag.Invoke.doEndTag(Invoke.java:194):194
	at coldbox.system.web.controller_cfc$cf.udfCall5(/coldbox/system/web/Controller.cfc:698):698
	at coldbox.system.web.controller_cfc$cf.udfCall(/coldbox/system/web/Controller.cfc):-1
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766):766
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:743):743
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599):1599
	at coldbox.system.web.controller_cfc$cf.udfCall5(/coldbox/system/web/Controller.cfc:583):583
	at coldbox.system.web.controller_cfc$cf.udfCall(/coldbox/system/web/Controller.cfc):-1
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216):216
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:643):643
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1778):1778
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:774):774
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1609):1609
	at coldbox.system.coldbox_cfc$cf.udfCall1(/coldbox/system/coldbox.cfc:231):231
	at coldbox.system.coldbox_cfc$cf.udfCall(/coldbox/system/coldbox.cfc):-1
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766):766
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:743):743
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599):1599
	at application_cfc$cf.udfCall(/Application.cfc:51):51
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:642):642
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1761):1761
	at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:414):414
	at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:133):133
	at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:37):37
	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2271):2271
	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2234):2234
	at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456
	at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47):47
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729):729
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230):230
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165):165
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192):192
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165):165
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198):198
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96):96
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474):474
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140):140
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79):79
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87):87
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349):349
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783):783
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66):66
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798):798
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434):1434
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49):49
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142):1142
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617):617
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
	at java.lang.Thread.run(Thread.java:745):745
Extra Information Dump
[N/A]