Adobe Flex systemManager_removedHandler() Error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::HistoryManager$/unregister()
at mx.containers::ViewStack/private::systemManager_removedHandler()
at flash.display::DisplayObjectContainer/removeChild()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()
at mx.core::Container/removeChild()
at mx.modules::ModuleLoader/set url()
at mainscreenpage/loadmodules()
at tmscanvas::tmsside/__btnSearch0_click()
at [mouseEvent]
This occurs when you have used the components like accordion, viewstack and other such component of the same category.
Fortunantely, there is one solution to stop this bug. Add the following script to the main mxml of your application. Main mxml means the first mxml to load when you run the project.
import mx.managers.DragManager;
import mx.validators.DateValidator;
import mx.containers.TabNavigator;
private var dm:DragManager;
private var dv:DateValidator;
private var tn:TabNavigator;
That's it! Solved! But I hope Adobe would fix this problem on Flex.
















4 reactions for this post.:
Need 3 Flex engineers in New York City:
1. You have to be living in New York City for now.
2. Work part time or full time with us.
3. Good at Adobe Flex technology.
4. Please contact us for other requirement and details.
Busycode Inc. is a top Adobe Flex shop who develops Flex/AIR applications for clients.
For more info, please visit http://www.busycode.com
I'm living here in the Philippines. So I think I'll never be qualified.
Anyway, I hope other Adobe Flex developers will see your job posting here :)
try this.. it works
mx:TabNavigator creationPolicy="all"
thanks for the tip! anyway, does the error exists on Flex 3?
Post a Comment