Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Later
-
Adobe Flex SDK 2.0.1 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
*****BUG*****
Concise problem statement:
RadioButton.labelPlacement getter can create null object reference error.
Steps to reproduce bug:
i don't have an accurate repro, unfortunately, but the Debugger shows me that, in the body of the RadioButton.labelPlacement getter, that while '_group' has a value, 'group' is null. therefore, the line:
else if (_group && group.labelPlacement != "")
throws a null object reference error. is there any reason that line doesn't read either:
else if (group && group.labelPlacement != "")
or:
else if (_group && _group.labelPlacement != "")
?