tracker issue : CF-3041204

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 82504:foo(a=1,b=[1,2]); // FAILS since CF9 Cumulative HotFix 1!!

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)

Created: 03/24/2010

Components: Language, CFSCRIPT

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 5

Problem:

foo(a=1,b=[1,2]);  // FAILS since CF9 Cumulative HotFix 1!!
Method:

<cfscript>function foo(a, b){writeDump(arguments);}foo(a=1,b=[1,2]);</cfscript>
Result:

 The CFML compiler encountered an unexpected java.lang.IllegalStateException exception.The reason for this was: no parent Occurred at:java.lang.IllegalStateException: no parentat coldfusion.compiler.Node.getFunctionDef(Node.java:452)at coldfusion.compiler.SemanticAnalyzer.transformRuntimeCall(SemanticAnalyzer.java:805)at coldfusion.compiler.SemanticAnalyzer.transform(SemanticAnalyzer.java:296)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:95)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:77)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:27)at coldfusion.compiler.SemanticAnalyzer.adjustInitializerStmtNodeTagAttr(SemanticAnalyzer.java:1166)at coldfusion.compiler.SemanticAnalyzer.preTransform(SemanticAnalyzer.java:146)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:21)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:27)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:77)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:77)at coldfusion.compiler.Treewalker.postorder(Treewalker.java:27)at coldfusion.compiler.Treewalker.pos... The error occurred in D:\Project\billing\com\billing\test.cfm: line 75 : }6 : 7 : foo(a=1,b=[1,2]);8 : </cfscript>

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3041204

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Henry Ho
External Customer Email: 237A22C24921EDF5992015B9
External Test Config: 03/24/2010

Attachments:

Comments: