It definitely seems like some kind of socket issue or an issue with the 
debugger loading the swfs.

I have the trust entries.

I locally modified the RoyaleUnitSocketThread class to continue on a 
<policy-file-request/> request.

That allowed it to run without an error, but the swf tests report no results 
(they all look like this):

    [mkdir] Created dir: 
/System/Volumes/Data/Apache/royale-asjs/frameworks/projects/Network/src/test/royale/out
[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit]    ROYALE_HOME: [/System/Volumes/Data/Apache/royale-asjs]
[royaleunit]    haltonfailure: [true]
[royaleunit]    headless: [false]
[royaleunit]    display: [99]
[royaleunit]    localTrusted: [true]
[royaleunit]    player: [flash]
[royaleunit]    port: [1024]
[royaleunit]    swf: 
[/System/Volumes/Data/Apache/royale-asjs/frameworks/projects/Network/src/test/royale/FlexUnitRoyaleApplication.swf]
[royaleunit]    timeout: [90000ms]
[royaleunit]    toDir: 
[/System/Volumes/Data/Apache/royale-asjs/frameworks/projects/Network/src/test/royale/out]
[royaleunit] Entry 
[/System/Volumes/Data/Apache/royale-asjs/frameworks/projects/Network/src/test/royale]
 already available in local trust file at 
[/Users/harbs/Library/Preferences/Macromedia/Flash 
Player/#Security/FlashPlayerTrust/royaleUnit.cfg].
[royaleunit] Setting up server process ...
[royaleunit] Starting server ...
[royaleunit] Executing 'open' with arguments:
[royaleunit] 
'/System/Volumes/Data/Apache/royale-asjs/frameworks/projects/Network/src/test/royale/FlexUnitRoyaleApplication.swf'
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Opening server socket on port [1024].
[royaleunit] Waiting for client connection ...
[royaleunit] Client connected.
[royaleunit] Setting inbound buffer size to [262144] bytes.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Closing client connection ...
[royaleunit] Closing server on port [1024] ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.000 sec
[royaleunit] 


> On Mar 16, 2023, at 9:28 PM, Josh Tynjala <joshtynj...@bowlerhat.dev> wrote:
> 
>> java -version
> openjdk version "11.0.17" 2022-10-18
> OpenJDK Runtime Environment Temurin-11.0.17+8 (build 11.0.17+8)
> OpenJDK 64-Bit Server VM Temurin-11.0.17+8 (build 11.0.17+8, mixed mode)
> 
>> ant -version
> Apache Ant(TM) version 1.10.12 compiled on October 13 2021
> 
> Flash Player.app (Flash Player Debugger) 32.0.0.465
> 
> macOS Ventura 13.2.1 (M1)
> 
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
> 
> 
> On Thu, Mar 16, 2023 at 12:06 PM Alex Harui <aha...@adobe.com.invalid>
> wrote:
> 
>> Josh, what version of Java and Ant and FlashPlayer are you using?
>> 
>> -Alex
>> 
>> On 3/16/23, 10:33 AM, "Josh Tynjala" <joshtynj...@bowlerhat.dev <mailto:
>> joshtynj...@bowlerhat.dev>> wrote:
>> 
>> 
>> EXTERNAL: Use caution when clicking on links or opening attachments.
>> 
>> 
>> 
>> 
>> The RoyaleUnit Ant task runs a socket server in Java that Flash Player
>> connects to (for JS, it runs a web socket server instead).
>> 
>> 
>> --
>> Josh Tynjala
>> Bowler Hat LLC <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2F&data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=B8%2F7B%2F8ejXv4OReitk%2BDM6QRAEG2azHXH4WfH7ah37w%3D&reserved=0>
>> <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2F&amp;data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=B8%2F7B%2F8ejXv4OReitk%2BDM6QRAEG2azHXH4WfH7ah37w%3D&amp;reserved=0&gt
>> ;>
>> 
>> 
>> 
>> 
>> On Thu, Mar 16, 2023 at 10:14 AM Alex Harui <aha...@adobe.com.inva
>> <mailto:aha...@adobe.com.inva>lid>
>> wrote:
>> 
>> 
>>> Does RoyaleUnit use a socket or access a server? What version of Java and
>>> Ant are you using?
>>> 
>>> On 3/16/23, 9:58 AM, "Harbs" <harbs.li...@gmail.com <mailto:
>> harbs.li...@gmail.com> <mailto:
>>> harbs.li...@gmail.com <mailto:harbs.li...@gmail.com>>> wrote:
>>> 
>>> 
>>> EXTERNAL: Use caution when clicking on links or opening attachments.
>>> 
>>> 
>>> 
>>> 
>>> That was actually a different computer and I don’t know if I ever got
>> that
>>> to work.
>>> 
>>> 
>>>> On Mar 16, 2023, at 6:10 PM, Josh Tynjala <joshtynj...@bowlerhat.dev
>> <mailto:joshtynj...@bowlerhat.dev>
>>> <mailto:joshtynj...@bowlerhat.dev <mailto:joshtynj...@bowlerhat.dev>>>
>> wrote:
>>>> 
>>>> It looks like you had the same issue a year ago when you initially got
>>> your
>>>> new Mac:
>>>> 
>>>> 
>>> 
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Fthread%2Fwxkvx2c00fjdktdd3ot55wfn04nfz463&data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QRMMDv%2FvuogBtKKTWQc0HGER2bC803iMSeMiKyRhmpY%3D&reserved=0
>> <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Fthread%2Fwxkvx2c00fjdktdd3ot55wfn04nfz463&amp;data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QRMMDv%2FvuogBtKKTWQc0HGER2bC803iMSeMiKyRhmpY%3D&amp;reserved=0
>>> 
>>> <
>>> 
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Fthread%2Fwxkvx2c00fjdktdd3ot55wfn04nfz463&data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QRMMDv%2FvuogBtKKTWQc0HGER2bC803iMSeMiKyRhmpY%3D&reserved=0
>> <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Fthread%2Fwxkvx2c00fjdktdd3ot55wfn04nfz463&amp;data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QRMMDv%2FvuogBtKKTWQc0HGER2bC803iMSeMiKyRhmpY%3D&amp;reserved=0
>>> 
>>>> 
>>>> 
>>>> --
>>>> Josh Tynjala
>>>> Bowler Hat LLC <
>>> 
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2F&data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=B8%2F7B%2F8ejXv4OReitk%2BDM6QRAEG2azHXH4WfH7ah37w%3D&reserved=0>
>> <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2F&amp;data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=B8%2F7B%2F8ejXv4OReitk%2BDM6QRAEG2azHXH4WfH7ah37w%3D&amp;reserved=0&gt
>> ;>
>>> <
>>> 
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2F&data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=B8%2F7B%2F8ejXv4OReitk%2BDM6QRAEG2azHXH4WfH7ah37w%3D&reserved=0
>> <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2F&amp;data=05%7C01%7Caharui%40adobe.com%7C7666c0f10dc14f6a3d7308db2644874f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638145847995199118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=B8%2F7B%2F8ejXv4OReitk%2BDM6QRAEG2azHXH4WfH7ah37w%3D&amp;reserved=0
>>> 
>>> ;>
>>>> 
>>>> 
>>>> On Thu, Mar 16, 2023 at 5:19 AM Harbs <harbs.li...@gmail.com <mailto:
>> harbs.li...@gmail.com> <mailto:
>>> harbs.li...@gmail.com <mailto:harbs.li...@gmail.com>>> wrote:
>>>> 
>>>>> I recently upgraded my MacBook Pro to Ventura.
>>>>> 
>>>>> When trying to compile Royale, I’m getting the following error. Any
>>> ideas
>>>>> what to do?
>>>>> 
>>>>> 
>>> 
>> /System/Volumes/Data/Apache/royale-asjs/frameworks/projects/Basic/src/test/royale/build.xml:102:
>>>>> java.util.concurrent.ExecutionException: command
>>> [<policy-file-request/>]
>>>>> not understood
>>>>> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>>>>> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>>>>> at org.apache.royale.test.ant.tasks.TestRun.run(TestRun.java:93)
>>>>> at
>>>>> 
>>> 
>> org.apache.royale.test.ant.tasks.RoyaleUnitTask.execute(RoyaleUnitTask.java:201)
>>>>> at
>>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
>>>>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>>>> at
>>>>> 
>>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>>>> at org.apache.tools.ant.Task.perform(Task.java:350)
>>>>> at org.apache.tools.ant.Target.execute(Target.java:449)
>>>>> at org.apache.tools.ant.Target.performTasks(Target.java:470)
>>>>> at
>>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
>>>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
>>>>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
>>>>> at
>>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
>>>>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>>>> at
>>>>> 
>>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>>>> at org.apache.tools.ant.Task.perform(Task.java:350)
>>>>> at org.apache.tools.ant.Target.execute(Target.java:449)
>>>>> at org.apache.tools.ant.Target.performTasks(Target.java:470)
>>>>> at
>>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
>>>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
>>>>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
>>>>> at
>>>>> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
>>>>> at
>>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
>>>>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>>>> at
>>>>> 
>>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>>>> at org.apache.tools.ant.Task.perform(Task.java:350)
>>>>> at org.apache.tools.ant.Target.execute(Target.java:449)
>>>>> at org.apache.tools.ant.Target.performTasks(Target.java:470)
>>>>> at
>>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
>>>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
>>>>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
>>>>> at
>>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
>>>>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>>>> at
>>>>> 
>>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>>>> at org.apache.tools.ant.Task.perform(Task.java:350)
>>>>> at org.apache.tools.ant.Target.execute(Target.java:449)
>>>>> at org.apache.tools.ant.Target.performTasks(Target.java:470)
>>>>> at
>>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
>>>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
>>>>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
>>>>> at
>>>>> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
>>>>> at
>>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
>>>>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>>>> at
>>>>> 
>>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>>>> at org.apache.tools.ant.Task.perform(Task.java:350)
>>>>> at org.apache.tools.ant.Target.execute(Target.java:449)
>>>>> at org.apache.tools.ant.Target.performTasks(Target.java:470)
>>>>> at
>>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
>>>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
>>>>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
>>>>> at
>>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
>>>>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>>>> at
>>>>> 
>>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>>>> at org.apache.tools.ant.Task.perform(Task.java:350)
>>>>> at org.apache.tools.ant.Target.execute(Target.java:449)
>>>>> at org.apache.tools.ant.Target.performTasks(Target.java:470)
>>>>> at
>>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
>>>>> at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
>>>>> at
>>>>> 
>>> 
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
>>>>> at org.apache.tools.ant.Main.runBuild(Main.java:818)
>>>>> at org.apache.tools.ant.Main.startAnt(Main.java:223)
>>>>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
>>>>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
>>>>> Caused by: command [<policy-file-request/>] not understood
>>>>> at
>>>>> 
>>> 
>> org.apache.royale.test.ant.RoyaleUnitSocketThread.parseInboundMessages(RoyaleUnitSocketThread.java:128)
>>>>> at
>>>>> 
>>> 
>> org.apache.royale.test.ant.RoyaleUnitSocketThread.call(RoyaleUnitSocketThread.java:66)
>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>>> at
>>>>> 
>>> 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>>>> at
>>>>> 
>>> 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>>>> at java.lang.Thread.run(Thread.java:748)
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> 

Reply via email to