Hi,

Now rereading something I had read a while ago that Bjorn pointed out is
importing and creating a dependency should fix it.

import mx.managers.HistoryManager;

private var historyManagerDependency:HistoryManager;

Peace, Mike

On 2/1/07, zzwi89 <[EMAIL PROTECTED]> wrote:

  --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>,
"zzwi89" <[EMAIL PROTECTED]> wrote:
>
> There's an issue some people are having where including a TabNavigator
> in a Module causes a nasty error. A thread on Adobe's forums can be
> found here:
>
>

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid=1236404&highlight_key=y&keyword1=module
>
> In essence, loading the module with the TabNavigator can cause this
error:
>
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
> at
>
mx.managers::HistoryManager$/unregister
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\HistoryManager.as:127]
> at
>
mx.containers::ViewStack/mx.containers:ViewStack::commitProperties
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\containers\ViewStack.as:622]
> at
>
mx.containers::TabNavigator/mx.containers:TabNavigator::commitProperties
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\containers\TabNavigator.as:386]
> at
>
mx.core::UIComponent/validateProperties
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:5300]
> at
>
mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:517]
> at
>

mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:637]
> at Function/http://adobe.com/AS3/2006/builtin::apply()
> at
>
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7909]
> at
>
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7852]
>
> Has anyone experienced this and solved it?
>

Issue has been solved! See
http://tech.groups.yahoo.com/group/flexcoders/message/63448 for more
details.




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to