(apologies if this is a double post--I'm having e-mail problems) I'm getting the following stack trace when changing the layout of some charts:
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\LayoutManager.as:602] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x \frameworks\projects\framework\src\mx\managers\LayoutManager.as:675] 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] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() Line 262 in ChartLabel.as is the following: if(parent.rotation == 90 && parent is AxisRenderer) which, combined with the error, seems to imply that this ChartLabel has no parent (!), and I've confirmed this in the debugger. I searched through my code and I'm not creating any ChartLabels directly. Any ideas why this could be happening (I can't nail down a simple set of steps to this)? Any thoughts for workarounds? Thanks, Maciek