Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-31696

RTE when dataprovider has items one more than total number of series in bar chart and one of the series in lineseries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Charts:PerItemLabel
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. have number of items in dataprovider one more than total number of series in bar chart and also have one series as line series
      2. or alternatively run bug file

      Actual Results:
      RTE with error
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.charts::BarChart/http://www.adobe.com/2006/flex/mx/internal::measureLabels()[C:\Work\depot\flex\dmv_automation\projects\datavisualisation\src\mx\charts\BarChart.as:661]
      at mx.charts.series::LineSeries/updateTransform()[C:\Work\depot\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\LineSeries.as:1166]
      at mx.charts.chartClasses::Series/validateTransform()[C:\Work\depot\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1484]
      at mx.charts.chartClasses::Series/updateDisplayList()[C:\Work\depot\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:826]
      at mx.charts.series::LineSeries/updateDisplayList()[C:\Work\depot\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\LineSeries.as:851]
      at mx.core::UIComponent/validateDisplayList()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:6096]
      at mx.managers::LayoutManager/validateDisplayList()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:600]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:655]
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8338]
      at mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8281]

      Expected Results:
      NO RTE and chart should get displayed

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: