João Fernandes created FLEX-33613:
-------------------------------------
Summary: RTE when closing Popup with RIATEST open but the
application compiled with accessibility = false
Key: FLEX-33613
URL: https://issues.apache.org/jira/browse/FLEX-33613
Project: Apache Flex
Issue Type: Bug
Components: Automation, PopUp Manager
Affects Versions: Apache Flex 4.9.0
Environment: windows 7 x64
Reporter: João Fernandes
Priority: Minor
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]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira