incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "droopy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33231) null pointer exception in PopUpManagerImpl
Date Wed, 24 Oct 2012 08:42:12 GMT
droopy created FLEX-33231:
-----------------------------

             Summary: null pointer exception in PopUpManagerImpl
                 Key: FLEX-33231
                 URL: https://issues.apache.org/jira/browse/FLEX-33231
             Project: Apache Flex
          Issue Type: Bug
          Components: PopUp Manager
    Affects Versions: Apache Flex 4.8 (parity release)
            Reporter: droopy


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. 


--
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

Mime
View raw message