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

AccordionContent destruction policy application sometimes causes an RTE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Next
    • None
    • Spark: Accordion
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      Try to open, then close, and then interrupting the close animation, reopen a single AccordionContent.

      Actual Results:
      An RTE might occur:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at spark.components::SkinnableContainer/removeDeferredContent()[/Users/mvujovic/Documents/FlexSources/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as:1245]
      at spark.components::AccordionContent/applyDestructionPolicy()[/Users/mvujovic/Documents/FlexSources/trunk/frameworks/projects/spark/src/spark/components/AccordionContent.as:675]
      at spark.components::AccordionContent/enterFrameHandler()[/Users/mvujovic/Documents/FlexSources/trunk/frameworks/projects/spark/src/spark/components/AccordionContent.as:648]

      Expected Results:
      No RTE.

      Workaround (if any):
      None.

      Notes:
      This is not a regression. I saw it before Bear's selection refactor. I think the destruction policy is being applied twice on AccordionContent (timing issues).

      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: