Title:
Bug 83981:When you are creating function calls including objects (JSON style over multiple lines) as arguments, CF901 throws a Null Pointer Exception - This did not happen with CF900 at all
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): / Wusel Wisel (w13510n)
Created: 08/30/2010
Components: Language, Datastructure
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 0
Duplicate ID: CF-3041814
Problem:
When you are creating function calls including objects (JSON style over multiple lines) as arguments, CF901 throws a Null Pointer Exception - This did not happen with CF900 at all.
Method:
\\blrfs04.macromedia.com\builds\coldfusion\bugs\83981
or
E.g. within a combined return in a function:
<cfreturn "==" & getTextile(template=arguments.template, data={"link" = local.link,"class" = local.class,"title" = arguments.title,"text" = arguments.text}) & "==" />
When i wrap it like:
<cfset local.textileString = getTextile(template=arguments.template, data={"link" = local.link,"class" = local.class,"title" = arguments.title,"text" = arguments.text}) />
<cfreturn "==" & local.textileString & "==" />
The illogical "Null Pointer" Statement disappears.
Result:
Null Pointers are another name for undefined values.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041964
External Customer Info:
External Company:
External Customer Name: Wusel Wisel
External Customer Email: 376F71304C7B7E050A04B837
External Test Config: 08/30/2010
Attachments:
Comments: