Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72EEAF594 for ; Wed, 17 Apr 2013 03:49:19 +0000 (UTC) Received: (qmail 65797 invoked by uid 500); 17 Apr 2013 03:49:17 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 65760 invoked by uid 500); 17 Apr 2013 03:49:17 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 65723 invoked by uid 99); 17 Apr 2013 03:49:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 03:49:16 +0000 Date: Wed, 17 Apr 2013 03:49:16 +0000 (UTC) From: "Justin Mclean (JIRA)" To: dev@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-27575) Cannot refresh DataProvider for Spark DropDownList 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-27575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean updated FLEX-27575: --------------------------------- Labels: easytest (was: ) > Cannot refresh DataProvider for Spark DropDownList > -------------------------------------------------- > > Key: FLEX-27575 > URL: https://issues.apache.org/jira/browse/FLEX-27575 > Project: Apache Flex > Issue Type: Bug > Components: Spark: DropDownList > Affects Versions: Adobe Flex SDK 4.5 (Release) > Environment: Affected OS(s): All OS Platforms > Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Labels: easytest > > Steps to reproduce: > 1. Use the following test Application > > xmlns:fx="http://ns.adobe.com/mxml/2009" > xmlns:s="library://ns.adobe.com/flex/spark"> > > > > 1 > 2 > 3 > > > > > import spark.events.IndexChangeEvent; > > > private function handleIndexChange(event: IndexChangeEvent): void { > dataProvider.refresh(); > } > > ]] > > > > > > dataProvider="{dataProvider}" selectedIndex="0" > change="handleIndexChange(event)" > /> > > > 2. Select value from DropDownList > > Actual Results: > TypeError: Error #1009: Cannot access a property or method of a null object reference. > at Function/()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\List.as:1398] > > Expected Results: > - > > Workaround (if any): > - > Notes: > List.dataProviderRefreshed() creates functions which in their turn use optional "dataGroup" skin part. SkinPart is already removed by the time aforementioned function executes. > -- 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