I did a quick diff on the Ant and Maven SWFs. I first noticed another static global issue, but I don't think it is the reason that DataBindingExample doesn't run. FlexJSProject sets a static in MXMLClassDefinitionNode that changes the auto-generated ID pattern.
The only other difference I saw was that in the working SWF, the AddItems and SetProperty classes are defined sooner than in the non-working SWF. I'll ponder that tomorrow. -Alex On 6/21/16, 5:57 PM, "Alex Harui" <[email protected]> wrote: >I spent some time looking into this before I realized that the examples do >not have debugging information in them. How do we set -debug=true on the >examples (and maybe avoid any optimization passes as well)? I tried >adding <debug>true</debug> to the <configuration> but that didn't seem to >make a difference. > >Thanks, >-Alex > >On 6/21/16, 4:45 AM, "Christofer Dutz" <[email protected]> wrote: > >>Here the complete list of problems I'm having: >> >> >>ChartExample: >> >>VerifyError: Error #1032: Cpool index 0 is out of range 1847. >> >>at org.apache.flex.core::ContainerBase/addedToParent() >> >>at org.apache.flex.core::Application/addElement() >> >>at org.apache.flex.core::Application/initialize() >> >>at org.apache.flex.core::Application/initHandler() >> >> >>CordovaCameraExample: >> >>VerifyError: Error #1079: Native methods are not allowed in loaded code. >> >>(Airglobal is not in the library-path) >> >> >>CreateJSExample: >> >>- Seems to be working nicely >> >> >>DataBindingExample: >> >>TypeError: Error #1006: value is not a function. >> >>at MyInitialView() >> >>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLObject() >> >>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLProperties() >> >>at org.apache.flex.core::Application/generateMXMLAttributes() >> >>at DataBindingExample() >> >>DataBindingExample_as: >> >>TypeError: Error #1009: Cannot access a property or method of a null >>object reference. >> >>at org.apache.flex.html.beads::ContainerView/set strand() >> >>at org.apache.flex.core::UIBase/addBead() >> >>at org.apache.flex.core::UIBase/addedToParent() >> >>at org.apache.flex.core::ContainerBase/addedToParent() >> >>at org.apache.flex.core::UIBase/addElement() >> >>at org.apache.flex.core::ContainerBase/addElement() >> >>at MyInitialView/get MXMLDescriptor() >> >>at org.apache.flex.core::ContainerBase/addedToParent() >> >>at org.apache.flex.core::Application/addElement() >> >>at org.apache.flex.core::Application/initialize() >> >>at org.apache.flex.core::Application/initHandler() >> >>DataBindingExample_Flat: >> >>TypeError: Error #1006: value is not a function. >> >>at MyInitialView() >> >>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLObject() >> >>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLProperties() >> >>at org.apache.flex.core::Application/generateMXMLAttributes() >> >>at DataBindingExample() >> >>DataGridExample: >> >>- Seems to be working but looking a little strange >> >>DesktopMap: >> >>VerifyError: Error #1079: Native methods are not allowed in loaded code. >> >>(Airglobal is not in the library-path) >> >>FlexJSStore: >>Not building due to Ambiguous MouseEvent >> >>FlexJSStore_jquery: >>Not building due to Ambiguous MouseEvent >> >>FlexWebsiteStatsViewer: >>Not building due to Ambiguous MouseEvent >> >>HelloWorld: >>- Seems to be working nicely >> >>MapSearch: >>VerifyError: Error #1079: Native methods are not allowed in loaded code. >>(Airglobal is not in the library-path) >> >>MobileTrader: >>Not building due to >>Implicit coercion of a value with static type Event to a possibly >>unrelated type Event. >> >>StorageExample: >>Not building due to >>Ambiguous reference to IDataInput >> >>TodoListSampleApp: >>- Seems to be working but looking a little strange as the labels are all >>"[object Object]" >> >>TreeExample: >>- Seems to be working nicely >> >>So we're up to 5 Working examples ... this is 5 more than this morning >>:-) >> >>Just as an example I created a screenshot from the dependency graph for >>the FlexJSStore project: >>http://apaste.info/ReG >>[http://www.apache.org/images/asf_logo.gif]<http://apaste.info/ReG> >> >>Paste #ReG - Apache Paste Bucket<http://apaste.info/ReG> >>apaste.info >> >> >>Chris >> >> >> >>________________________________ >>Von: Christofer Dutz <[email protected]> >>Gesendet: Dienstag, 21. Juni 2016 12:50:55 >>An: [email protected] >>Betreff: AW: AW: [Falcon][FlexJS] Help with finishing the maven migration >> >>Ok so I had to add some more dependencies but now I'm getting an error >>that's not related to missing classes I guess: >> >> >>TypeError: Error #1006: value is not a function. >> >>at MyInitialView() >> >>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLObject() >> >>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLProperties() >> >>at org.apache.flex.core::Application/generateMXMLAttributes() >> >>at DataBindingExample() >> >> >>Any Idea on this one? >> >> >>Chris >> >>________________________________ >>Von: Christofer Dutz <[email protected]> >>Gesendet: Dienstag, 21. Juni 2016 12:44:18 >>An: [email protected] >>Betreff: AW: AW: [Falcon][FlexJS] Help with finishing the maven migration >> >>Thanks for that tip ... indeed it was the airglobal that was in the >>library-path. >> >>I moved that to the external library path and that error was replaced by >>another, but that's on I can handle ... I'll try to fix this and see how >>far I come [?] >> >> >>Chris >> >>________________________________ >>Von: piotrz <[email protected]> >>Gesendet: Dienstag, 21. Juni 2016 12:00:01 >>An: [email protected] >>Betreff: Re: AW: [Falcon][FlexJS] Help with finishing the maven migration >> >>Hi Chris, >> >>I think I got same error a while ago. Maybe comments will help from my >>jira >>[1] >> >>[1] https://issues.apache.org/jira/browse/FLEX-34892 >> >>Piotr >> >> >> >>----- >>Apache Flex PMC >>[email protected] >>-- >>View this message in context: >>http://apache-flex-development.2333347.n4.nabble.com/Falcon-FlexJS-Help-w >>i >>th-finishing-the-maven-migration-tp53482p53488.html >>Sent from the Apache Flex Development mailing list archive at Nabble.com. >
