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

RTE in WindowedSystemManager.findLastActiveForm() when setting a window to invisible in the close handler of an Alert

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK 3.2 (Release)
    • mx: Window
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Using Flex SDK 3.2.3238 and 9/11 AIR drop

      Steps to reproduce:
      1. Create and open a Window instance
      2. call Alert.show() with the window instance as the parent
      3. attach an event listener for CloseEvent.CLOSE to the Alert instance, where the only thing the event handler does is set Window.visible=false
      4. click OK button to dismiss Alert

      Actual Results: stack trace, see below:
      Error
      at mx.managers::WindowedSystemManager/findLastActiveForm()[C:\autobuild\3.0.x\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:912]
      at mx.managers::WindowedSystemManager/deactivateForm()[C:\autobuild\3.0.x\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:877]
      at mx.managers::WindowedSystemManager/deactivate()[C:\autobuild\3.0.x\frameworks\projects\airframework\src\mx\managers\WindowedSystemManager.as:854]
      at mx.managers::FocusManager/hideHandler()[C:\autobuild\3.0.x\frameworks\projects\framework\src\mx\managers\FocusManager.as:1544]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9294]
      at mx.core::Window/set visible()[C:\autobuild\3.0.x\frameworks\projects\airframework\src\mx\core\Window.as:931]
      at <anonymous>()[C:\flex\FindLastActiveFormError\src\FindLastActiveFormError.mxml:17]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9294]
      at mx.controls.alertClasses::AlertForm/removeAlert()[C:\autobuild\3.0.x\frameworks\projects\framework\src\mx\controls\alertClasses\AlertForm.as:500]
      at mx.controls.alertClasses::AlertForm/clickHandler()[C:\autobuild\3.0.x\frameworks\projects\framework\src\mx\controls\alertClasses\AlertForm.as:541]

      Expected Results: No RTE

      Workaround (if any): not that I know of

      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: