Error Occurred While Processing Request The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.


The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request

The NEWSID argument passed to the retrieveOneNews function is not of type numeric.

If the component name is specified as a type of this argument, it is possible that either a definition file for the component cannot be found or is not accessible.
 
The error occurred in C:/ColdFusion2018/cfusion/CustomTags/Plus_Intranet_G2/News_G2.cfc: line 14
Called from C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm: line 93
Called from C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm: line 89
Called from C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm: line 1
Called from C:/home/bluemountainsreview.ca/wwwroot/the-review.cfm: line 55
12 : 	<!--- This function retrieves an news from the database --->
13 :     <cffunction name="retrieveOneNews" hint="Retrieves an news from the database based on id" output="no" returntype="query">
14 :         <cfargument name="newsid" type="numeric" default="0" />
15 :         <cfargument name="accesstype" type="string" default="public" />
16 :         <cfquery name="getNews" datasource="#application.dsn#" dbtype="ODBC">

Resources:

Browser   CCBot/2.0 (https://commoncrawl.org/faq/)
Remote Address   34.229.76.193
Referrer  
Date/Time   23-May-19 10:57 AM
Stack Trace
at cfNews_G22ecfc2011933800$funcRETRIEVEONENEWS.runFunction(C:/ColdFusion2018/cfusion/CustomTags/Plus_Intranet_G2/News_G2.cfc:14) at cfrti2dtemplate2ecfm844939861._factor4(C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm:93) at cfrti2dtemplate2ecfm844939861._factor12(C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm:89) at cfrti2dtemplate2ecfm844939861.runPage(C:/home/bluemountainsreview.ca/wwwroot/rti-template.cfm:1) at cfthe2dreview2ecfm59368606.runPage(C:/home/bluemountainsreview.ca/wwwroot/the-review.cfm:55)

coldfusion.runtime.UDFMethod$InvalidArgumentTypeException: The NEWSID argument passed to the retrieveOneNews function is not of type numeric.
	at coldfusion.runtime.UDFMethod._validateArgWithValidator(UDFMethod.java:1438)
	at coldfusion.runtime.UDFMethod._validateArgWithValidator(UDFMethod.java:1411)
	at cfNews_G22ecfc2011933800$funcRETRIEVEONENEWS.runFunction(C:\ColdFusion2018\cfusion\CustomTags\Plus_Intranet_G2\News_G2.cfc:14)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:823)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:629)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3302)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3277)
	at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:472)
	at cfrti2dtemplate2ecfm844939861._factor4(C:\home\bluemountainsreview.ca\wwwroot\rti-template.cfm:93)
	at cfrti2dtemplate2ecfm844939861._factor12(C:\home\bluemountainsreview.ca\wwwroot\rti-template.cfm:89)
	at cfrti2dtemplate2ecfm844939861.runPage(C:\home\bluemountainsreview.ca\wwwroot\rti-template.cfm:1)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
	at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:729)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:4082)
	at cfthe2dreview2ecfm59368606.runPage(C:\home\bluemountainsreview.ca\wwwroot\the-review.cfm:55)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
	at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:729)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:597)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:162)
	at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:96)
	at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	at coldfusion.CfmServlet.service(CfmServlet.java:226)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:311)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:46)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	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:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
	at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:422)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.base/java.lang.Thread.run(Thread.java:844)