3 Replies Latest reply on Feb 22, 2011 10:15 PM by Flex harUI

    FocusManager childhandler()  problem with flex4

    bspShankar

      Hi,

       

      The below error is my problem,,,,,,I am using Flex4 SDK

       

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
          at mx.managers::FocusManager/childHideHandler()[E:\dev\4.0.0\frameworks\projects\framework\s rc\mx\managers\FocusManager.as:1744]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]
          at mx.core::UIComponent/setVisible()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\ UIComponent.as:3038]
          at mx.core::UIComponent/set visible()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:2997]
          at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkinForPhase()[E:\dev\4.0.0\frameworks\pro jects\framework\src\mx\controls\Button.as:1953]
          at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkin()[E:\dev\4.0.0\frameworks\projects\fr amework\src\mx\controls\Button.as:1869]
          at mx.controls::Button/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx \controls\Button.as:1754]
          at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:8531]
          at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]
          at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:736]
          at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]

       

       

      I have done lot of work around & found that its adobe bug pls suggest me how to get rid of it....

       

      I did tabEnabled = true ;//but did not work

      used focusEnabled = false //but did not work

       

      Pls do suggest me some solution..................................................

       

       

      Thanks & Regards