You are viewing a plain text version of this content. The canonical link for it is here.
Posted to royale-builds@royale.apache.org by ap...@gmail.com on 2021/07/29 04:35:52 UTC

Build failed in Jenkins: royale-compiler-integration-tests #1809

See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1809/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/29/2021 04:34:06 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 29 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1809 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 17.550 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 2.123 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 22 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1809 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.779 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80127 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.714 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53603 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.270 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 58.581 sec

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Jenkins build is back to normal : royale-compiler-integration-tests #1872

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1872/display/redirect>


Build failed in Jenkins: royale-compiler-integration-tests #1871

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1871/display/redirect>

Changes:


------------------------------------------
[...truncated 139.33 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/17/2021 11:56:50 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 13 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1871 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 11.020 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.593 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 14 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1871 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.119 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.183 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.631 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.125 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 46 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1870

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1870/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/17/2021 07:47:34 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1870 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.227 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.514 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1870 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.041 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80198 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 18.999 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53683 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.273 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 65.592 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 27 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1869

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1869/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/17/2021 05:14:54 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 10 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1869 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.703 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.752 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1869 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.757 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80103 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 14.434 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.828 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 62.891 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1868

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1868/display/redirect>

Changes:


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/16/2021 02:48:18 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 42 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1868 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.226 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.671 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1868 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.985 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80125 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 6.344 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53739 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.050 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.186 sec

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1867

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1867/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/16/2021 05:12:24 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 47 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1867 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.436 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.506 seconds

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1867 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.337 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80125 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 6.516 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.542 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.416 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 11 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1866

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1866/display/redirect?page=changes>

Changes:

[yishayjobs] Revert "[maven-release-plugin] prepare for next development iteration"

[yishayjobs] Revert "[maven-release-plugin] prepare branch @{releaseLabel}"

[yishayjobs] [maven-release-plugin] prepare branch @{releaseLabel}

[yishayjobs] [maven-release-plugin] prepare for next development iteration


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/15/2021 02:49:29 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 11 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1866 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 18.293 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.666 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 22 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1866 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.655 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53701 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 5.264 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80198 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 4.493 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 54.003 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1865

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1865/display/redirect>

Changes:


------------------------------------------
[...truncated 140.31 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/15/2021 05:12:52 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 42 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1865 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 11.817 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.819 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1865 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.311 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.972 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80155 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.180 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.965 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1864

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1864/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/14/2021 08:09:35 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1864 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 17.718 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.775 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 21 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1864 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.953 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80198 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.738 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53741 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.218 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 48.915 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 4 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1863

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1863/display/redirect>

Changes:


------------------------------------------
[...truncated 140.95 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/14/2021 07:35:29 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 43 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1863 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.799 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.755 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1863 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.232 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 14.778 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53743 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.783 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 61.656 sec

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1862

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1862/display/redirect>

Changes:


------------------------------------------
[...truncated 139.92 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/14/2021 05:06:11 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1862 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 15.846 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.754 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 19 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1862 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.359 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.626 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80108 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.635 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 49.484 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 1 second
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1861

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1861/display/redirect>

Changes:


------------------------------------------
[...truncated 141.60 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/13/2021 02:48:20 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 45 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1861 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 16.800 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.575 seconds

BUILD SUCCESSFUL
Total time: 21 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1861 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.798 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80198 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 6.603 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.029 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 47.749 sec

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 5 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1860

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1860/display/redirect>

Changes:


------------------------------------------
[...truncated 140.34 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/13/2021 12:07:26 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 39 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1860 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.517 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.537 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1860 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.411 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53743 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 14.331 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80198 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.756 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.126 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 23 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1859

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1859/display/redirect>

Changes:


------------------------------------------
[...truncated 140.96 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/13/2021 07:45:05 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 50 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1859 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.895 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.961 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1859 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.743 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.856 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.928 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.336 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 14 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1858

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1858/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/13/2021 05:08:48 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 29 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1858 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 15.213 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 2.318 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 19 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1858 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.13 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 9.413 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80138 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.950 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 69.4 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 29 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1857

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1857/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/13/2021 02:11:52 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 48 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1857 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.799 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.753 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1857 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.804 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.509 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.943 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 54.215 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1856

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1856/display/redirect>

Changes:


------------------------------------------
[...truncated 141.60 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/12/2021 02:52:12 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 43 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1856 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 18.464 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.667 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 22 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1856 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.856 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 14.985 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.389 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 77.126 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 36 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1855

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1855/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/12/2021 04:39:03 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 11 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1855 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.803 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.582 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1855 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.42 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80204 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.553 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53680 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.350 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 48.629 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 59 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1854

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1854/display/redirect>

Changes:


------------------------------------------
[...truncated 141.60 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/11/2021 02:08:33 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 39 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1854 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 11.624 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.872 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1854 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.251 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80205 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.539 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53741 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.948 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.066 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 2 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1853

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1853/display/redirect>

Changes:


------------------------------------------
[...truncated 140.95 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/11/2021 06:56:35 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1853 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.987 seconds

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.593 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1853 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.307 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53741 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 6.866 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80204 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 1.679 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 55.056 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 12 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1852

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1852/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/11/2021 04:32:08 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 46 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1852 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.310 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.687 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1852 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.427 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53738 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.154 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80210 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.344 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.051 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 4 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1851

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1851/display/redirect>

Changes:


------------------------------------------
[...truncated 141.59 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/10/2021 02:13:12 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 2 minutes 45 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1851 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.982 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.559 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1851 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.12 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53743 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 8.079 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80204 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.212 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 81.377 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 41 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1850

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1850/display/redirect>

Changes:


------------------------------------------
[...truncated 140.96 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/10/2021 06:47:59 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 37 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1850 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 11.309 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.713 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 14 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1850 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.561 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53741 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.175 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80204 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 8.278 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 54.774 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 10 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1849

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1849/display/redirect>

Changes:


------------------------------------------
[...truncated 140.31 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/10/2021 04:27:51 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 27 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1849 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.927 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.569 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1849 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.879 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80204 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 16.157 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 5.470 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 62.936 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 23 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1848

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1848/display/redirect>

Changes:


------------------------------------------
[...truncated 141.60 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/09/2021 02:02:11 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 40 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1848 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 17.537 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.636 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 21 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1848 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.502 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.861 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80066 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.564 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 48.466 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 5 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1847

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1847/display/redirect>

Changes:


------------------------------------------
[...truncated 140.95 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/09/2021 06:48:18 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 36 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1847 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 11.231 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.811 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1847 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.522 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80155 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 4.617 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53719 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.102 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 49.54 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 1 second
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1846

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1846/display/redirect>

Changes:


------------------------------------------
[...truncated 140.31 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/09/2021 04:26:00 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 34 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1846 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 10.784 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.904 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1846 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.624 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80089 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.248 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.511 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 44.727 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 56 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1845

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1845/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/08/2021 05:35:43 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 42 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1845 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.989 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.850 seconds

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1845 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.311 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80081 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 12.389 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53761 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.208 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 58.499 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 13 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1844

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1844/display/redirect>

Changes:


------------------------------------------
[...truncated 140.96 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/08/2021 06:54:02 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1844 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.062 seconds

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.712 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1844 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.858 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80073 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 4.983 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53769 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.171 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.901 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 7 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1843

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1843/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/08/2021 04:29:37 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 33 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1843 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.057 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.666 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1843 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.406 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80143 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 8.159 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53749 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.968 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 56.303 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 11 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1842

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1842/display/redirect>

Changes:


------------------------------------------
[...truncated 141.59 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/07/2021 02:03:03 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 12 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1842 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.523 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.671 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1842 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.492 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53718 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.494 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80109 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 1.783 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.708 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 7 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1841

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1841/display/redirect>

Changes:


------------------------------------------
[...truncated 140.95 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/07/2021 06:55:36 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 35 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1841 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.757 seconds

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.969 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 19 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1841 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.624 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.424 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80179 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 1.942 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.142 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 3 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1840

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1840/display/redirect>

Changes:


------------------------------------------
[...truncated 140.31 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/07/2021 04:29:43 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1840 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.212 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.867 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1840 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.95 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53726 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 11.424 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80129 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.120 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 62.662 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1839

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1839/display/redirect>

Changes:


------------------------------------------
[...truncated 141.60 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/06/2021 02:06:21 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 38 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1839 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.520 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.531 seconds

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1839 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.634 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80101 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.465 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53760 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.152 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.124 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 3 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1838

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1838/display/redirect>

Changes:


------------------------------------------
[...truncated 140.96 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/06/2021 06:53:39 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 14 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1838 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 16.159 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.620 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 20 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1838 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.323 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53761 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.255 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80178 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.747 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 46.035 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 2 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1837

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1837/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/06/2021 04:32:24 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 8 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1837 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 11.244 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.751 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1837 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.518 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53718 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.859 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80180 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.199 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 49.882 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 3 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1836

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1836/display/redirect>

Changes:


------------------------------------------
[...truncated 140.95 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/05/2021 06:49:34 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 13 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1836 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 10.282 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.577 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 14 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1836 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.496 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80134 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.979 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53761 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.478 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 49.194 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 0 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1835

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1835/display/redirect>

Changes:


------------------------------------------
[...truncated 140.32 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/05/2021 04:27:43 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 13 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1835 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.421 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.544 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1835 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.506 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80179 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.029 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 53718 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.484 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 46.705 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 5 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1834

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1834/display/redirect?page=changes>

Changes:

[joshtynjala] JSRoyaleASDocEmitter: fix null exception on resolving parameter type

[joshtynjala] JSRoyaleASDocEmitter: similar null check for return type as for


------------------------------------------
[...truncated 141.60 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/04/2021 09:09:41 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 37 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1834 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.962 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.673 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1834 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.19 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80154 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 11.966 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.022 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 56.664 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 14 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1833

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1833/display/redirect>

Changes:


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/04/2021 02:12:09 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 35 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1833 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 16.171 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.630 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 19 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1833 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.954 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 8.086 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80195 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 6.254 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 59.146 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 12 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1832

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1832/display/redirect>

Changes:


------------------------------------------
[...truncated 140.63 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/04/2021 10:24:06 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 38 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1832 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.406 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.650 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1832 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.442 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80178 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.562 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53718 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.892 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 47.089 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 4 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1831

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1831/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/04/2021 06:41:14 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 23 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1831 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.430 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.588 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1831 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.345 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53741 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.402 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80179 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.141 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 45 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 0 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1830

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1830/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/04/2021 04:23:10 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 6 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1830 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.073 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.605 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1830 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.256 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53704 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.730 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80129 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.030 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 47.436 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 3 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1829

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1829/display/redirect>

Changes:


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/03/2021 02:01:02 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 20 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1829 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.190 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.630 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1829 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.84 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80173 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.122 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.510 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.156 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 4 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1828

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1828/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/03/2021 07:01:45 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 35 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1828 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.110 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.740 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1828 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.549 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80129 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.258 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53745 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.215 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.023 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 5 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1827

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1827/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/03/2021 04:37:58 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 25 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1827 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.210 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.874 seconds

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1827 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.369 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.194 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80063 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.264 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.125 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1826

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1826/display/redirect>

Changes:


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/02/2021 02:01:28 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 35 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1826 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.130 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.599 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1826 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.304 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53759 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.340 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80155 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.629 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.541 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 3 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1825

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1825/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/02/2021 06:45:35 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 11 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1825 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 16.485 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.653 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 19 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1825 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.397 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53664 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.433 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80134 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.688 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.565 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 7 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1824

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1824/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/02/2021 04:24:38 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 32 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1824 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.710 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.691 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1824 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.235 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80242 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 4.703 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53703 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.469 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.033 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 10 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1823

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1823/display/redirect>

Changes:


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/01/2021 02:00:47 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 13 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1823 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 13.706 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.614 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1823 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.37 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80072 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 4.012 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53620 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.909 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.754 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 4 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1822

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1822/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/01/2021 06:47:59 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 32 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1822 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.446 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.716 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1822 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.328 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80155 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 4.583 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.377 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.356 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 1 second
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1821

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1821/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 08/01/2021 04:27:46 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 28 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1821 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.778 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.650 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1821 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.153 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80155 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.906 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53717 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.663 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.101 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 5 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1820

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1820/display/redirect>

Changes:


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/31/2021 02:00:12 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 22 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1820 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.896 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.481 seconds

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1820 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.352 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 4.261 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53739 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.435 seconds
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 48.438 sec
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 4 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1819

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1819/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/31/2021 06:51:15 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 37 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1819 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.200 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.570 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1819 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.713 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.653 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53709 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.885 seconds
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 46.902 sec
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 0 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1818

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1818/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/31/2021 04:28:27 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 21 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1818 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.336 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.863 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1818 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.866 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.455 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80149 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.578 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.203 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 3 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1817

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1817/display/redirect>

Changes:


------------------------------------------
[...truncated 141.58 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/30/2021 02:20:23 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 19 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1817 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 21.945 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 2.023 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 26 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1817 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.843 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80149 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 3.976 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53766 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.445 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 63.519 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 23 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1816

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1816/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/30/2021 07:13:55 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 45 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1816 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299464 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 19.682 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.853 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 24 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1816 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.648 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80198 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.886 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53742 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.629 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 66.654 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 26 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1815

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1815/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/30/2021 04:37:06 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 37 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1815 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 19.795 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 2.139 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 23 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1815 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.539 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80199 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 5.645 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53767 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.813 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 59.025 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1814

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1814/display/redirect>

Changes:


------------------------------------------
[...truncated 141.00 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/30/2021 12:08:50 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 20 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1814 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 22.243 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.800 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 26 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1814 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.36 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53766 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.708 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80198 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.240 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 62.596 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 21 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1813

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1813/display/redirect>

Changes:


------------------------------------------
[...truncated 140.31 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/29/2021 09:42:04 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1813 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 12.495 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5222 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.738 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1813 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.237 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53596 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 2.318 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80066 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.747 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 56.629 sec

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1812

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1812/display/redirect>

Changes:


------------------------------------------
[...truncated 140.31 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/29/2021 06:26:28 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 12 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1812 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299463 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.643 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5220 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.789 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1812 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.479 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53565 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 4.447 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80319 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.854 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.575 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 8 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1811

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1811/display/redirect>

Changes:


------------------------------------------
[...truncated 140.30 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/29/2021 03:27:23 PM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 31 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1811 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 14.457 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.630 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 18 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1811 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.689 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 80058 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.577 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] 
    [junit] 53603 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 1.533 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.476 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 11 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Build failed in Jenkins: royale-compiler-integration-tests #1810

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/1810/display/redirect>

Changes:


------------------------------------------
[...truncated 140.94 KB...]
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler.jar>

set.royale.asc.jar.uptodate:

royale.asc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-asc.jar>

set.royale.mxmlc.jar.uptodate:

royale.mxmlc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

main:
     [echo] compiler main completed on 07/29/2021 07:08:31 AM

compiler.jx:

prebuild:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes/META-INF>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] Compiling 22 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/royale-ant-tasks/target/classes/META-INF>
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compiler-royaleTasks.jar>

jar:

BUILD SUCCESSFUL
Total time: 1 minute 46 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1810 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 299465 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 17.330 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [copy] Copying 1 file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target>
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5221 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 1.835 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 21 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=1810 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/results>
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.745 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] 
    [junit] 53577 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again_Flash.swf> in 3.652 seconds
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again_Flash.mxml(25)>: col: 59 Error: Access of possibly undefined property scrollRect.
    [junit] 
    [junit] 				   initialize="MyModel(model).labelText='Hello World'; scrollRect = null"
    [junit] 				                                                      ^
    [junit] 
    [junit] 
    [junit] 80047 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/junit-temp/bin-debug/RoyaleTest_again.swf> in 2.010 seconds
    [junit] got null for deps.js
    [junit] got null for null
    [junit] 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:591)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication.testRoyaleMainFileDual(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)org.junit.runners.ParentRunner.run(ParentRunner.java:300)junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1014)
    [junit] 
    [junit] 
    [junit] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 57.562 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:805: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 1 minute 21 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results