Railo 4.2.1.008 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 cannot cast [1551,33] string to a number value
  at railo.runtime.op.Caster.toDoubleValue(Caster.java:481):481
  at railo.runtime.op.Caster.toIntValue(Caster.java:766):766
  at railo.runtime.op.Caster.toIntValue(Caster.java:723):723
  at railo.runtime.op.Caster.toInteger(Caster.java:4062):4062
  at railo.runtime.db.SQLCaster.setValue(SQLCaster.java:256):256
  at railo.runtime.type.QueryImpl.setItems(QueryImpl.java:333):333
  at railo.runtime.type.QueryImpl.(QueryImpl.java:232):232
  at railo.runtime.tag.Query.executeDatasoure(Query.java:687):687
  at railo.runtime.tag.Query.doEndTag(Query.java:531):531
  at directories.departments.redirect_cfm$cf.call(C:\inetpub\wwwroot\PhysLink.com\Directories\Departments\redirect.cfm:8):8
  at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:909):909
  at railo.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:39):39
  at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:19):19
  at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2212):2212
  at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2179):2179
  at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:331):331
  at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727):727
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241):241
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503):503
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170):170
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103):103
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421):421
  at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190):190
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611):611
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314):314
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
  at java.lang.Thread.run(Thread.java:745):745
 
Timestamp 11/22/17 2:21:19 PM PST