Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile and run attached MXML file using Gumbo (or view the attached SWF)
Actual Results:
[RTE]
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::ToolTipManagerImpl()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\ToolTipManagerImpl.as:102]
at mx.managers::ToolTipManagerImpl$/getInstance()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\ToolTipManagerImpl.as:79]
at mx.core::Singleton$/getInstance()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Singleton.as:113]
at mx.managers::ToolTipManager$/get impl()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\ToolTipManager.as:65]
at mx.managers::ToolTipManager$/http://www.adobe.com/2006/flex/mx/internal::registerToolTip()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\ToolTipManager.as:323]
at mx.core::UIComponent/set toolTip()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:4627]
at Gumbo_TextInput_ToolTipManager_test/_Gumbo_TextInput_ToolTipManager_test_TextInput1_i()[C:\Documents and Settings\pdehaan\My Documents\Flex Builder 3 FXG 3\Gumbo_TextInput_ToolTipManager_test\src\Gumbo_TextInput_ToolTipManager_test.mxml:5]
at Gumbo_TextInput_ToolTipManager_test()[C:\Documents and Settings\pdehaan\My Documents\Flex Builder 3 FXG 3\Gumbo_TextInput_ToolTipManager_test\src\Gumbo_TextInput_ToolTipManager_test.mxml:3]
at _Gumbo_TextInput_ToolTipManager_test_mx_managers_SystemManager/create()
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:3097]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2973]
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/deferredNextFrame()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:319]
at mx.managers::SystemManager/preloader_initProgressHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2854]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\preloaders\Preloader.as:398]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
[/RTE]
Expected Results:
No RTE.
Workaround (if any):
Set the toolTip/errorString property using ActionScript:
<mx:TextInput id="textInput1"
creationComplete="textInput1.toolTip = Capabilities.version;" />