royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: [Royale/Examples] Unable to Build DataBindingExample
Date Thu, 19 Oct 2017 18:42:50 GMT
I just tried it and didn't even get as far as Peter did.  I pushed a
change that got DataBindingExample to compile and run.  Hopefully Peter's
problem is related (looking in an old flex-config.xml)

-Alex

On 10/19/17, 11:34 AM, "Harbs" <harbs.lists@gmail.com> wrote:

>I have not tried today, but the last time I tried with ant, it worked as
>well.
>
>> On Oct 19, 2017, at 9:29 PM, Piotr Zarzycki <piotrzarzycki21@gmail.com>
>>wrote:
>> 
>> Hi Peter,
>> 
>> I just wanted to let you know that built of DataBindingExample by Maven
>>is
>> running without the problem - JS and SWF version. (Windows)
>> 
>> Piotr
>> 
>> 2017-10-19 20:20 GMT+02:00 Peter Ent <pent@adobe.com.invalid>:
>> 
>>> Hi,
>>> 
>>> After pulling the merge/changes on develop branches (royale-* repos), I
>>> built -compiler and -asjs without errors. Now I'm trying to build (ant)
>>> DataBindingExample and get the error(s) below. Not sure if I missed
>>> something or don't have an ENV var set (using macOS Sierra):
>>> 
>>> Thanks
>>> —peter
>>> 
>>>   [mxmlc] 110810 bytes written to /Users/pent/dev/royale-asjs/
>>> examples/royale/DataBindingExample/bin-debug/DataBindingExample.swf in
>>> 2.967 seconds
>>>    [mxmlc] /Users/pent/dev/royale-asjs/examples/royale/
>>> DataBindingExample/src/main/royale/DataBindingExample.mxml Internal
>>>error
>>> in syntax tree request subsystem, when generating code for:
>>> 
>>>/Users/pent/dev/royale-asjs/examples/royale/DataBindingExample/src/main/
>>> royale/DataBindingExample.mxml:
>>>java.lang.ArrayIndexOutOfBoundsException:
>>> 0
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> 
>>>MXMLCompilationUnit.handleSyntaxTreeRequest(MXMLCompilationUnit.java:89)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> 
>>>CompilationUnitBase.processSyntaxTreeRequest(CompilationUnitBase.java:83
>>>8)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase.access$100(CompilationUnitBase.java:108)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase$2$1.call(CompilationUnitBase.java:262)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase$2$1.call(CompilationUnitBase.java:258)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.requests.
>>> RequestMaker$1.call(RequestMaker.java:228)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.requests.
>>> RequestMaker$1.call(RequestMaker.java:222)
>>>    [mxmlc] at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>>    [mxmlc] at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1145)
>>>    [mxmlc] at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:615)
>>>    [mxmlc] at java.lang.Thread.run(Thread.java:745)
>>> 
>>>    [mxmlc]
>>>    [mxmlc]
>>>    [mxmlc]
>>>    [mxmlc] /Users/pent/dev/royale-asjs/examples/royale/
>>> DataBindingExample/src/main/royale/DataBindingExample.mxml Internal
>>>error
>>> in file scope builder subsystem, when generating code for:
>>> 
>>>/Users/pent/dev/royale-asjs/examples/royale/DataBindingExample/src/main/
>>> royale/DataBindingExample.mxml: java.lang.NullPointerException
>>>    [mxmlc] at org.apache.royale.compiler.internal.mxml.
>>> MXMLManifestManager.add(MXMLManifestManager.java:305)
>>>    [mxmlc] at org.apache.royale.compiler.internal.mxml.
>>> MXMLManifestManager.addManifest(MXMLManifestManager.java:262)
>>>    [mxmlc] at org.apache.royale.compiler.internal.mxml.
>>> MXMLManifestManager.<init>(MXMLManifestManager.java:91)
>>>    [mxmlc] at 
>>>org.apache.royale.compiler.internal.projects.RoyaleProject.
>>> getMXMLManifestManager(RoyaleProject.java:1192)
>>>    [mxmlc] at 
>>>org.apache.royale.compiler.internal.projects.RoyaleProject.
>>> resolveXMLNameToQualifiedName(RoyaleProject.java:1199)
>>>    [mxmlc] at org.apache.royale.compiler.internal.scopes.MXMLFileScope.
>>> resolveXMLNameToQualifiedName(MXMLFileScope.java:384)
>>>    [mxmlc] at org.apache.royale.compiler.internal.scopes.MXMLFileScope.
>>> resolveTagToQualifiedName(MXMLFileScope.java:374)
>>>    [mxmlc] at org.apache.royale.compiler.internal.scopes.MXMLFileScope.
>>> resolveTagToReference(MXMLFileScope.java:396)
>>>    [mxmlc] at org.apache.royale.compiler.internal.parsing.mxml.
>>> MXMLScopeBuilder.processRootTag(MXMLScopeBuilder.java:181)
>>>    [mxmlc] at org.apache.royale.compiler.internal.parsing.mxml.
>>> MXMLScopeBuilder.build(MXMLScopeBuilder.java:168)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> 
>>>MXMLCompilationUnit.handleFileScopeRequest(MXMLCompilationUnit.java:171)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> 
>>>CompilationUnitBase.processFileScopeRequest(CompilationUnitBase.java:863
>>>)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase.access$200(CompilationUnitBase.java:108)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase$3$1.call(CompilationUnitBase.java:287)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase$3$1.call(CompilationUnitBase.java:283)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.requests.
>>> RequestMaker$1.call(RequestMaker.java:228)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.requests.
>>> RequestMaker$1.call(RequestMaker.java:222)
>>>    [mxmlc] at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>>    [mxmlc] at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1145)
>>>    [mxmlc] at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:615)
>>>    [mxmlc] at java.lang.Thread.run(Thread.java:745)
>>>    [mxmlc]
>>>    [mxmlc]
>>>    [mxmlc]
>>>    [mxmlc] /Users/pent/dev/royale-asjs/examples/royale/
>>> DataBindingExample/src/main/royale/DataBindingExample.mxml Internal
>>>error
>>> in outgoing dependency subsystem, when generating code for:
>>> 
>>>/Users/pent/dev/royale-asjs/examples/royale/DataBindingExample/src/main/
>>> royale/DataBindingExample.mxml: java.lang.NullPointerException
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase.startParsingImports(CompilationUnitBase.java:909)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> MXMLCompilationUnit.handleOutgoingDependenciesRequ
>>> est(MXMLCompilationUnit.java:240)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase.processOutgoingDependenciesReq
>>> uest(CompilationUnitBase.java:891)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase.access$500(CompilationUnitBase.java:108)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase$6$1.call(CompilationUnitBase.java:387)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.
>>> CompilationUnitBase$6$1.call(CompilationUnitBase.java:383)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.requests.
>>> RequestMaker$1.call(RequestMaker.java:228)
>>>    [mxmlc] at org.apache.royale.compiler.internal.units.requests.
>>> RequestMaker$1.call(RequestMaker.java:222)
>>>    [mxmlc] at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>>    [mxmlc] at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1145)
>>>    [mxmlc] at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:615)
>>>    [mxmlc] at java.lang.Thread.run(Thread.java:745)
>>>    [mxmlc]
>>>    [mxmlc]
>>>    [mxmlc]
>>>    [mxmlc] 4.004507 seconds
>>> 
>>> BUILD FAILED
>>> /Users/pent/dev/royale-asjs/examples/build_example.xml:179: mxmlc task
>>> failed.
>>> 
>>> 
>> 
>> 
>> -- 
>> 
>> Piotr Zarzycki
>> 
>> mobile: +48 880 859 557
>> skype: zarzycki10
>> 
>> LinkedIn: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linke
>>din.com%2Fpiotrzarzycki&data=02%7C01%7C%7C3ef29cb04c894f9ab39b08d51720067
>>8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636440348674014435&sdata=m
>>V03k%2BP8WidPlZQvbQZEqdiZxvwbjMiFQ4m196xjDjg%3D&reserved=0
>> 
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpl.link
>>edin.com%2Fin%2Fpiotr-zarzycki-92a53552&data=02%7C01%7C%7C3ef29cb04c894f9
>>ab39b08d517200678%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364403486
>>74014435&sdata=xk%2FSCCh%2BZyHYx7qTQ5DtV%2Fo%2BD5st1XBFUaURFl1DOII%3D&res
>>erved=0>
>> 
>> GitHub: 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.c
>>om%2Fpiotrzarzycki21&data=02%7C01%7C%7C3ef29cb04c894f9ab39b08d517200678%7
>>Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636440348674014435&sdata=L4zn
>>jjxqpkU0DxOVMq8mvzeR9KcSwt32skdvV16j0Ls%3D&reserved=0
>

Mime
View raw message