When adding a chart to a canvas component, sometimes I recieve the 
following error. The "parent" value of the ChartLabel is null, and 
that causes the error stated below.

Anyone had a similar experience?

TypeError: Error #1009: Cannot access a property or method of a null 
object reference.
        at mx.charts.chartClasses::ChartLabel/updateDisplayList()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\
chartClasses\ChartLabel.as:262]
        at mx.core::UIComponent/validateDisplayList()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:6214]
        at mx.managers::LayoutManager/validateDisplayList()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:602]
        at mx.managers::LayoutManager/doPhasedInstantiation()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:657]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at mx.core::UIComponent/callLaterDispatcher2()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8460]
        at mx.core::UIComponent/callLaterDispatcher()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8403]


Reply via email to