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

Panel with ViewStack chart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.2 (Release)
    • None
    • MXML Components
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1.create a superPanel(extends panel)
      2.inside the superPanel there is a canvas mxml (lets call it 'ChartView')
      3.inside the ChartView I have one linkBar, and a ViewStack, the ViewStack have 2 canvas added, each canvas is a chart, each chart have it's own VaxisRenderer.

      The actual error is that when I click in the superpanel to move or just interact. the 2 charts enter in the 'updateDisplayList' in ChartLabel.as

      Actual Results:
      it is getting a nullpointer exception with the parent == null
      in the line 262 :
      ...
      if(parent.rotation == 90 && parent is AxisRenderer){
      ...

      Expected Results:
      should it have a parent validation?
      ...
      if(parent && parent.rotation == 90 && parent is AxisRenderer){
      ...

      ps.: the problem occurs in the second chart, like the chart in the view is the first one, the second that is hide is comming up with this error.

      ps2.: I dont know it this really a bug, or if it have already been fixed, but I an with a big problem about it.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: