Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/20/2014
Components: Language
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final / 292202
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 1
This errors:
{code}
/**
* @x.type numeric
* @x.default 0
*/
function f(x){
writeDump(arguments);
}
{code}
Error:
he system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
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.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 HB-dev-e0d8a48f
Remote Address 127.0.0.1
Referrer
Date/Time 20-Aug-14 01:28 PM
Stack Trace
java.lang.NullPointerException
at coldfusion.compiler.ExprAssembler.cast(ExprAssembler.java:1437)
at coldfusion.compiler.StmtAssembler.cast(StmtAssembler.java:67)
at coldfusion.compiler.ExprAssembler.cast(ExprAssembler.java:1408)
at coldfusion.compiler.StmtAssembler.cast(StmtAssembler.java:558)
at coldfusion.compiler.FunctionAssembler.argumentDefStmt(FunctionAssembler.java:384)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:224)
at coldfusion.compiler.FunctionAssembler.paramDef(FunctionAssembler.java:302)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:219)
at coldfusion.compiler.StmtAssembler.block(StmtAssembler.java:230)
at coldfusion.compiler.FunctionAssembler.function(FunctionAssembler.java:194)
at coldfusion.compiler.FunctionAssembler.assemble(FunctionAssembler.java:95)
at coldfusion.compiler.TemplateAssembler.assembleFunctions(TemplateAssembler.java:449)
at coldfusion.compiler.TemplateAssembler.assemble(TemplateAssembler.java:182)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:394)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:160)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:467)
[etc]
Obviously it should default the x argument to 0.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3808960
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: