Crazy ColdSpring 1.2 Stable Error

Replacing the ColdSpring folder with fresh or updated files (version 1.2 Stable) from the ColdSpring web site. Run the application and "Whoa!", error shown below.

Crazy. No obvious template. You'll have to go down the the TagContext array for the template. It seems that the generated bean is missing a period (.) in the init call. Go into the appRoot\coldspring\aop\framework\tmp\bean_####.cfc and change line 62:

view plain print about
1<cfset var method = CreateObject('component','coldspring.aop.Method').init(variables.target, arguments.methodName, arguments.args) />

to:

view plain print about
1<cfset var method = CreateObject('component','coldspring.aop.Method').init(variables.target, arguments.methodName, arguments.args) />

by adding the period before init.

struct
EVENTNAME [empty string]
EXCEPTION

struct
Message Invalid CFML construct found on line 62 at column 77.
RootCause

struct
Column 77
Detail

ColdFusion was looking at the following text:<p>init</p><p>The CFML compiler was processing:<ul><li>A cfset tag beginning on line 61, column 18.<li>A cfset tag beginning on line 61, column 18.</ul>

KnownColumn 76
KnownLine 62
KnownText )
Line 62
Message Invalid CFML construct found on line 62 at column 77.
Snippet CreateObject('component','coldspring.aop.Method')init
StackTrace coldfusion.compiler.ParseException: Invalid CFML construct found on line 62 at column 77. at coldfusion.compiler.cfml40.generateParseException(cfml40.java:12135) at coldfusion.compiler.cfml40.jj_consume_token(cfml40.java:12006) at coldfusion.compiler.cfml40.endOrEmptyTag(cfml40.java:420) at coldfusion.compiler.cfml40.cfset(cfml40.java:478) at coldfusion.compiler.cfml40.cfml(cfml40.java:4326) at coldfusion.compiler.cfml40.cffunction(cfml40.java:3713) at coldfusion.compiler.cfml40.cfml(cfml40.java:4344) at coldfusion.compiler.cfml40.start(cfml40.java:4645) at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:694) at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:675) at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:428) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:370) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:147) at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:436) at coldfusion.util.LruCache.get(LruCache.java:180) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362) 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:609) at coldfusion.runtime.MetadataUtils.getBasicComponentMetadata(MetadataUtils.java:167) at coldfusion.orm.mapping.CFPropertyBinder.<init>(CFPropertyBinder.java:111) at coldfusion.orm.hibernate.HibernateConfiguration.generateHbmDocFromCFCs(HibernateConfiguration.java:974) at coldfusion.orm.hibernate.HibernateConfiguration.generateAndLoadHBMFilesFromCFCs(HibernateConfiguration.java:637) at coldfusion.orm.hibernate.HibernateConfiguration.buildConfiguration(HibernateConfiguration.java:530) at coldfusion.orm.hibernate.HibernateConfiguration.initHibernateConfiguration(HibernateConfiguration.java:179) at coldfusion.orm.hibernate.HibernateConfiguration.<init>(HibernateConfiguration.java:152) at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:67) at coldfusion.orm.hibernate.HibernateProvider.InitializeORMForApplication(HibernateProvider.java:176) at coldfusion.orm.hibernate.HibernateProvider.beforeApplicationStart(HibernateProvider.java:79) at coldfusion.filter.ApplicationFilter.fireBeforeAppStartEvent(ApplicationFilter.java:504) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:239) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) 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:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
TagContext
array
1

struct
COLUMN 77
LINE 62
TEMPLATE D:\inetpub\Development\ColdFusionJoe\dude\coldspring\aop\framework\tmp\bean_5907DAMNCRAZYNUMBER28C57.cfc
TYPE SYNTAX

TokenText init
Type Template
snippet

CreateObject('component','coldspring.aop.Method')init

StackTrace

coldfusion.compiler.ParseException: Invalid CFML construct found on line 62 at column 77. at coldfusion.compiler.cfml40.generateParseException(cfml40.java:12135) at coldfusion.compiler.cfml40.jj_consume_token(cfml40.java:12006) at coldfusion.compiler.cfml40.endOrEmptyTag(cfml40.java:420) at coldfusion.compiler.cfml40.cfset(cfml40.java:478) at coldfusion.compiler.cfml40.cfml(cfml40.java:4326) at coldfusion.compiler.cfml40.cffunction(cfml40.java:3713) at coldfusion.compiler.cfml40.cfml(cfml40.java:4344) at coldfusion.compiler.cfml40.start(cfml40.java:4645) at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:694) at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:675) at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:428) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:370) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:147) at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:436) at coldfusion.util.LruCache.get(LruCache.java:180) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362) 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:609) at coldfusion.runtime.MetadataUtils.getBasicComponentMetadata(MetadataUtils.java:167) at coldfusion.orm.mapping.CFPropertyBinder.<init>(CFPropertyBinder.java:111) at coldfusion.orm.hibernate.HibernateConfiguration.generateHbmDocFromCFCs(HibernateConfiguration.java:974) at coldfusion.orm.hibernate.HibernateConfiguration.generateAndLoadHBMFilesFromCFCs(HibernateConfiguration.java:637) at coldfusion.orm.hibernate.HibernateConfiguration.buildConfiguration(HibernateConfiguration.java:530) at coldfusion.orm.hibernate.HibernateConfiguration.initHibernateConfiguration(HibernateConfiguration.java:179) at coldfusion.orm.hibernate.HibernateConfiguration.<init>(HibernateConfiguration.java:152) at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:67) at coldfusion.orm.hibernate.HibernateProvider.InitializeORMForApplication(HibernateProvider.java:176) at coldfusion.orm.hibernate.HibernateProvider.beforeApplicationStart(HibernateProvider.java:79) at coldfusion.filter.ApplicationFilter.fireBeforeAppStartEvent(ApplicationFilter.java:504) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:239) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) 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:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

TagContext

array [empty]
Type coldfusion.util.RuntimeWrapper

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.9.7. Contact Blog Owner