Monday, March 22, 2010

TypeError: Error #1009: Cannot access a...

Hi All,

聽聽聽聽 I am getting the following error

TypeError: Error #1009: Cannot access a property or method of a null object reference.
聽聽聽 at mx.charts.chartClasses::ChartLabel/updateDisplayList()[C:\work\flex\dmv_automat ion\projects\datavisualisation\src\mx\charts\chartClasses\ChartLabel.as:262]
聽聽聽 at mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\UIComponent.as:6351]
聽聽聽 at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\ projects\framework\src\mx\managers\LayoutManager.as:622]
聽聽聽 at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework s\projects\framework\src\mx\managers\LayoutManager.as:695]
聽聽聽 at Function/http://adobe.com/AS3/2006/builtin::apply()
聽聽聽 at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\core\UIComponent.as:8628]
聽聽聽 at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\UIComponent.as:8568]

When I google I understand that its a Bug in Flex 3.can anybody let me know if any work around.

Regards

Kalavati Singh

kalavati_singh@yahoo.co.in

TypeError: Error #1009: Cannot access a...

Have you checked to verify the data is right? this error is because the property is null.. has no data or has not been initalized.

try to inialize your components on creation.

TypeError: Error #1009: Cannot access a...

Hello,

聽聽聽聽 i think this is due to BUG in Flex 3.0.Here are the details with wrap around

https://bugs.adobe.com/jira/browse/FLEXDMV-1695

Regards

Kalavati Singh


Kalavati,

have you tried the suggested work-around in that bug report eg don't set the axis title property? If you have tried this and the problem persists, chances are it is a different issue.

If it is this bug, then the report says it's fixed at a particular version number so presumably SDK downloads from after that time will be OK.

Richard

No comments:

Post a Comment