Thursday, October 11, 2007

Adobe Flex systemManager_removedHandler() Error



Adobe Flex hasn't still solved the problem on their 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.
Share/Save/Bookmark

4 reactions for this post.:

AndyChou April 16, 2008 5:31 PM  

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

Berryblitz April 17, 2008 3:18 PM  

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 :)

Deep August 6, 2008 6:55 AM  

try this.. it works
mx:TabNavigator creationPolicy="all"

Berryblitz August 6, 2008 10:48 AM  

thanks for the tip! anyway, does the error exists on Flex 3?


Recent Posts

Recent Comments

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP