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 88D91D47B for ; Mon, 5 Nov 2012 19:16:13 +0000 (UTC) Received: (qmail 91580 invoked by uid 500); 5 Nov 2012 19:16:12 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 91543 invoked by uid 500); 5 Nov 2012 19:16:12 -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 91533 invoked by uid 99); 5 Nov 2012 19:16:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 19:16:12 +0000 Date: Mon, 5 Nov 2012 19:16:12 +0000 (UTC) From: "Alex Harui (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <1055646265.69929.1352142972565.JavaMail.jiratomcat@arcas> In-Reply-To: <1420409942.795.1344503660162.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (FLEX-33165) RTE on Scroller when rotating device in mobile simulator 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-33165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Harui updated FLEX-33165: ------------------------------ Labels: EasyFix (was: ) Try adding null check and if there are downstream problems, remove EasyFix label > RTE on Scroller when rotating device in mobile simulator > -------------------------------------------------------- > > Key: FLEX-33165 > URL: https://issues.apache.org/jira/browse/FLEX-33165 > Project: Apache Flex > Issue Type: Bug > Components: Spark: Scroller > Affects Versions: Adobe Flex SDK 4.6 (Release) > Reporter: Maurice Amsellem > Priority: Minor > Labels: EasyFix > > When rotating the mobile simulator (Menu Device>Rotate left or right), I get the following error: > {code} > Error #1056: Cannot create property null on spark.components.DataGroup. > at spark.components::Scroller/http://www.adobe.com/2006/flex/mx/internal::snapElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1571] > at spark.components::Scroller/checkScrollPosition()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1750] > at spark.components::Scroller/handleSizeChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1766] > at spark.components::Scroller/handleSizeChangeOnUpdateComplete()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:2048] > {code} > In Scroller:1571 viewport[scrollProperty] = snapScrollPosition; > scrollProperty is null, which trigger the RTE. > Scroller belongs to a spark:List with HorizontalLayout and verticalScrollPolicy style is set to ScrollPolicy.OFF. > also, the RTE does not seem to occur on the real device, but maybe it is just swallowed... -- 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