1 Reply Latest reply on Nov 7, 2009 6:03 PM by Darrell Loverin

    A problem in Alert.show() in FlexSDK 11563

    William Robert

      Hello, I've got a problem with the Alert.show and the PopUpManager, every time an active method that ultilize these classes is displayed the following error:

       

      TypeError: Error #1009: Não é possível acessar uma propriedade ou um método de uma referência de objeto nula.
          at mx.managers::PopUpManagerImpl/http://www.adobe.com/2006/flex/mx/internal::createModalWindow()[E:\dev\trunk\frameworks\pr ojects\framework\src\mx\managers\PopUpManagerImpl.as:678]
          at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\trunk\frameworks\projects\framework\src\m x\managers\PopUpManagerImpl.as:393]
          at mx.managers::PopUpManager$/addPopUp()[E:\dev\trunk\frameworks\projects\framework\src\mx\m anagers\PopUpManager.as:189]
          at mx.controls::Alert$/show()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\Ale rt.as:620]
          at br.com.vpsa.view.screens.fiscal::CadastroCFOP/carregarCfop()[E:\WORKSPACES\FISCAL\fiscal\ flex_src\br\com\vpsa\view\screens\fiscal\As\CadastroCFOP.as:151]
          at br.com.vpsa.view.screens.fiscal::CadastroCFOP/___CadastroCFOP_Group1_creationComplete()[E :\WORKSPACES\FISCAL\fiscal\flex_src\br\com\vpsa\view\screens\fiscal\CadastroCFOP.mxml:6]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.core::UIComponent/dispatchEvent()[E:\dev\trunk\frameworks\projects\framework\src\mx\co re\UIComponent.as:11982]
          at mx.core::UIComponent/set initialized()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:1540]
          at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:759]
          at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\trunk\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1069]