Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B60710364 for ; Fri, 9 Aug 2013 05:43:55 +0000 (UTC) Received: (qmail 52566 invoked by uid 500); 9 Aug 2013 05:43:54 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 52504 invoked by uid 500); 9 Aug 2013 05:43:51 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 52466 invoked by uid 99); 9 Aug 2013 05:43:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 05:43:49 +0000 Date: Fri, 9 Aug 2013 05:43:49 +0000 (UTC) From: "Justin Mclean (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-33655) RTE when closing SkinnablePopUpContainer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean updated FLEX-33655: --------------------------------- Labels: easyfix (was: ) > RTE when closing SkinnablePopUpContainer > ---------------------------------------- > > Key: FLEX-33655 > URL: https://issues.apache.org/jira/browse/FLEX-33655 > Project: Apache Flex > Issue Type: Bug > Components: Mobile: SkinnablePopUpContainer > Affects Versions: Apache Flex 4.10.0 > Environment: All OS, all player versions > Reporter: Brian Chiu > Priority: Minor > Labels: easyfix > Original Estimate: 24h > Remaining Estimate: 24h > > RTE occurred when closing SkinnablePopUpContainer, using mx:Application as top level application > In the below code, topLevelApp becomes null if mx:Application is used as top level application wrapper. > A NPE will be throw on the next line. > --- > SkinnablePopUpContainer.as Line 1162 > private function updateSoftKeyboardEffect(snapPosition:Boolean):void > { > // Stop the current effect > if (softKeyboardEffect && softKeyboardEffect.isPlaying) > softKeyboardEffect.stop(); > > // Uninstall resize listeners during the effect. Listeners are > // installed again after the effect is complete or immediately affter > // the size and position are snapped. > uninstallActiveResizeListener(); > > var topLevelApp:Application = FlexGlobals.topLevelApplication as Application; > var softKeyboardRect:Rectangle = topLevelApp.softKeyboardRect; -- 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