The indication is that the object somehow got removed from the displaylist on 
the mouseDown.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
florian.salihovic
Sent: Wednesday, December 10, 2008 4:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] UIMovieClip shows nondeterministic behaviour


I have a pretty big application. The app uses various in Flash created 
components. Everything works fine untill some certain point, which varies from 
test to
test. At some point, my app crashes with a typeerror:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at 
mx.flash::UIMovieClip/removeFocusEventListeners()[E:\dev\trunk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:2466]
at 
mx.flash::UIMovieClip/focusOutHandler()[E:\dev\trunk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:2509]
at flash.display::Stage/set focus()
at 
mx.core::UIComponent/setFocus()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6797]
at 
mx.managers::FocusManager/setFocus()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:396]
at 
mx.managers::FocusManager/mouseDownHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:1388]

The stacktrace is not that helpfull to me... seems a similar problem like: 
http://bugs.adobe.com/jira/browse/SDK-13182

The error is not reproduceable/hard to reproduce, since it happens randomly 
when trying to remove some displayobjects...

Any infos or help would be appreciated!

Reply via email to