royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com.INVALID>
Subject [Royale/Examples] Unable to Build DataBindingExample
Date Thu, 19 Oct 2017 18:20:33 GMT
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:838)
    [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.handleOutgoingDependenciesRequest(MXMLCompilationUnit.java:240)
    [mxmlc] at org.apache.royale.compiler.internal.units.CompilationUnitBase.processOutgoingDependenciesRequest(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.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message