I've got the same error and cant determine why.

It seems it has to with this line in the DragManager;
private static var impl:IDragManager =
Singleton
.getInstance("mx.managers::IDragManager") as IDragManager;

From what i can see FlexModuleFactory.docFrameHandler() is never getting called from within the most recently loaded module



On 10/01/2007, at 10:16 AM, javanatic23 wrote:

After some test:
- The application broke my browser (firefox 2.0.0.1, debug player
9,0,15,0 installed )
- I got this error:
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::DragManager$/get isDragging()
at
mx.controls.listClasses::ListBase/ mx.controls.listClasses:ListBase::dragScroll()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at ()
at flash.utils::SetIntervalTimer/ flash.utils:SetIntervalTimer::onTimer()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()

--- In flexcoders@yahoogroups.com, "fliabrussa" <[EMAIL PROTECTED]> wrote:
>
> 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