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

null pointer exception in PopUpManagerImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Apache Flex 4.8 (parity release)
    • Apache Flex 4.9.0
    • PopUp Manager

    Description

      take a look on line 780, PopUpManagerImpl.as, the code try to access "visible" property without testing if "popup" if not null. (which is done properly a few lines before to add event listeners)

      if (visibleFlag)
      showModalWindow(o, sm, false);
      else
      popup.visible = visibleFlag; // BANG, null pointer exception

      I found this bug loading flex 4 SWF inside a AIR app with SWFLoader.

      Attachments

        1. FLEX-33231_Fix.patch
          0.6 kB
          Leif Wells

        Activity

          People

            leifwells Leif Wells
            evialle ericv.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified