Copy link to clipboard
Copied
I am probably dating myself here, but I have an application running Mach-II and Coldspring (which I use for dependency injection). I recently upgraded to CF 2016 and did not have any issues with this version/upgrade. I was testing the CF 2018 Pre-release build today and was unable to get my application to load. Looks to be throwing on error on this:
<cfset var abstract = false />
-----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
Invalid CFML construct found on line 243 at column 28.
ColdFusion was looking at the following text:
abstract
The CFML compiler was processing:
A cfset tag beginning on line 243, column 18.
A cfset tag beginning on line 243, column 18.
The error occurred in D:/APPLICATIONS/CF-INF/cfFrameworks/coldspring/beans/DefaultXmlBeanFactory.cfc: line 243
Called from D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/properties/ColdspringProperty.cfc: line 328
Called from D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/PropertyManager.cfc: line 298
Called from D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppManager.cfc: line 118
Called from D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppFactory.cfc: line 271
Called from D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppLoader.cfc: line 164
Called from D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppLoader.cfc: line 101
Called from D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/mach-ii.cfc: line 150
Called from D:/APPLICATIONS/SITES/FBI/Application.cfc: line 37
241 : <cfset var aliasIx = 0 />
242 : <cfset var aliasAttributes = 0 />
243 : <cfset var abstract = false />
244 : <cfset var parent = "" />
245 : <cfset var beanMetadata = ""/>
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Remote Address 127.0.0.1
Referrer
Date/Time 21-Feb-18 01:04 PM
Stack Trace
at cfColdspringProperty2ecfc1779394849$funcCONFIGURE.runFunction(D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/properties/ColdspringProperty.cfc:328) at cfPropertyManager2ecfc102594922$funcCONFIGURE.runFunction(D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/PropertyManager.cfc:298) at cfAppManager2ecfc545194371$funcCONFIGURE.runFunction(D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppManager.cfc:118) at cfAppFactory2ecfc506952868$funcCREATEAPPMANAGER.runFunction(D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppFactory.cfc:271) at cfAppLoader2ecfc1150617$funcRELOADCONFIG.runFunction(D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppLoader.cfc:164) at cfAppLoader2ecfc1150617$funcINIT.runFunction(D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/framework/AppLoader.cfc:101) at cfmach2dii2ecfc1559609412$funcLOADFRAMEWORK.runFunction(D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/mach-ii.cfc:150) at cfApplication2ecfc704306405$funcONAPPLICATIONSTART.runFunction(D:/APPLICATIONS/SITES/FBI/Application.cfc:37)
coldfusion.compiler.ParseException: Invalid CFML construct found on line 243 at column 28.
at coldfusion.compiler.cfml40.generateParseException(cfml40.java:16526)
at coldfusion.compiler.cfml40.jj_consume_token(cfml40.java:16397)
at coldfusion.compiler.cfml40.endOrEmptyTag(cfml40.java:455)
at coldfusion.compiler.cfml40.cfset(cfml40.java:513)
at coldfusion.compiler.cfml40.processCfmlTags(cfml40.java:5347)
at coldfusion.compiler.cfml40.cfml(cfml40.java:5409)
at coldfusion.compiler.cfml40.cffunction(cfml40.java:4690)
at coldfusion.compiler.cfml40.processCfmlTags(cfml40.java:5365)
at coldfusion.compiler.cfml40.cfml(cfml40.java:5409)
at coldfusion.compiler.cfml40.start(cfml40.java:5870)
at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:655)
at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:635)
at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:457)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:407)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:160)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:476)
at coldfusion.util.LruCache.get(LruCache.java:180)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:396)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:676)
at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:600)
at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:583)
at coldfusion.runtime.TemplateProxyFactory.getCFCInstance(TemplateProxyFactory.java:284)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:177)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:162)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:152)
at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:74)
at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:56)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:7099)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:7118)
at cfColdspringProperty2ecfc1779394849$funcCONFIGURE.runFunction(D:\APPLICATIONS\CF-INF\cfFrameworks\MachII\properties\ColdspringProperty.cfc:328)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:816)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:599)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:424)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3247)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3224)
at cfPropertyManager2ecfc102594922$funcCONFIGURE.runFunction(D:\APPLICATIONS\CF-INF\cfFrameworks\MachII\framework\PropertyManager.cfc:298)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:816)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:599)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:424)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3247)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3224)
at cfAppManager2ecfc545194371$funcCONFIGURE.runFunction(D:\APPLICATIONS\CF-INF\cfFrameworks\MachII\framework\AppManager.cfc:118)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:816)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:599)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:424)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3247)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3224)
at cfAppFactory2ecfc506952868$funcCREATEAPPMANAGER.runFunction(D:\APPLICATIONS\CF-INF\cfFrameworks\MachII\framework\AppFactory.cfc:271)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:816)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:599)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:424)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3247)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3224)
at cfAppLoader2ecfc1150617$funcRELOADCONFIG.runFunction(D:\APPLICATIONS\CF-INF\cfFrameworks\MachII\framework\AppLoader.cfc:164)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3801)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3781)
at cfAppLoader2ecfc1150617$funcINIT.runFunction(D:\APPLICATIONS\CF-INF\cfFrameworks\MachII\framework\AppLoader.cfc:101)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:816)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:599)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:424)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3247)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3224)
at cfmach2dii2ecfc1559609412$funcLOADFRAMEWORK.runFunction(D:\APPLICATIONS\CF-INF\cfFrameworks\MachII\mach-ii.cfc:150)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3801)
at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3781)
at cfApplication2ecfc704306405$funcONAPPLICATIONSTART.runFunction(D:\APPLICATIONS\SITES\FBI\Application.cfc:37)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:550)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:480)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:443)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:394)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:367)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:283)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:816)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:599)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:424)
at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:114)
at coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:237)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:153)
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:225)
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: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:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
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:355)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:513)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
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.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:844)
Debugging Information
ColdFusion Server Evaluation 2018,0,0,306487
Template /index.cfm
Time Stamp 21-Feb-18 01:04 PM
Locale English (US)
User Agent Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Remote IP 127.0.0.1
Host Name 127.0.0.1
Execution Time
No top level page was found.
Exceptions
13:04:09.009 - Template Exception - in D:/APPLICATIONS/CF-INF/cfFrameworks/MachII/properties/ColdspringProperty.cfc : line 328
Invalid CFML construct found on line 243 at column 28.
Copy link to clipboard
Copied
It was not a reserved word in CF2016 or prior: ColdFusion Help | Reserved words . From that error, it might be the case, but i'd also look you already have abstract defined elsewhere. Hard to say from that snippet.
I was unaware that 2018 was in pre-release, or released from embargo.
-Nic
Copy link to clipboard
Copied
Thanks for the reply. I just realized there is a separate forum for 2018. I received an invite today so I am guessing it is all fairly new. I was able to get further along just by changing abstract to abstractn so I am guessing it is a protected word now. It's the only instance of the word abstract in the entire CFC and it's throwing an error on the CFSET when I am trying to scope it so seemed really strange.
Copy link to clipboard
Copied
It'd be beneficial if Adobe added the following Lucee-only CFML functions in order to easily identify all reserved words & eliminate any guesswork.
Copy link to clipboard
Copied
I've had the same issue - I found that changing changing all local instances of the the variable "abstract" to "isAbstract" within the loadBeanDefinitions function seemed to do the trick.
Copy link to clipboard
Copied
We are installing CF 2018 now on a DEV server with Coldspring and ran into this same issue. Charlie mentioned this at CF Summit in his Hidden Features in CF 2018 session so when it happened, we knew exactly what to look for. We changed the local variables to isAbstract from Abstract and could proceed.