1 Reply Latest reply on Jun 5, 2011 11:57 PM by Flex harUI

    Focusmanager Error TypeError: Error #1009: Cannot access a property or method of a null object refer

    Flex Rock Level 1

      Hi,

               I am using Flashbuilder4 with SDK 4.1. We have transited Flex3 project to Flash4. In flex3 it worked fine. But in flash builder 4 i am getting an error like this when i try to load a video buy clicking a button from titlewindow.

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
          at mx.managers::FocusManager/childHideHandler()[E:\dev\4.x\frameworks\projects\framework\src \mx\managers\FocusManager.as:1759]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.flash::UIMovieClip/setVisible()[E:\dev\4.x\frameworks\projects\flash-integration\src\m x\flash\UIMovieClip.as:4358]
          at mx.flash::UIMovieClip/set visible()[E:\dev\4.x\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:22 85]
          at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkinForPhase()[E:\dev\4.x\frameworks\proje cts\framework\src\mx\controls\Button.as:1975]
          at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkin()[E:\dev\4.x\frameworks\projects\fram ework\src\mx\controls\Button.as:1885]
          at mx.controls::Button/updateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\mx\c ontrols\Button.as:1770]
          at mx.core::UIComponent/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\m x\core\UIComponent.as:8709]
          at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework \src\mx\managers\LayoutManager.as:663]
          at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:736]
          at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]

       

      Regards,

      Jayagopal.