I took a quick look today.  I think there is an earlier issue that need to be 
resolved.  The BasicTests "app" has a width of 0, so you never see anything on 
screen.  Looks like that is due to some sizedToContent issues.  I'd recommend 
fixing that before looking at the stage-is-null issue.

The mxtests use states to add children.  So it is fair for the app to start at 
width 0, but as soon as the first test adds a child, it should invalidate that 
size and recalculate it.

Putting a Label in the app probably gives it size, but it is probably best to 
resolve the root issue.  If the stage is null, it means that the component is 
not in the Flash DOM.  It looks like that component is the ComboBox dropdown 
list, but if the app is clipping things so they can't be clicked on, then maybe 
the dropdown never got put in the DOM.

I might have time to look further this weekend, but I can't guarantee it.

HTH,
-Alex

On 11/2/21, 10:38 AM, "Yishay Weiss" <yish...@apache.org> wrote:

    fdb shows this line 

    =121                    var targets:Array = 
actualTarget.stage.getObjectsUnderPoint(stagePt);

    in DispatchMouseEvent fails because actualTarget.stage in null 
(actualTarget is ComboBoxList)

    This rings familiar, so if anyone has a recollection, please share. 
Otherwise, I'll continue to search the offending commit.

    On 2021/11/02 12:42:51, Yishay Weiss <yish...@apache.org> wrote: 
    > Could be the ChildResize merge (CI shows it started failing after that). 
I'll have a look.Thanks.
    > 
    > On 2021/11/02 05:26:09, Edward Stangler <estang...@bradmark.com> wrote: 
    > > Anyone else having problems with:  ant mxtests
    > > 
    > > Flash Debug Player comes up, but nothing happens.  It's a recent
    > > change;  it was working not too long ago.  Other tests run fine.
    > > 
    > > flashlog.txt:
    > > 
    > > TestCase Start: ComboBoxTestScript$SetupComboBoxTest
    > > RESULT:
    > > 
scriptName=halo.scripts::ComboBoxTestScript&id=SetupComboBoxTest&result=pass&elapsed=108&phase=body&started=1635825506757&extraInfo=&msg=
    > > TestCase Start: ComboBoxTestScript$ComboBoxTest1
    > > RESULT:
    > > 
scriptName=halo.scripts::ComboBoxTestScript&id=ComboBoxTest1&result=fail&elapsed=2&phase=body&started=1635825506894&extraInfo=null&msg=AssertPropertyValue(body:step
    > > 3)  haloComboBoxTests.testCombo.dropdown.visible false != true
    > > TestCase Start: ComboBoxTestScript$ComboBoxTest2
    > > runid.properties ERROR handler with: [SecurityErrorEvent
    > > type="securityError" bubbles=false cancelable=false eventPhase=2
    > > text="Error #2048: Security sandbox violation:
    > > 
file:///C|/somewhere/royale%2Dasjs/mustella/tests/mxtests/basicTests/BasicTests.swf
    > > cannot load data from
    > > http://localhost:80/runid.properties?0.94145911047235131635825506356.";]
    > > 
    > > 
    > > 
    > 

Reply via email to