Hi,

This happens mostly in cases when you try to access the object which is
not initialized.

Post the code snippet here to let everyone have deeper insights in the
problem.

Saurabh
http://blog.saurabhnarula.com/



On Fri, Oct 29, 2010 at 10:04 AM, nithya flex <[email protected]> wrote:

> Hi All
>
> Am using Flex4 and Mate framework to load Flex module. For this am using
> module manger load Modules dyanamicaly.  But here am getting following
> error.
>
> TypeError: Error #1009: Cannot access a property or method of a null object
> reference.
>     at
> mx.styles::StyleProtoChain$/initProtoChainForUIComponentStyleName()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\styles\StyleProtoChain.as:356]
>     at
> mx.styles::StyleProtoChain$/initProtoChain()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\styles\StyleProtoChain.as:171]
>     at mx.core::UIComponent/
> http://www.adobe.com/2006/flex/mx/internal::initProtoChain()[E<http://www.adobe.com/2006/flex/mx/internal::initProtoChain()%5BE>
> :\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:10186]
>     at
> mx.core::UIComponent/regenerateStyleCache()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:10249]
>
>
> it throws error in StyleProtoChain.as. Please suggest me why it is
> happening.
>
> same code works in flex3.5.
>
> Thanks,
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to