Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 575AED57E for ; Tue, 16 Oct 2012 20:21:04 +0000 (UTC) Received: (qmail 77758 invoked by uid 500); 16 Oct 2012 20:21:03 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 77679 invoked by uid 500); 16 Oct 2012 20:21:03 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 77661 invoked by uid 99); 16 Oct 2012 20:21:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2012 20:21:03 +0000 Date: Tue, 16 Oct 2012 20:21:03 +0000 (UTC) From: "Carol Frampton (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <1553961359.53210.1350418863291.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (FLEX-28982) DropDownController - Null Object Reference 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-28982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carol Frampton updated FLEX-28982: ---------------------------------- Attachment: testMXML.mxml ComboBoxSkin.mxml testMXML.mxml and ComboBoxSkin.mxml can be used to verify the bug and/or fix. > DropDownController - Null Object Reference > ------------------------------------------ > > Key: FLEX-28982 > URL: https://issues.apache.org/jira/browse/FLEX-28982 > Project: Apache Flex > Issue Type: Bug > Components: Spark: DropDownList > Affects Versions: Adobe Flex SDK 4.6 (Release) > Environment: Affected OS(s): All OS Platforms > Affected OS(s): All OS Platforms > Browser: Internet Explorer 8.x > Language Found: English > Reporter: Adobe JIRA > Attachments: ComboBoxSkin.mxml, testMXML.mxml > > > Steps to reproduce: > 1. Apply a skin to DropDownListBase-based components (ComboBox, DropDownList, etc). > 2. Invoke the detachSkin() somehow (i.e. change the skin at runtime). > > Actual Results: > TypeError: Error #1009: Cannot access a property or method of a null object reference. > at spark.components.supportClasses::DropDownController/set openButton()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\DropDownController.as:100] > at spark.components.supportClasses::DropDownListBase/partRemoved()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:543] > at spark.components.supportClasses::SkinnableComponent/clearSkinParts()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:764] > at spark.components.supportClasses::SkinnableComponent/detachSkin()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:798] > at spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:442] > at spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:457] > at spark.components.supportClasses::ListBase/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\ListBase.as:892] > at spark.components::List/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\List.as:1139] > at spark.components.supportClasses::DropDownListBase/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:508] > at spark.components::DropDownList/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\DropDownList.as:287] > at sungard.ebs.base.components::DropDownMenu/commitProperties()[C:\EBS3\Flexspace46\AmbitBaseSpark\src\sungard\ebs\base\components\DropDownMenu.as:188] > at mx.core::UIComponent/validateProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8219] > at mx.managers::LayoutManager/validateProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:597] > at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:813] > at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180] > at flash.utils::Timer/_timerDispatch() > at flash.utils::Timer/tick() > > > Expected Results: > > No runtime error. > > Workaround (if any): > None. Monkey-patch... -- 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