I'm pretty sure I have everything up-to-date, but when I do:

ant -Dskip-tests=1 all


(which is successful), and then do:


ant


It works well until the following error.  Am I doing something wrong?  I 
thought it worked before.  (If I do "ant mxtests" or other tests, instead, 
those work.)


...

compile:
     [echo] Compiling FlexUnitRoyaleApplication.swf

...

[royaleunit]
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit]

...

main:
     [echo] swc-date is 01/18/22 17:56 -0600

test-js:
     [echo] swc-date is 01/18/22 17:57 -0600
   [delete] Deleting: 
c:\somewhere\royale-asjs\frameworks\js\projects\BasicJS\BasicJS.swc.properties

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

clean:

compile:
     [echo] Cross-compiling tests
     [echo] ROYALE_HOME: c:\somewhere\royale-asjs
     [echo] ROYALE_SWF_COMPILER_HOME: c:\somewhere\royale-asjs
     [echo] playerglobal.version: 11.1
Trying to override old definition of task compc
Trying to override old definition of task mxmlc
    [mxmlc] MXMLJSC
    [mxmlc] -compiler.targets=JSRoyale
    [mxmlc] -js-output=target
    [mxmlc] +playerglobal.version=11.1
    [mxmlc] 
+env.PLAYERGLOBAL_HOME=C:\apache-flex-sdk-4.16.1-bin\frameworks\libs\player
    [mxmlc] +royalelib=c:\somewhere\royale-asjs/frameworks/
    [mxmlc] --
    [mxmlc] 
c:\somewhere\royale-asjs\frameworks\js\projects\BasicJS\src\test\royale/../../../../../../projects/Basic/src/test/royale/FlexUnitRoyaleApplication.mxml
    [mxmlc] got null for string/typedstring.js
    [mxmlc] got null for string/const.js
    [mxmlc] got null for i18n/bidi.js
    [mxmlc] got null for html/trustedresourceurl.js
    [mxmlc] got null for fs/url.js
    [mxmlc] got null for html/safeurl.js
    [mxmlc] got null for html/safestyle.js
    [mxmlc] got null for html/safestylesheet.js
    [mxmlc] got null for html/safescript.js
    [mxmlc] got null for dom/tags.js
    [mxmlc] got null for dom/htmlelement.js
    [mxmlc] got null for dom/tagname.js
    [mxmlc] got null for html/safehtml.js
    [mxmlc] got null for html/uncheckedconversions.js
    [mxmlc] got null for useragent/product.js
    [mxmlc] got null for html/sanitizer/noclobber.js
    [mxmlc] got null for html/sanitizer/tagwhitelist.js
    [mxmlc] got null for html/sanitizer/tagblacklist.js
    [mxmlc] got null for debug/logrecord.js
    [mxmlc] got null for debug/logbuffer.js
    [mxmlc] got null for debug/logger.js
    [mxmlc] got null for log/log.js
    [mxmlc] got null for html/sanitizer/elementweakmap.js
    [mxmlc] got null for math/size.js
    [mxmlc] got null for math/math.js
    [mxmlc] got null for math/coordinate.js
    [mxmlc] got null for functions/functions.js
    [mxmlc] got null for dom/asserts.js
    [mxmlc] got null for dom/safe.js
    [mxmlc] got null for dom/browserfeature.js
    [mxmlc] got null for dom/dom.js
    [mxmlc] got null for html/sanitizer/safedomtreeprocessor.js
    [mxmlc] got null for html/cssspecificity.js
    [mxmlc] got null for html/sanitizer/csssanitizer.js
    [mxmlc] got null for html/sanitizer/attributewhitelist.js
    [mxmlc] got null for html/sanitizer/htmlsanitizer.js
    [mxmlc] 7.2524751 seconds
    [mxmlc] Internal error: java.lang.NullPointerException 
com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:184)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:603)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:447)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:264)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:221)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:256)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
    [mxmlc]
    [mxmlc]

BUILD FAILED

Reply via email to