1 Reply Latest reply on Feb 12, 2009 6:42 AM by Cesare Rocchi

    <mx:PopUpButton causes error  in mx.effects::EffectManager

    nikos101 Level 2
      I added the following code to my project and am getting the following error:

      don't have much idea how to fix this :( please assist

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.effects::EffectManager$/ http://www.adobe.com/2006/flex/mx/internal::createEffectForType()[C:\autobuild\3.2.0\frame works\projects\framework\src\mx\effects\EffectManager.as:245
      at mx.effects::EffectManager$/createAndPlayEffect()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\effects\EffectManager.as:585]
      at mx.effects::EffectManager$/ http://www.adobe.com/2006/flex/mx/internal::eventHandler()[C:\autobuild\3.2.0\frameworks\p rojects\framework\src\mx\effects\EffectManager.as:575
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9298]
      at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as :1169]
      at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:718]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
      at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9298]
      at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as :1169]
      at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:718]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
      at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]