Title:
Bug 77292:Syntax error in line 29 of /WEB-INF/cfusion/gateway/cfc/example/menu/apps/sendapp
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Dave Shuck / Dave Shuck (Dave Shuck)
Created: 05/16/2009
Components: Documentation, Examples
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 234176
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
Syntax error in line 29 of /WEB-INF/cfusion/gateway/cfc/example/menu/apps/sendapp.cfc
FIX: changing sendapp.cfc:29 to:
_____________________________________________________
println("from: 19256836652");
Method:
Result:
Invalid CFML construct found on line 31 at column 28.
ColdFusion was looking at the following text:
App
The CFML compiler was processing:
* An expression beginning with println, on line 29, column 25.This message is usually caused by a problem in the expressions structure.
* A script statement beginning with println on line 29, column 25.
* A cfscript tag beginning on line 16, column 18.
* A cfscript tag beginning on line 16, column 18.
The error occurred in /opt/tomcat6/webapps/workout.tracker/WEB-INF/cfusion/gateway/cfc/examples/menu/apps/sendapp.cfc: line 31
29 : println("from: 19256836652);
30 : </cfscript>
31 : <cfreturn "App forwarded to: " & Trim(arguments.message)>
32 : </cffunction>
33 : <!--- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
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 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
Remote Address 127.0.0.1
Referrer
Date/Time 16-May-09 12:21 PM
Stack Trace
coldfusion.compiler.ParseException: Invalid CFML construct found on line 31 at column 28.
at coldfusion.compiler.cfml40.generateParseException(cfml40.java:11839)
at coldfusion.compiler.cfml40.jj_consume_token(cfml40.java:11710)
at coldfusion.compiler.cfml40.FunctionParameters(cfml40.java:6130)
at coldfusion.compiler.cfml40.ComplexReference(cfml40.java:6000)
at coldfusion.compiler.cfml40.VariableReference(cfml40.java:5930)
at coldfusion.compiler.cfml40.PrimaryExpression(cfml40.java:5735)
at coldfusion.compiler.cfml40.UnaryExpression(cfml40.java:5592)
at coldfusion.compiler.cfml40.ExponentialExpression(cfml40.java:5549)
at coldfusion.compiler.cfml40.MultiplyDivisionExpression(cfml40.java:5502)
at coldfusion.compiler.cfml40.IntegerDivisionExpression(cfml40.java:5483)
at coldfusion.compiler.cfml40.ModExpression(cfml40.java:5464)
at coldfusion.compiler.cfml40.AdditionExpression(cfml40.java:5417)
at coldfusion.compiler.cfml40.ConcatExpression(cfml40.java:5398)
at coldfusion.compiler.cfml40.ComparisonExpression(cfml40.java:5251)
at coldfusion.compiler.cfml40.NotExpression(cfml40.java:5201)
at coldfusion.compiler.cfml40.AndExpression(cfml40.java:5173)
at coldfusion.compiler.cfml40.OrExpression(cfml40.java:5154)
at coldfusion.compiler.cfml40.XorExpression(cfml40.java:5135)
at coldfusion.compiler.cfml40.EqvExpression(cfml40.java:5116)
at coldfusion.compiler.cfml40.ImpExpression(cfml40.java:5097)
at coldfusion.compiler.cfml40.HookExpression(cfml40.java:5052)
at coldfusion.compiler.cfml40.expr(cfml40.java:5036)
at coldfusion.compiler.cfml40.cfScriptExpression(cfml40.java:2339)
at coldfusion.compiler.cfml40.SimpleStatement(cfml40.java:625)
at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1536)
at coldfusion.compiler.cfml40.cfscript(cfml40.java:1398)
at coldfusion.compiler.cfml40.cfml(cfml40.java:4218)
at coldfusion.compiler.cfml40.cffunction(cfml40.java:3590)
at coldfusion.compiler.cfml40.cfml(cfml40.java:4220)
at coldfusion.compiler.cfml40.start(cfml40.java:4521)
at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:667)
at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:648)
at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:401)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:343)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:144)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:418)
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:591)
at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:540)
at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:523)
at coldfusion.orm.mapping.CFPropertyBinder.getMetaData(CFPropertyBinder.java:112)
at coldfusion.orm.mapping.CFPropertyBinder.<init>(CFPropertyBinder.java:96)
at coldfusion.orm.hibernate.HibernateConfiguration.generateHbmDocFromCFCs(HibernateConfiguration.java:600)
at coldfusion.orm.hibernate.HibernateConfiguration.buildConfiguration(HibernateConfiguration.java:401)
at coldfusion.orm.hibernate.HibernateConfiguration.initHibernateConfiguration(HibernateConfiguration.java:176)
at coldfusion.orm.hibernate.HibernateConfiguration.<init>(HibernateConfiguration.java:137)
at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:69)
at coldfusion.orm.hibernate.HibernateProvider.InitializeORMForApplication(HibernateProvider.java:168)
at coldfusion.orm.hibernate.HibernateProvider.beforeApplicationStart(HibernateProvider.java:83)
at coldfusion.filter.ApplicationFilter.fireBeforeAppStartEvent(ApplicationFilter.java:417)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:207)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
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:53)
at coldfusion.CfmServlet.service(CfmServlet.java:177)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3038596
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Dave Shuck
External Customer Email: 6674413B446F32B7992015D5
External Test Config: 05/16/2009
Attachments:
Comments: