[
https://issues.apache.org/jira/browse/FLEX-33231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Kwiatkowski closed FLEX-33231.
-----------------------------------
Resolution: Fixed
Fix Version/s: Apache Flex 4.9.0
Assignee: Leif Wells
Closed per Leif Wells. Committed via SVN on revision #1405412 in develop
branch.
> 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
> Assignee: Leif Wells
> Labels: patch
> Fix For: Apache Flex 4.9.0
>
> 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