Error 1009 Problem with yahoo components

I am using the Yahoo ASTRA menu bar. I have two dataProviders:


var initialMenu:XML = 
<menus>
<menu label="File                    ">
	<menuitem label="New Client" />
	<menuitem label="New Admin" />
	<menuitem label="Close" />
</menu>
</menus>;

var clientSelectedMenu:XML = 
<menus>
<menu label="File                    ">
	<menuitem label="New Project" />
	<menuitem label="Close Client" />
	<menuitem label="Close" />
</menu>
</menus>;

When I open a client I change my dataProvider to ‘clientSelectedMenu’ and it works fine. When I select “Close Client” I set my dataProvider back to ‘initialMenu’

and I get this error:


TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at com.yahoo.astra.fl.controls::Menu/hide()
	at com.yahoo.astra.fl.controls::Menu/com.yahoo.astra.fl.controls:Menu::hideAllMenus()
	at com.yahoo.astra.fl.controls::Menu/com.yahoo.astra.fl.controls:Menu::handleCellRendererClick()

The funny thing is, the menu still works the way it should and has the correct menu items in it. It just keeps throwing that error after I set the dataProvider the third time.