incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif Wells (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33231) null pointer exception in PopUpManagerImpl
Date Fri, 02 Nov 2012 01:32:12 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leif Wells updated FLEX-33231:
------------------------------

    Attachment: FLEX-33231_Fix.patch

Attached is the fix made per the suggestion in the description for this task.

I want someone else to check this out before it is committed. 
                
> 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
>              Labels: patch
>         Attachments: FLEX-33231_Fix.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> 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