Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK 3.2 (Release)
-
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