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

Changes:

[PJ Fanning] handle case where toByteArray truncates stream because max len is 
less than stream len

[PJ Fanning] prep 5.2.2 release

[PJ Fanning] update changes

[PJ Fanning] fix issue in IOUtils.toByteArrayWithMaxLength

[PJ Fanning] fix issue in IOUtils.toByteArrayWithMaxLength

[PJ Fanning] fix issue in IOUtils.toByteArrayWithMaxLength

[PJ Fanning] fix issue in IOUtils.toByteArrayWithMaxLength

[PJ Fanning] fix issue in IOUtils.toByteArrayWithMaxLength

[PJ Fanning] fix issue in IOUtils.toByteArrayWithMaxLength

[PJ Fanning] fix issue in IOUtils.toByteArrayWithMaxLength

[PJ Fanning] [bug-65946] remove duplicate Category property from extracted 
properties

[PJ Fanning] [bug-65946] remove duplicate Category property from extracted 
properties

[PJ Fanning] [bug-65943] support rich text in SXSSFWorkbook (only when shared 
string table is enabled)

[PJ Fanning] [bug-65943] support rich text in SXSSFWorkbook (only when shared 
string table is enabled)

[PJ Fanning] update mockito

[PJ Fanning] missing license

[PJ Fanning] [bug-65939] add partial fix for clearing formula with circular ref

[PJ Fanning] [bug-65939] add partial fix for clearing formula with circular ref

[PJ Fanning] [bug-65939] add partial fix for clearing formula with circular ref

[PJ Fanning] [bug-65935] add removeTextRun

[PJ Fanning] reformat

[PJ Fanning] reformat

[PJ Fanning] [bug-65934] add removeTextParagraph

[PJ Fanning] [github-310] use XWPFRun


------------------------------------------
[...truncated 6.71 KB...]
-rwxr-xr-x 1 root root 12392 Feb 15 09:39 serialver
+ /home/jenkins/tools/java/latest18/bin/java -version
openjdk version "18" 2022-03-22
OpenJDK Runtime Environment (build 18+36-2087)
OpenJDK 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest18/bin/java
+ java -version
openjdk version "18" 2022-03-22
OpenJDK Runtime Environment (build 18+36-2087)
OpenJDK 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest18/bin/javac
+ javac -version
javac 18
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 22 jenkins jenkins   4096 Mar 13 17:47 .
drwxr-xr-x  3 jenkins jenkins   4096 Mar 11 03:17 ..
-rw-r--r--  1 jenkins jenkins    520 Jan  2 17:47 .asf.yaml
drwxr-xr-x  3 jenkins jenkins   4096 Mar  6 17:47 build
-rw-r--r--  1 jenkins jenkins  31121 Mar 13 17:46 build.gradle
-rw-r--r--  1 jenkins jenkins 166484 Mar 13 17:46 build.xml
-rw-r--r--  1 jenkins jenkins   6844 Mar  6 17:47 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3057 Feb 27 17:46 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Jan  2 17:47 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Jan  2 17:47 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Jan  2 17:47 .github
-rw-r--r--  1 jenkins jenkins    334 Jan  2 17:47 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Jan  2 17:47 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Feb 20 18:05 .gradle
-rw-r--r--  1 jenkins jenkins    599 Jan  2 17:47 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8070 Jan  2 17:47 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Jan  2 17:47 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 22 08:42 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Jan  2 17:47 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Jan  2 17:47 legal
drwxr-xr-x  2 jenkins jenkins   4096 Jan  2 17:47 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Mar 13 17:46 osgi
-rw-r--r--  1 jenkins jenkins   4813 Jan  2 17:47 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Mar  6 17:47 poi
drwxr-xr-x  4 jenkins jenkins   4096 Mar  6 17:47 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Mar  6 17:47 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Mar  6 17:47 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Mar  6 17:47 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Mar  6 17:47 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Feb 22 08:44 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Mar  6 17:47 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Mar  6 17:47 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4351 Jan  2 17:47 README.rst
-rw-r--r--  1 jenkins jenkins    232 Jan  2 17:47 SECURITY.md
-rw-r--r--  1 jenkins jenkins    190 Jan  2 17:47 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Jan  2 17:47 src
drwxr-xr-x  4 jenkins jenkins   4096 Mar 13 17:47 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Jan  2 17:47 test-data
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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.10.5 compiled on March 28 2019
Buildfile: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/build.javacheck.xml>
Detected Java version: 18 in: /usr/local/asfpackages/java/openjdk-18-ea+36
Detected OS: Linux
parsing buildfile 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/build.javacheck.xml> 
with URI = 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/build.javacheck.xml>
Project base dir set to: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/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 18/18
     [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 18

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-1.18] $ /bin/sh -xe /tmp/jenkins5013570071922689667.sh
+ touch --no-create build/*/build/test-results/TEST-*.xml 
build/*/build/test-results/test/TEST-*.xml
[Gradle] - Launching build.
[POI-DSL-1.18] $ 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/gradlew> 
-PjdkVersion=18 clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be 
forked. See 
https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
Configuration on demand is an incubating feature.

> Configure project :
Trying to override old definition of datatype junit
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
[Fatal Error] :1:38: Invalid encoding name "UTF8".

> Task :clean
> Task :poi-scratchpad:clean
> Task :poi-integration:clean
> Task :poi-ooxml-lite-agent:clean
> Task :poi-excelant:clean
> Task :poi-ooxml:clean
> Task :poi-ooxml-lite:clean UP-TO-DATE
> Task :poi-examples:clean
> Task :poi:clean
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :replaceVersion
> Task :poi-integration:processTestResources
> Task :poi-ooxml:fixBatik
> Task :poi:generateVersionJava
> Task :poi-excelant:processResources
> Task :poi-ooxml-full:clean
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-excelant:sourcesJar
> Task :poi-ooxml:processResources
> Task :poi-excelant:processTestResources
> Task :poi-ooxml:processTestResources
> Task :poi-ooxml-full:copy_xsds
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE

> Task :poi-ooxml-full:generate_beans
[ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging 
implementation. Please add log4j-core to the classpath. Using SimpleLogger to 
log to the console...

> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9 SKIPPED
> Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-ooxml-lite-agent:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:forbiddenApisMain FAILED
> Task :poi-ooxml:sourcesJar
> Task :poi-scratchpad:sourcesJar

> Task :poi-ooxml-full:generate_beans
Time to build schema type system: 9.269 seconds
Time to generate code: 3.957 seconds

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132:
 warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellType.java>:69:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    private final int code;
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellType.java>:75:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    private CellType(int code) {
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellType.java>:83:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public static CellType forInt(int code) {
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellType.java>:96:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public int getCode() {
               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/common/usermodel/HyperlinkType.java>:76:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    int getCode() {
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1120:
 warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
        } catch (AccessControlException e) {
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466:
 warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has 
been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62:
 warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has 
been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java>:1493:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    protected void shiftMerged(int startRow, int endRow, int n, boolean isRow) {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335:
 warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been 
deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:78:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
        final Object hack = AccessController.doPrivileged(
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:178:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
            final Throwable error = AccessController.doPrivileged(
                                    ^
15 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml-lite-agent:forbiddenApisMain'.
> IO problem while reading files with API signatures.

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

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 47s
31 actionable tasks: 30 executed, 1 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
[Fast Archiver] Compressed 2.91 MB of artifacts by 67.6% relative to #17
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to