You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/12/16 04:08:08 UTC
[jira] [Resolved] (FLEX-33977) AIR mobile + flex sdk 4.10 + text
field setFocus runtime error
[ https://issues.apache.org/jira/browse/FLEX-33977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-33977.
----------------------------------
Resolution: Duplicate
> AIR mobile + flex sdk 4.10 + text field setFocus runtime error
> --------------------------------------------------------------
>
> Key: FLEX-33977
> URL: https://issues.apache.org/jira/browse/FLEX-33977
> Project: Apache Flex
> Issue Type: Bug
> Affects Versions: Apache Flex 4.10.0
> Reporter: Deyan Vitanov
>
> Inside setFocus method, this check throws Null pointer exception:
> if (stage.focus != this)
> because stage is null.
> Here is the full stack trace:
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
> at spark.components.supportClasses::StyleableTextField/setFocus()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as:1016]
> at Function/http://adobe.com/AS3/2006/builtin::apply()
> at mx.core::UIComponent/callLaterDispatcher2()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:12494]
> at mx.core::UIComponent/callLaterDispatcher()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:12432]
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)