2 Replies Latest reply on May 31, 2010 11:46 AM by UXbyAng

    Flex 4 - Problem Displaying PieChart working in Flex 3

    matn1 Level 1

      Hi - I get the following error in PieSeries.as, but it works fine in Flex 3

      Any Ideas?

       

      inst.setActualSize(unscaledWidth,unscaledHeight);

      It hits line 1403 above, but inst is null

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
          at mx.charts.series::PieSeries/updateDisplayList()[E:\dev\4.x\frameworks\projects\datavisual ization\src\mx\charts\series\PieSeries.as:1403]
          at mx.core::UIComponent/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\m x\core\UIComponent.as:8709]
          at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework \src\mx\managers\LayoutManager.as:663]
          at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:718]
          at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]