Railo 4.0.0.013 Error (expression)
Message invalid call of the function getPDFByID (D:\inetpub\wwwroot\PeachtreeLighting\com\old\pdf_file.cfc), second Argument (pdf_ID) is of invalid type, can't cast String [] to a value of type [numeric]
Stacktrace The Error Occurred in
D:\inetpub\wwwroot\PeachtreeLighting\product\feature.cfm: line 7
5: <cfinvoke component="#Application.cfcRootPublicOld#.pdf_file" method="getPDFByID" returnvariable="getPDFInfo">
6: <cfinvokeargument name="dsn" value="#Application.dsn#">
7: <cfinvokeargument name="pdf_ID" value="#getFeaturedProducts.pdf_ID#">
8: </cfinvoke>
9:

Java Stacktrace invalid call of the function getPDFByID (D:\inetpub\wwwroot\PeachtreeLighting\com\old\pdf_file.cfc), second Argument (pdf_ID) is of invalid type, can't cast String [] to a value of type [numeric]
   at railo.runtime.type.UDFImpl.castToAndClone(UDFImpl.java:109):109
   at railo.runtime.type.UDFImpl.defineArguments(UDFImpl.java:156):156
   at railo.runtime.type.UDFImpl._call(UDFImpl.java:368):368
   at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:274):274
   at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
   at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489
   at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1794):1794
   at railo.runtime.tag.Invoke.doComponent(Invoke.java:209):209
   at railo.runtime.tag.Invoke.doEndTag(Invoke.java:182):182
   at product.feature_cfm$cf.call(D:\inetpub\wwwroot\PeachtreeLighting\product\feature.cfm:7):7
   at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:801):801
   at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:753):753
   at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:187):187
   at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
   at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2248):2248
   at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2215):2215
   at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:312):312
   at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225):225
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
   at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585):585
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
   at java.lang.Thread.run(Unknown Source):-1