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

Changing size of an itemRenderer between states causes RTE in TileLayout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: TileLayout
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Run attached SWF file
      2. Click "dataprovider = large items"
      3. Mousover the first item
      4. Mouseout of the first item

      Actual Results:

      RTE:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.states::SetProperty/remove()[E:\dev\trunk\frameworks\projects\framework\src\mx\states\SetProperty.as:345]
      at mx.core::UIComponent/removeState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9134]
      at mx.core::UIComponent/commitCurrentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:8923]
      at mx.core::UIComponent/setCurrentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:8834]
      at mx.core::UIComponent/set currentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:5388]
      at spark.components.supportClasses::ItemRenderer/itemRenderer_rollOutHandler()[E:\dev\trunk\frameworks\projects\flex4\src\spark\components\supportClasses\ItemRenderer.as:468]

      Expected Results:

      No RTE, the item renderer should change size and the other items should be laid out again if applicable.

      Workaround (if any):

      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: