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 71AE01194B for ; Fri, 16 May 2014 16:08:40 +0000 (UTC) Received: (qmail 44784 invoked by uid 500); 16 May 2014 15:43:24 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 40524 invoked by uid 500); 16 May 2014 15:43:21 -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 67315 invoked by uid 99); 16 May 2014 15:34:30 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 15:34:30 +0000 Date: Fri, 16 May 2014 15:34:30 +0000 (UTC) From: "Maurice Amsellem (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-34321) Null object reference in ScrollableStageText.endTextEdit() 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-34321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999892#comment-13999892 ] Maurice Amsellem commented on FLEX-34321: ----------------------------------------- thanks for submitting and the quick fix > Null object reference in ScrollableStageText.endTextEdit() > ---------------------------------------------------------- > > Key: FLEX-34321 > URL: https://issues.apache.org/jira/browse/FLEX-34321 > Project: Apache Flex > Issue Type: Bug > Components: Mobile: Text > Affects Versions: Apache Flex 4.12.1 > Environment: iOS > Reporter: Neil Rackett > Assignee: Maurice Amsellem > Labels: stagetext > Fix For: Apache Flex 4.12.1 > > > Using the current release version of Apache Flex 4.12.1, you can consistently recreate this issue and crash an iPhone or iPod touch app on iOS 6 as follows: > # Publish a Flex app to an iPhone or iPod touch > # Tap on a component, the keyboard will appear > # Tap anywhere outside of the component to remove focus and you will receive the following error: > TypeError: Error #1009: Cannot access a property or method of a null object reference. > at spark.components.supportClasses::ScrollableStageText/endTextEdit()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as:1958] > at Function/http://adobe.com/AS3/2006/builtin::apply() > at mx.core::UIComponent/callLaterDispatcher2()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/core/UIComponent.as:12764] > at mx.core::UIComponent/callLaterDispatcher()[/Users/aharui/flex-sdk-4.12.1/frameworks/projects/framework/src/mx/core/UIComponent.as:12702] > Quick fix: > # Update line 1958 of ScrollableStageText class to `if (!!proxy) proxy.visible = true;` -- This message was sent by Atlassian JIRA (v6.2#6252)