Lucee 6.0.0.13-SNAPSHOT Error (expression)
Message can't cast ['2020] string to a number value
Stacktrace The Error Occurred in
C:\inetpub\wwwroot\toth\menu_foto_laatsttoegevoegd.cfm: line 15
13: <cfset querySetCell(q,"map2","#dirs2.name#")>
14: <cfset querySetCell(q,"map3","#dirs3.name#")>
15: <cfset querySetCell(q,"datum","#CreateDate(GetToken(dirs3.datelastmodified,3,"-,/, ,:"),GetToken(dirs3.datelastmodified,2,"-,/, ,:"),GetToken(dirs3.datelastmodified,1,"-,/, ,:"))#")>
16: <!--- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#dirs3.name# (#GetToken(dirs3.datelastmodified,1,"-,/, ,:")#--#GetToken(dirs3.datelastmodified,2,"-,/, ,:")#--<cfif GetToken(dirs3.datelastmodified,3,"-,/, ,:") GT 70>19<cfelse>20</cfif>#GetToken(dirs3.datelastmodified,3,"-,/, ,:")#)<br> --->
17: </cfloop>

called from C:\inetpub\wwwroot\toth\menu_foto.cfm: line 2
called from C:\inetpub\wwwroot\toth\top.cfm: line 60
called from C:\inetpub\wwwroot\toth\toestellen.cfm: line 1
Java Stacktrace lucee.runtime.exp.CasterException: can't cast ['2020] string to a number value
  at lucee.runtime.op.Caster.toDoubleValueViaDate(Caster.java:521)
  at lucee.runtime.op.Caster.toDoubleValue(Caster.java:475)
  at lucee.runtime.op.Caster.toDoubleValue(Caster.java:397)
  at menu_foto_laatsttoegevoegd_cfm$cf$7q.call(/menu_foto_laatsttoegevoegd.cfm:15)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1019)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:911)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:892)
  at menu_foto_cfm$cf$7p.call(/menu_foto.cfm:2)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1019)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:911)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:892)
  at top_cfm$cf$7o.call(/top.cfm:60)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1019)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:911)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:892)
  at toestellen_cfm$cf.call(/toestellen.cfm:1)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1019)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:911)
  at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:64)
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2442)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2432)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2403)
  at lucee.runtime.engine.Request.exe(Request.java:43)
  at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1174)
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1120)
  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:504)
  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:486)
  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
  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 31-1-23 13:37:32 CET