Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Apache Flex 4.9.0
-
None
-
windows 7 x64
Description
Having a regular app that WASN't compiled with RIAtest or automation swcs but having RIATEST open, when closing a popup, it throws an RTE
The fix should be easy
instead of
underneathPopUpData.owner.accessibilityProperties.silent = false;
should be
if(underneathPopUpData.owner.accessibilityProperties)
underneathPopUpData.owner.accessibilityProperties.silent = false;
RTE thrown
exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::PopUpManagerImpl/handleAccessibilityForNestedPopups()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1541]
at mx.managers::PopUpManagerImpl/removeModalPopUpAccessibility()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1482]
at mx.managers::PopUpManagerImpl/popupRemovedHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1230]
at flash.display::DisplayObjectContainer/removeChild()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_removeChild()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/SystemManager.as:2152]
at mx.managers::SystemManager/removeChild()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/SystemManager.as:1795]
at mx.managers::PopUpManagerImpl/removePopUp()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:641]
at mx.managers::PopUpManager$/removePopUp()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManager.as:238]