Railo 4.1.2.005 Error (expression)
Message can't cast [] to date value
Stacktrace The Error Occurred in
C:\Fast-CMS\webapps\www\orinoco\publicador\templates-cfm\placar\includes\metatags.cfm: line 37
35: <meta property="article:section" content="#GetNoticia.channel_name#">
36:
37: <cfset sPubDate = "#year(GetNoticia.date_available)#-#month(GetNoticia.date_available)#-#day(GetNoticia.date_available)#">
38:
39: <meta itemprop="publisher" content="Revista PLACAR - revistaplacar.uol.com.br">

called from C:\Fast-CMS\webapps\www\orinoco\publicador\templates-cfm\placar\noticia.cfm: line 17
Java Stacktrace can't cast [] to date value
  at railo.runtime.op.date.DateCaster.toDateAdvanced(DateCaster.java:60):60
  at railo.runtime.op.Caster.toDate(Caster.java:2659):2659
  at orinoco.publicador.templates_cfm450.placar.includes.metatags_cfm$cf.call(C:\Fast-CMS\webapps\www\orinoco\publicador\templates-cfm\placar\includes\metatags.cfm:37):37
  at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:838):838
  at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:785):785
  at orinoco.publicador.templates_cfm450.placar.noticia_cfm$cf.call(C:\Fast-CMS\webapps\www\orinoco\publicador\templates-cfm\placar\noticia.cfm:17):17
  at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:838):838
  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:2135):2135
  at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2102):2102
  at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:332):332
  at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848):848
  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686):686
  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501):501
  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137):137
  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557):557
  at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231):231
  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086):1086
  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428):428
  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193):193
  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020):1020
  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135):135
  at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255):255
  at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154):154
  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116):116
  at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:317):317
  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116):116
  at org.eclipse.jetty.server.Server.handle(Server.java:370):370
  at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489):489
  at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949):949
  at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011):1011
  at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644):644
  at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235):235
  at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82):82
  at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668):668
  at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52):52
  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608):608
  at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543):543
  at java.lang.Thread.run(Unknown Source):-1
 
Timestamp 2/20/16 1:45:11 PM BRST