See 
<https://builds.apache.org/job/POI-DSL-API-Check/115/display/redirect?page=changes>

Changes:

[gwoolsey] Bug 60898 - XSSFColor's getARGB() method returns a wrong color value 
when a workbook has a custom indexed color

Missed this test.  As part of the work I noticed the Enum was missing some 
values defined in the OOXML spec, so I added them.

I've updated the test to reflect that those values are no longer invalid.

[gwoolsey] Bug 60898 - XSSFColor's getARGB() method returns a wrong color value 
when a workbook has a custom indexed color

teach XSSFColor and most things that create instances about indexed colors.

Null is a valid value for IndexedColorMap instances - the existing built-in 
default colors are used.

Whenever a workbook style is accessible in the call hierarchy its color 
mappings are passed down now.

Thanks for the unit test in the issue, it now passes.

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content 
LANG=en_US.UTF-8

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace 
<https://builds.apache.org/job/POI-DSL-API-Check/ws/>
Updating https://svn.apache.org/repos/asf/poi/trunk at revision 
'2017-05-26T23:43:10.172 +0000'
AU        test-data/spreadsheet/customIndexedColors.xlsx
U         
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCellStyle.java
U         src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java
U         
src/ooxml/testcases/org/apache/poi/xssf/usermodel/extensions/TestXSSFCellFill.java
U         src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFColor.java
U         src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTableStyle.java
U         
src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.java
U         
src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java
AU        
src/ooxml/java/org/apache/poi/xssf/usermodel/DefaultIndexedColorMap.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
AU        src/ooxml/java/org/apache/poi/xssf/usermodel/IndexedColorMap.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDxfStyleProvider.java
U         
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColorScaleFormatting.java
U         
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormattingRule.java
AU        
src/ooxml/java/org/apache/poi/xssf/usermodel/CustomIndexedColorMap.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java
U         src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFont.java
U         
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java
U         
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataBarFormatting.java
U         src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java
U         src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java
U         src/testcases/org/apache/poi/ss/usermodel/TestIndexedColors.java
U         src/java/org/apache/poi/hssf/usermodel/HSSFExtendedColor.java
U         src/java/org/apache/poi/ss/usermodel/IndexedColors.java
U         src/java/org/apache/poi/ss/usermodel/ExtendedColor.java
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 
into '<https://builds.apache.org/job/POI-DSL-API-Check/ws/src/documentation'>
At revision 1796360

Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 
into '<https://builds.apache.org/job/POI-DSL-API-Check/ws/forrest.properties'>
At revision 1796360

At revision 1796360

No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation 
since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties 
since the previous build
[POI-DSL-API-Check] $ /bin/bash -xe /tmp/hudson7872664789644104179.sh
+ svn status
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest1.7
Java-Home: /home/jenkins/tools/java/latest1.7
+ ls -al /home/jenkins/tools/java/latest1.7/
total 19808
drwxr-xr-x  8 root root     4096 Oct  7  2016 .
drwxr-xr-x 25 root root     4096 Feb 12 07:24 ..
drwxr-xr-x  2 root root     4096 Oct  7  2016 bin
-r--r--r--  1 root root     3339 Apr 11  2015 COPYRIGHT
drwxr-xr-x  4 root root     4096 Oct  7  2016 db
drwxr-xr-x  3 root root     4096 Oct  7  2016 include
drwxr-xr-x  5 root root     4096 Oct  7  2016 jre
drwxr-xr-x  5 root root     4096 Oct  7  2016 lib
-r--r--r--  1 root root       40 Apr 11  2015 LICENSE
drwxr-xr-x  4 root root     4096 Oct  7  2016 man
-r--r--r--  1 root root      114 Apr 11  2015 README.html
-rw-r--r--  1 root root      499 Apr 11  2015 release
-rw-r--r--  1 root root 19947513 Apr 11  2015 src.zip
-rw-r--r--  1 root root   110114 Mar 16  2015 THIRDPARTYLICENSEREADME-JAVAFX.txt
-r--r--r--  1 root root   173571 Apr 11  2015 THIRDPARTYLICENSEREADME.txt
+ exit 0
[Gradle] - Launching build.
[POI-DSL-API-Check] $ gradle japicmp
:main:compileJavawarning: [options] bootstrap class path not set in conjunction 
with -source 1.6
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
<https://builds.apache.org/job/POI-DSL-API-Check/ws/src/java/org/apache/poi/hpsf/CustomProperties.java>
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

:main:processResources UP-TO-DATE
:main:classes
:main:jar
:ooxml:ant-check-jars
:ooxml:ant-fetch-jars
:ooxml:ant-check-ooxml-jars
:ooxml:ant-fetch-ooxml-jars
:ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 
from ${ant.home}, Ant detected Java 1.7 (may be different than actual Java 
sometimes...)
[ant:echo] Using Java: 1.7.0_80/1.7.0_80-b15/24.80-b11/Java HotSpot(TM) 64-Bit 
Server VM from Oracle Corporation on Linux: 3.19.0-25-generic
[ant:echo] Using Findbugs: 3.0.1 for Java 1.7.0_80
:ooxml:ant-check-ooxml-xsds
:ooxml:ant-fetch-ooxml-xsds
:ooxml:ant-check-compiled-ooxml-xsds
:ooxml:ant-compile-ooxml-xsds
Time to build schema type system: 3.362 seconds
Time to generate code: 5.184 seconds
[ant:javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.6
[ant:javac] 
[ant:javac] 
[ant:javac] The system is out of resources.
[ant:javac] Consult the following stack trace for details.
[ant:javac] java.lang.OutOfMemoryError: Java heap space
[ant:javac]     at 
com.sun.tools.javac.comp.MemberEnter.initEnv(MemberEnter.java:677)
[ant:javac]     at 
com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:655)
[ant:javac]     at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:725)
[ant:javac]     at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)
[ant:javac]     at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:413)
[ant:javac]     at 
com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:423)
[ant:javac]     at 
com.sun.tools.javac.comp.MemberEnter.finish(MemberEnter.java:1066)
[ant:javac]     at 
com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:1026)
[ant:javac]     at com.sun.tools.javac.code.Symbol.complete(Symbol.java:421)
[ant:javac]     at 
com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:821)
[ant:javac]     at com.sun.tools.javac.comp.Enter.complete(Enter.java:491)
[ant:javac]     at com.sun.tools.javac.comp.Enter.main(Enter.java:469)
[ant:javac]     at 
com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:929)
[ant:javac]     at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.enterTrees(JavacProcessingEnvironment.java:1008)
[ant:javac]     at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:894)
[ant:javac]     at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:913)
[ant:javac]     at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1174)
[ant:javac]     at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108)
[ant:javac]     at 
com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
[ant:javac]     at com.sun.tools.javac.main.Main.compile(Main.java:439)
[ant:javac]     at com.sun.tools.javac.main.Main.compile(Main.java:353)
[ant:javac]     at com.sun.tools.javac.main.Main.compile(Main.java:342)
[ant:javac]     at com.sun.tools.javac.main.Main.compile(Main.java:333)
[ant:javac]     at com.sun.tools.javac.Main.compile(Main.java:76)
[ant:javac]     at com.sun.tools.javac.Main.main(Main.java:61)
:ooxml:ant-compile-ooxml-xsds FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:ant-compile-ooxml-xsds'.
> The following error occurred while executing this line:
  <https://builds.apache.org/job/POI-DSL-API-Check/ws/build.xml>:855: Compile 
failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 7 mins 21.293 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to