[ https://issues.apache.org/jira/browse/FLEX-34321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neil Rackett updated FLEX-34321: -------------------------------- Description: 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 <s:TextInput> 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;` was: 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 using iOS 6 as follows: # Publish a Flex app to an iPhone or iPod touch # Tap on a <s:TextInput> 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;` > 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 > 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 <s:TextInput> 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)