Skip to content

Instantly share code, notes, and snippets.

@ryanguill
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save ryanguill/d9e5283318ac2cdb5dcc to your computer and use it in GitHub Desktop.

Select an option

Save ryanguill/d9e5283318ac2cdb5dcc to your computer and use it in GitHub Desktop.
<cfscript>
param variables.foo = "";
writedump(variables);
/*
Railo 4.2.1.007 Error (template)
Message Invalid Identifier, the following character cannot be part of a identifier [=]
Stacktrace The Error Occurred in
E:\home\html\railo-test\param-test-2605.cfm: line 2
1: <cfscript>
2: param variables.foo = "";
3:
4: writedump(variables);
Java Stacktrace Invalid Identifier, the following character cannot be part of a identifier [=]
at railo.transformer.cfml.tag.CFMLTransformer.identifier(CFMLTransformer.java:1108):1108
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.attributeName(AbstrCFMLScriptTransformer.java:1996):1996
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.attribute(AbstrCFMLScriptTransformer.java:1929):1929
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.attributes(AbstrCFMLScriptTransformer.java:1871):1871
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer._paramStatement(AbstrCFMLScriptTransformer.java:1347):1347
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.paramStatement(AbstrCFMLScriptTransformer.java:1271):1271
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.statement(AbstrCFMLScriptTransformer.java:193):193
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.statement(AbstrCFMLScriptTransformer.java:183):183
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.statements(AbstrCFMLScriptTransformer.java:166):166
at railo.transformer.cfml.script.AbstrCFMLScriptTransformer.statements(AbstrCFMLScriptTransformer.java:150):150
at railo.transformer.cfml.script.CFMLScriptTransformer.transform(CFMLScriptTransformer.java:32):32
at railo.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:582):582
at railo.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:313):313
at railo.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:253):253
at railo.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:124):124
at railo.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:55):55
at railo.runtime.PageSourceImpl._compile(PageSourceImpl.java:309):309
at railo.runtime.PageSourceImpl.compile(PageSourceImpl.java:283):283
at railo.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:242):242
at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:166):166
at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:869):869
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:905):905
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:861):861
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:206):206
at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2215):2215
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2182):2182
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:332):332
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728):728
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:222):222
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408):408
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197):197
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589):589
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852):1852
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
Timestamp 9/11/14 10:18:08 AM CDT
*/
</cfscript>
@micstriit

Copy link
Copy Markdown

problem is the whitespace in front of "="

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment