Mihai Chira created FLEX-34188:
----------------------------------
Summary: RTE in ToolTipManagerImpl after focus set, grid cleared
and then removed from stage.
Key: FLEX-34188
URL: https://issues.apache.org/jira/browse/FLEX-34188
Project: Apache Flex
Issue Type: Bug
Components: Focus Manager, Tooltip Manager
Affects Versions: Apache Flex 4.11.0
Reporter: Mihai Chira
Fix For: Apache Flex 4.13.0
Attachments: _ToolTipManager1009.fxp
Steps to reproduce:
1. Run the attached AIR project
2. Move your mouse over one of the item renderers in the second row (and don't
move it for a bit)
Current behaviour: the RTE below.
Expected behaviour: a tooltip should appear next to the renderer.
NOTES:
-this is most likely caused by FLEX-34187.
-just like in FLEX-34187, we can reproduce this no matter to whom we give focus
before removing the grid.
-in our application this is causing many similar runtime errors when
transitioning from complex views which contain DataGrids.
-UIFTETextField (the default renderer) seems to be the only component left
whose systemManager value depends on whether it's on stage or not. If the
effects range beyond interfering with ToolTipManager, maybe we can make it
implement a caching method similar to UIComponent?
RTE:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::createTip()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as:947]
at
mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::showTimer_timerHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as:1634]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
--
This message was sent by Atlassian JIRA
(v6.2#6252)