I'm having the following problem:

I've built a module (called Modulo1.swf) that contains a DataGrid 
and a couple of controls.
Then I made another module (called Modulo2.swf) that also contains a 
DataGrid and an Accordion.
Then I made a project called VisorModulos (ModuleViewer), it only 
load and unload this modules.
The error occurs after loading and unloading twice a module. It 
fails with the first module and also with the second, here is the 
link:

http://www.managernet.com.ar/modulos/VisorModulos.html 

To reproduce the error you must load and unload at least twice any 
module. In case of the first module, after loading for the second 
time, try using the DataGrid.

Right click to view source.

Any idea?



Trace error is: 

TypeError: Error #1009: No se puede acceder a una propiedad o a un 
método de una referencia a un objeto nulo.
        at mx.managers::HistoryManager$/register()
        at mx.containers::Accordion/::addedHandler()
        at flash.display::DisplayObjectContainer/addChildAt()
        at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$add
ChildAt()
        at mx.core::Container/addChildAt()
        at mx.core::Container/addChild()
        at mx.core::Container/createComponentFromDescriptor()
        at mx.core::Container/createComponentsFromDescriptors()
        at mx.core::Container/mx.core:Container::createChildren()
        at mx.core::UIComponent/initialize()
        at mx.core::Container/initialize()
        at Modulo2/initialize()
        at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::chil
dAdded()
        at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childA
dded()
        at mx.core::Container/addChildAt()
        at mx.core::Container/addChild()
        at mx.modules::ModuleLoader/::moduleReadyHandler()
        at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at ::ModuleInfoProxy/::moduleEventHandler()
        at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at ::ModuleInfo/readyHandler()
        at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.core::FlexModuleFactory/::update()










Reply via email to