Adobe Flex systemManager_removedHandler() Error | BERRY BLOG | ON LIFE AND MONEY MAKING

Thursday, October 11, 2007

Adobe Flex systemManager_removedHandler() Error

Pin It
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

3 reactions for this post.:

Marilou / Lucky Cow Shop April 17, 2008 at 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 :)

Sandeep Gonivada August 6, 2008 at 6:55 AM  

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

Marilou / Lucky Cow Shop August 6, 2008 at 10:48 AM  

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


PageRank Checker Submit Your Site Free!

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP