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

Null error in the PopupManagerImpl if accessibility is deactivated

    XMLWordPrintableJSON

    Details

      Description

      During the removal of a popup this error appears:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers::PopUpManagerImpl/removeModalPopUpAccessibility()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1513]
      at mx.managers::PopUpManagerImpl/popupRemovedHandler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1251]
      at flash.display::DisplayObjectContainer/removeChild()
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_removeChild()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/SystemManager.as:2152]
      at mx.managers::SystemManager/removeChild()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/SystemManager.as:1795]
      at mx.managers::PopUpManagerImpl/removePopUp()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:662]
      at mx.managers::PopUpManager$/removePopUp()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/managers/PopUpManager.as:238]

      The fix should be to simply add a check if the accessibilityProperties property is null or expand the try catch block around it.

        Attachments

          Activity

            People

            • Assignee:
              jmclean Justin Mclean
              Reporter:
              bchalupka Benjamin Chalupka
            • Votes:
              8 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified