PR #1146 fixes this.

On 8/13/2021 4:10 AM, Yishay Weiss wrote:
MX integration tests are still failing with a similar message. Note that his 
time it’s SetupListAndDataGridTest (not button test which passes).

Edward, do you think you can take a look?

I got the below message in my flash log

C:\Users\yisha\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt

After running

ant mxtests from royale-asjs

RESULT: 
scriptName=halo.scripts::ListAndDataGridTestScript&id=SetupListAndDataGridTest&result=fail&elapsed=11&phase=body&started=1628843604291&extraInfo=&msg=ArgumentError:
 Error #2024: An object cannot be added as a child of itself.^          at 
flash.display::DisplayObjectContainer/addChild()^    at 
org.apache.royale.core::UIBase/$sprite_addChild()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1584]^
 at 
org.apache.royale.core::UIBase/addElement()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1175]^
          at 
mx.controls.listClasses::ListBase/addElement()[/org/apache/royale/0.9.8/mx/controls/listClasses/ListBase.as:1032]^
         at 
org.apache.royale.html.beads::ContainerView/addViewport()[/org/apache/royale/0.9.8/org/apache/royale/html/beads/ContainerView.as:169]^
  at org.apache.royale.html.beads::ContainerView/set 
strand()[/org/apache/royale/0.9.8/org/apache/royale/html/beads/ContainerView.as:155]^
          at org.apache.royale.html.beads::DataContainerView/set 
strand()[/org/apache/royale/0.9.8/org/apache/royale/html/beads/DataContainerView.as:75]^
   at 
org.apache.royale.core::HTMLElementWrapper/addBead()[/org/apache/royale/0.9.8/org/apache/royale/core/HTMLElementWrapper.as:66]^
       at 
org.apache.royale.core::UIBase/addBead()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1148]^
     at 
global/org.apache.royale.utils::loadBeadFromValuesManager()[/org/apache/royale/0.9.8/org/apache/royale/utils/loadBeadFromValuesManager.as:55]^
           at 
org.apache.royale.core::UIBase/loadBeads()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1419]^
 at 
org.apache.royale.core::UIBase/addedToParent()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1402]^
    at 
mx.core::UIComponent/addedToParent()[/org/apache/royale/0.9.8/mx/core/UIComponent.as:2365]^
 at 
mx.controls.listClasses::ListBase/addedToParent()[/org/apache/royale/0.9.8/mx/controls/listClasses/ListBase.as:883]^
      at 
org.apache.royale.core::UIBase/addElement()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1178]^
          at 
mx.core::Container/addElement()[/org/apache/royale/0.9.8/mx/core/Container.as:1386]^
          at 
org.apache.royale.utils::MXMLDataInterpreter$/initializeStrandBasedObject()[/org/apache/royale/0.9.8/org/apache/royale/utils/MXMLDataInterpreter.as:307]^
   at 
org.apache.royale.utils::MXMLDataInterpreter$/generateMXMLArray()[/org/apache/royale/0.9.8/org/apache/royale/utils/MXMLDataInterpreter.as:157]^
           at 
org.apache.royale.utils::MXMLDataInterpreter$/generateMXMLInstances()[/org/apache/royale/0.9.8/org/apache/royale/utils/MXMLDataInterpreter.as:337]^
         at 
mx.core::UIComponent/createChildren()[/org/apache/royale/0.9.8/mx/core/UIComponent.as:4166]^
  at 
mx.core::Container/createChildren()[/org/apache/royale/0.9.8/mx/core/Container.as:1101]^
       at 
mx.core::UIComponent/initialize()[/org/apache/royale/0.9.8/mx/core/UIComponent.as:4112]^
   at 
mx.core::UIComponent/addedToParent()[/org/apache/royale/0.9.8/mx/core/UIComponent.as:2382]^
 at 
mx.core::Container/addedToParent()[/org/apache/royale/0.9.8/mx/core/Container.as:1089]^
     at 
mx.containers::Box/addedToParent()[/org/apache/royale/0.9.8/mx/containers/Box.as:229]^
        at 
org.apache.royale.core::UIBase/addElementAt()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1209]^
      at 
mx.core::Container/addElementAt()[/org/apache/royale/0.9.8/mx/core/Container.as:1398]^
       at 
org.apache.royale.core::StatesWithTransitionsImpl/apply()[/org/apache/royale/0.9.8/org/apache/royale/core/StatesWithTransitionsImpl.as:361]^
        at 
org.apache.royale.core::StatesWithTransitionsImpl/stateChangeHandler()[/org/apache/royale/0.9.8/org/apache/royale/core/StatesWithTransitionsImpl.as:162]^
   at flash.events::EventDispatcher/dispatchEventFunction()^   at 
flash.events::EventDispatcher/dispatchEvent()^  at 
org.apache.royale.core::UIBase/dispatchEvent()[/org/apache/royale/0.9.8/org/apache/royale/core/UIBase.as:1577]^
      at mx.core::UIComponent/set 
currentState()[/org/apache/royale/0.9.8/mx/core/UIComponent.as:3550]^           
at 
SetProperty/doStep()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/SetProperty.as:90]^
       at 
TestStep/execute()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/TestStep.as:75]^
  at 
SetProperty/execute()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/SetProperty.as:52]^
       at 
TestCase/runSteps()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/TestCase.as:443]^
          at 
TestCase/runBody()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/TestCase.as:318]^
          at 
TestCase/runSetup()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/TestCase.as:296]^
          at 
TestCase/runTest()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/TestCase.as:264]^
          at 
UnitTester/runTests()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/UnitTester.as:2113]^
     at 
UnitTester/startTests()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/UnitTester.as:2046]^
     at 
ScriptRunner/runScripts()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/ScriptRunner.as:41]^
     at 
UnitTester$/enterFrameHandler()[C:/dev/full_royale_sdk/royale-asjs/mustella/src/main/royale/UnitTester.as:1253]

Reply via email to