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

TreeItemRenderer can in some situations throw an RTE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK 4.6 (Release), Apache Flex 4.8 (parity release), Apache Flex 4.9.0, Apache Flex 4.10.0, Apache Flex 4.11.0, Apache Flex 4.12.0
    • Fix Version/s: Apache Flex 4.13.0
    • Component/s: mx: Tree
    • Labels:
      None

      Description

      in some random situations, TreeItemRenderer.as can throw an RTE because an object is not checked if it's null before accessing some properties.

      in Line 366
      if (_data != null)
      should be
      if(_data != null && _listData != null)

        Attachments

        1. FLEX-34376.diff
          0.9 kB
          João Pedro Martins Fernandes

          Activity

            People

            • Assignee:
              aharui Alex Harui
              Reporter:
              jfernandes João Pedro Martins Fernandes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: