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

Transition on empty Group component fails with ArgumentError: Error #2015: Invalid BitmapData.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.5 (Release)
    • Adobe Flex SDK Previous
    • Effects, Transitions
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      SDK Build: 4.0.0.13099

      Steps to reproduce:
      ( please refer to attached source)
      1. Declare empty Group container.
      2. Define two states.
      3. Define transition between them, eg. Wipe targetting the container.
      4. Change the state.

      Actual Results:
      "ArgumentError: Error #2015: Invalid BitmapData" is thrown.
      at flash.display::BitmapData()
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:97]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:132]
      at spark.utils::BitmapUtil$/getSnapshot()[E:\dev\trunk\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:63]
      at spark.effects::AnimateTransitionShader/getValueFromTarget()[E:\dev\trunk\frameworks\projects\spark\src\spark\effects\AnimateTransitionShader.as:283]
      at mx.effects::Effect/http://www.adobe.com/2006/flex/mx/internal::captureValues()[E:\dev\trunk\frameworks\projects\framework\src\mx\effects\Effect.as:1466]
      at mx.effects::Effect/captureStartValues()[E:\dev\trunk\frameworks\projects\framework\src\mx\effects\Effect.as:1368]
      at mx.core::UIComponent/commitCurrentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9782]
      at mx.core::UIComponent/setCurrentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9705]
      at mx.core::UIComponent/set currentState()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6090]
      at EmptyGroupTransition/___EmptyGroupTransition_Button1_click()[C:\dev\workspaces\testProjects\EmptyGroupTransition\src\EmptyGroupTransition.mxml:20]

      Expected Results:
      Nothing should happen.

      Workaround (if any):
      Put something that have some size into the group, eg. <s:Label/>

      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: