Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-14146

[ Bug Report ] RadioButton.labelPlacement getter can create null object reference error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • Adobe Flex SDK 2.0.1 (Release)
    • None
    • mx: RadioButton
    • 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 != "")

      ?

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: