[
https://issues.apache.org/jira/browse/FLEX-33987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848878#comment-13848878
]
Alexander Mazuruk commented on FLEX-33987:
------------------------------------------
That's the reason, we cannot migrate to 4.11 due to high level of monkey
patches. What are we trying to discuss here? It's obvious that focus manager
code is the root cause, if you'll try to force to fix something else, datagrid
editor, etc. This issue will come again as a new problem thrugh different
class, if datagrid editor can force it to fail, then all components including
very custom can do that.
I've added 4.11 sdk to this issue, because focus manager code causing this
issue is still there.
> 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)