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

Changes:

[gwoolsey] #63292 1904 date windowing flag not used for some format cases

[gwoolsey] #63291 CellFormat global cache isn't thread-safe

move date format synchronization down to where the problem instance is held.

[gwoolsey] #63302 Formula evaluation of names with offset or row function is 
incorrect

thanks to John Lincoln White for the patch, including new unit tests.

------------------------------------------
[...truncated 5.56 KB...]
-rwxr-xr-x 1 root root 140248 Oct  6 12:52 javaws
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 jcmd
-rwxr-xr-x 1 root root   8608 Oct  6 12:52 jconsole
-rwxr-xr-x 1 root root   6264 Oct  6 12:52 jcontrol
-rwxr-xr-x 1 root root   8600 Oct  6 12:52 jdb
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 jdeps
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 jhat
-rwxr-xr-x 1 root root   8648 Oct  6 12:52 jinfo
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 jjs
-rwxr-xr-x 1 root root   8648 Oct  6 12:52 jmap
-rwxr-xr-x 1 root root  74675 Dec  8  2017 jmc
-rwxr-xr-x 1 root root    402 Dec  8  2017 jmc.ini
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 jps
-rwxr-xr-x 1 root root   8592 Oct  6 12:52 jrunscript
-rwxr-xr-x 1 root root   8600 Oct  6 12:52 jsadebugd
-rwxr-xr-x 1 root root   8648 Oct  6 12:52 jstack
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 jstat
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 jstatd
-rwxr-xr-x 1 root root   5110 Jan 14  2017 jvisualvm
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 keytool
-rwxr-xr-x 1 root root   8592 Oct  6 12:52 native2ascii
-rwxr-xr-x 1 root root   8656 Oct  6 12:52 orbd
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 pack200
-rwxr-xr-x 1 root root   8592 Oct  6 12:52 policytool
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 rmic
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 rmid
-rwxr-xr-x 1 root root   8592 Oct  6 12:52 rmiregistry
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 schemagen
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 serialver
-rwxr-xr-x 1 root root   8592 Oct  6 12:52 servertool
-rwxr-xr-x 1 root root   8656 Oct  6 12:52 tnameserv
-rwxr-xr-x 1 root root 182536 Oct  6 12:52 unpack200
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 wsgen
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 wsimport
-rwxr-xr-x 1 root root   8584 Oct  6 12:52 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_191
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 504
drwxr-xr-x  17 jenkins jenkins   4096 Mar 20 13:18 .
drwxr-xr-x 481 jenkins jenkins  45056 Mar 30 14:09 ..
drwxr-xr-x  25 jenkins jenkins   4096 Mar 20 13:27 build
-rw-r--r--   1 jenkins jenkins  11325 Mar 30 21:18 build.gradle
-rw-r--r--   1 jenkins jenkins    172 Mar 20 12:58 build.javacheck.xml
-rw-r--r--   1 jenkins jenkins 141834 Mar 30 21:18 build.xml
-rw-r--r--   1 jenkins jenkins   3210 Mar 30 21:18 .classpath
drwxr-xr-x   2 jenkins jenkins   4096 Feb 19 13:03 compile-lib
-rw-r--r--   1 jenkins jenkins   5641 Feb 19 13:03 doap_POI.rdf
-rw-r--r--   1 jenkins jenkins   2596 Mar 20 12:58 file-leak-detector.exclude
-rw-r--r--   1 jenkins jenkins   6229 Feb 19 13:03 forrest.properties
-rw-r--r--   1 jenkins jenkins     53 Feb 19 13:03 .gitattributes
-rw-r--r--   1 jenkins jenkins    493 Feb 19 13:03 .gitignore
drwxr-xr-x   3 jenkins jenkins   4096 Feb 19 13:03 gradle
-rwxr-xr-x   1 jenkins jenkins   5299 Feb 19 13:03 gradlew
-rw-r--r--   1 jenkins jenkins   2260 Feb 19 13:03 gradlew.bat
drwxr-xr-x   2 jenkins jenkins   4096 Mar 20 12:58 jenkins
-rw-r--r--   1 jenkins jenkins 166411 Mar 20 12:58 KEYS
drwxr-xr-x   2 jenkins jenkins   4096 Feb 19 13:03 legal
drwxr-xr-x   2 jenkins jenkins   4096 Feb 19 13:25 lib
drwxr-xr-x   2 jenkins jenkins   4096 Mar 30 21:18 maven
drwxr-xr-x   2 jenkins jenkins   4096 Mar 30 21:18 ooxml-lib
drwxr-xr-x   2 jenkins jenkins   4096 Feb 19 13:03 ooxml-testlib
drwxr-xr-x   4 jenkins jenkins   4096 Feb 19 13:03 osgi
-rw-r--r--   1 jenkins jenkins   4813 Feb 19 13:03 patch.xml
-rw-r--r--   1 jenkins jenkins    426 Feb 19 13:03 .project
-rw-r--r--   1 jenkins jenkins   4280 Feb 19 13:03 README.rst
drwxr-xr-x   2 jenkins jenkins   4096 Mar 30 21:18 .settings
-rw-r--r--   1 jenkins jenkins    556 Feb 19 13:03 settings.gradle
drwxr-xr-x  10 jenkins jenkins   4096 Mar 30 21:18 sonar
drwxr-xr-x  15 jenkins jenkins   4096 Feb 19 13:03 src
drwxr-xr-x   4 jenkins jenkins   4096 Mar 30 21:18 .svn
drwxr-xr-x  14 jenkins jenkins   4096 Feb 19 13:03 test-data
-rw-r--r--   1 jenkins jenkins    136 Feb 19 13:03 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.9.6 compiled on July 20 2018
+ echo '<project default="test"><target name="test"><echo>Java 
${ant.java.version}/${java.version}</echo><exec executable="javac"><arg 
value="-version"/></exec></target></project>'
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.9.6 compiled on July 20 2018
Buildfile: <https://builds.apache.org/job/POI-DSL-1.8/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/jdk1.8.0_191/jre
Detected OS: Linux
parsing buildfile 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build.javacheck.xml> with URI = 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build.javacheck.xml>
Project base dir set to: <https://builds.apache.org/job/POI-DSL-1.8/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile 
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = 
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip 
file
     [echo] Java 1.8/1.8.0_191
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 1.8.0_191

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-1.8] $ /home/jenkins/tools/ant/apache-ant-1.9.9/bin/ant 
-Dcoverage.enabled=true clean jenkins
Buildfile: <https://builds.apache.org/job/POI-DSL-1.8/ws/build.xml>

clean:
   [delete] Deleting directory 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build>

check-jars:
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/commons-codec-1.11.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/commons-collections4-4.2.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/681/artifact/ooxml-lib/curvesapi-1.05.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/681/artifact/ooxml-lib/xmlbeans-3.0.2.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/batik-all-1.10.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/bcpkix-jdk15on-1.60.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/bcprov-ext-jdk15on-1.60.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/slf4j-api-1.7.25.jar>
   [delete] Deleting 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/xmlsec-2.1.0.jar>

fetch-jars:
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/commons-logging-1.2.jar>
      [get] Getting: 
https://repo1.maven.org/maven2/commons-codec/commons-codec/1.12/commons-codec-1.12.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/commons-codec-1.12.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/log4j-1.2.17.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/junit-4.12.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/jmh-core-1.19.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/jmh-generator-annprocess-1.19.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/hamcrest-core-1.3.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/xmlunit-core-2.5.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/mockito-core-2.23.4.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/byte-buddy-1.9.3.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/byte-buddy-agent-1.9.3.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/objenesis-2.6.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/ant-1.10.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/ant-launcher-1.10.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/asm-6.2.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/asm-commons-6.2.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/asm-tree-6.2.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/jacoco-0.8.2.zip>
      [get] Getting: 
https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.3/commons-collections4-4.3.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/commons-collections4-4.3.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/commons-math3-3.6.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/jaxb-api-2.3.0.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/jaxb-impl-2.3.0.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/jaxb-core-2.3.0.1.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/activation-1.1.1.jar>
    [unzip] Expanding: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/jacoco-0.8.2.zip> into 
<https://builds.apache.org/job/POI-DSL-1.8/ws/>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/apache-rat-0.12.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/forbiddenapis-2.6.jar>
      [get] Getting: 
https://repo1.maven.org/maven2/org/bouncycastle/bcprov-ext-jdk15on/1.61/bcprov-ext-jdk15on-1.61.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/bcprov-ext-jdk15on-1.61.jar>
      [get] Getting: 
https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.61/bcpkix-jdk15on-1.61.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/bcpkix-jdk15on-1.61.jar>
      [get] Getting: 
https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.1.2/xmlsec-2.1.2.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/xmlsec-2.1.2.jar>
      [get] Getting: 
https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/slf4j-api-1.7.26.jar>

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Getting: 
https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/681/artifact/ooxml-lib/curvesapi-1.06.jar>
      [get] Getting: 
https://repository.apache.org/content/repositories/releases/org/apache/xmlbeans/xmlbeans/3.1.0/xmlbeans-3.1.0.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/681/artifact/ooxml-lib/xmlbeans-3.1.0.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/lib/commons-compress-1.18.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/ooxml-testlib/reflections.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/ooxml-testlib/guava.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/ooxml-testlib/javassist.jar>
      [get] Getting: 
https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-all/1.11/batik-all-1.11.jar
      [get] To: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/batik-all-1.11.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): 
<https://builds.apache.org/job/POI-DSL-1.8/ws/compile-lib/xmlgraphics-commons-2.3.jar>

init:
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-1.8/ws/build>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/test-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/test-results>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/scratchpad-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/scratchpad-test-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/scratchpad-test-results>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/geometry-java>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/ooxml-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/ooxml-test-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/ooxml-test-results>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/excelant-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/excelant-test-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/excelant-test-results>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/examples-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/integration-test-classes>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/681/artifact/build/integration-test-results>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 
from /home/jenkins/tools/ant/apache-ant-1.9.9, Ant detected Java 1.8 (may be 
different than actual Java sometimes...)
     [echo] Using Java: 1.8.0_191/1.8.0_191-b12/25.191-b12/Java HotSpot(TM) 
64-Bit Server VM from Oracle Corporation on Linux: 4.4.0-138-generic

compile-main:
    [javac] Compiling 1214 source files to 
<https://builds.apache.org/job/POI-DSL-1.8/ws/build/classes>
    [javac] 
<https://builds.apache.org/job/POI-DSL-1.8/ws/src/java/org/apache/poi/ss/usermodel/DataFormatter.java>:52:
 error: package org.apache.poi.xssf.usermodel does not exist
    [javac] import org.apache.poi.xssf.usermodel.XSSFWorkbook;
    [javac]                                     ^
    [javac] 
<https://builds.apache.org/job/POI-DSL-1.8/ws/src/java/org/apache/poi/ss/usermodel/DataFormatter.java>:314:
 error: cannot find symbol
    [javac]         if (cell == null || ! (cell.getSheet().getWorkbook() 
instanceof XSSFWorkbook) ) {
    [javac]                                                                     
    ^
    [javac]   symbol:   class XSSFWorkbook
    [javac]   location: class DataFormatter
    [javac] 
<https://builds.apache.org/job/POI-DSL-1.8/ws/src/java/org/apache/poi/ss/usermodel/DataFormatter.java>:317:
 error: cannot find symbol
    [javac]         return ((XSSFWorkbook) 
cell.getSheet().getWorkbook()).isDate1904();
    [javac]                  ^
    [javac]   symbol:   class XSSFWorkbook
    [javac]   location: class DataFormatter
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors

BUILD FAILED
<https://builds.apache.org/job/POI-DSL-1.8/ws/build.xml>:1072: Compile failed; 
see the compiler error output for details.

Total time: 13 seconds
Build step 'Invoke Ant' marked build as failure
Skipping publisher since build result is FAILURE
Archiving artifacts
[Fast Archiver] Compressed 35.68 MB of artifacts by 99.8% relative to #680
Skipping publisher since build result is FAILURE
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?

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

Reply via email to