[
https://issues.apache.org/jira/browse/FLEX-33987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846156#comment-13846156
]
Alexander Mazuruk commented on FLEX-33987:
------------------------------------------
We use standard grid editor class, as you can see there are no a single line of
code from our project in that stack.
Yes, all traces are the same. It's the way how standard grid editor setup the
focus, it's doing this nightmare in a private method, so can't be overridden
and broken.
> FocusManager NPE
> ----------------
>
> Key: FLEX-33987
> URL: https://issues.apache.org/jira/browse/FLEX-33987
> Project: Apache Flex
> Issue Type: Bug
> Affects Versions: Adobe Flex SDK 4.5.1 (Release), Apache Flex 4.11.0
> Reporter: Alexander Mazuruk
> Priority: Critical
>
> FocusManager Null pointer exception occurs.
> This:
> public function getNextFocusManagerComponent(
> backward:Boolean = false):IFocusManagerComponent
> {
> return getNextFocusManagerComponent2(backward,
> fauxFocus).displayObject as IFocusManagerComponent;
> }
> Must be rewritten as:
> public function getNextFocusManagerComponent(
> backward:Boolean = false):IFocusManagerComponent
> {
> const focusInfo:FocusInfo = getNextFocusManagerComponent2(backward,
> fauxFocus);
> return focusInfo ? focusInfo.displayObject as IFocusManagerComponent
> : null;
> }
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)