Lucee 5.2.3.35 Error (expression)
Message cannot cast [1551,33] string to a number value
Stacktrace The Error Occurred in
C:\inetpub\wwwroot\physlink.com\Directories\Departments\Redirect.cfm: line 8
6: FROM #Application.ClickThroughStatsTable#
7: WHERE ID = <cfqueryparam value="#URL.ID#" cfsqltype="CF_SQL_INTEGER">
8: </CFQUERY>
9:
10: <CFIF #Stats.RecordCount# EQ "0">

Java Stacktrace lucee.runtime.exp.CasterException: cannot cast [1551,33] string to a number value
  at lucee.runtime.op.Caster.toDoubleValue(Caster.java:522)
  at lucee.runtime.op.Caster.toIntValue(Caster.java:810)
  at lucee.runtime.op.Caster.toIntValue(Caster.java:765)
  at lucee.runtime.op.Caster.toInteger(Caster.java:4260)
  at lucee.runtime.db.SQLCaster.setValue(SQLCaster.java:278)
  at lucee.runtime.type.QueryImpl.setItems(QueryImpl.java:367)
  at lucee.runtime.type.QueryImpl.execute(QueryImpl.java:274)
  at lucee.runtime.type.QueryImpl.(QueryImpl.java:221)
  at lucee.runtime.tag.Query.executeDatasoure(Query.java:913)
  at lucee.runtime.tag.Query.doEndTag(Query.java:664)
  at directories.departments.redirect_cfm$cf.call(/Directories/Departments/redirect.cfm:8)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:939)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:833)
  at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:63)
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2405)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2395)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2363)
  at lucee.runtime.engine.Request.exe(Request.java:46)
  at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1048)
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:996)
  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:478)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
  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:486)
  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
  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)
 
Timestamp 8/6/20 12:09:35 PM PDT