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

[FalconJX] "Generated byte code contains an operand stack underflow." when creating <js:Tree> with <js:HierarchicalCollection> in MXML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.8.0
    • Apache FalconJX 0.8.0
    • None
    • None

    Description

      Code to reproduce:

      <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:js="library://ns.apache.org/flexjs/basic"
      xmlns:local="*">
      <js:valuesImpl>
      <js:SimpleCSSValuesImpl/>
      </js:valuesImpl>
      <js:initialView>
      <js:Tree id="tree" labelField="label">
      <js:dataProvider>
      <js:HierarchicalData>
      <js:source>
      <fx:Object>
      <fx:children>
      <fx:Object label="One"/>
      <fx:Object label="Two"/>
      <fx:Object label="Three"/>
      <fx:Object label="Four"/>
      <fx:Object label="Five"/>
      </fx:children>
      </fx:Object>
      </js:source>
      </js:HierarchicalData>
      </js:dataProvider>
      </js:Tree>
      </js:initialView>
      </js:Application>

      Result:

      Compilation fails with an error:

      Generated byte code contains an operand stack underflow.

      Attachments

        Activity

          People

            aharui Alex Harui
            joshtynjala Josh Tynjala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: