You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/12/26 00:26:52 UTC
Build failed in Jenkins: POI » POI-DSL-1.8 #808
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/808/display/redirect?page=changes>
Changes:
[PJ Fanning] try to fix build
------------------------------------------
[...truncated 6.91 KB...]
-rwxr-xr-x 1 root root 5110 Jan 14 2017 jvisualvm
-rwxr-xr-x 1 root root 8832 Apr 7 2021 keytool
-rwxr-xr-x 1 root root 8840 Apr 7 2021 native2ascii
-rwxr-xr-x 1 root root 8904 Apr 7 2021 orbd
-rwxr-xr-x 1 root root 8832 Apr 7 2021 pack200
-rwxr-xr-x 1 root root 8840 Apr 7 2021 policytool
-rwxr-xr-x 1 root root 8832 Apr 7 2021 rmic
-rwxr-xr-x 1 root root 8832 Apr 7 2021 rmid
-rwxr-xr-x 1 root root 8840 Apr 7 2021 rmiregistry
-rwxr-xr-x 1 root root 8832 Apr 7 2021 schemagen
-rwxr-xr-x 1 root root 8832 Apr 7 2021 serialver
-rwxr-xr-x 1 root root 8840 Apr 7 2021 servertool
-rwxr-xr-x 1 root root 8904 Apr 7 2021 tnameserv
-rwxr-xr-x 1 root root 186960 Apr 7 2021 unpack200
-rwxr-xr-x 1 root root 8832 Apr 7 2021 wsgen
-rwxr-xr-x 1 root root 8832 Apr 7 2021 wsimport
-rwxr-xr-x 1 root root 8832 Apr 7 2021 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_291
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 524
drwxr-xr-x 22 jenkins jenkins 4096 Dec 26 00:25 .
drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 17:37 ..
-rw-r--r-- 1 jenkins jenkins 520 Dec 20 2021 .asf.yaml
drwxr-xr-x 3 jenkins jenkins 4096 Dec 25 23:59 build
-rw-r--r-- 1 jenkins jenkins 31389 Dec 26 00:25 build.gradle
-rw-r--r-- 1 jenkins jenkins 169281 Dec 22 00:26 build.xml
-rw-r--r-- 1 jenkins jenkins 7190 Sep 17 00:26 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3216 Nov 13 19:22 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Dec 20 2021 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Dec 20 2021 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 May 23 2022 .github
-rw-r--r-- 1 jenkins jenkins 334 Dec 20 2021 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 2021 gradle
drwxr-xr-x 5 jenkins jenkins 4096 Dec 22 00:43 .gradle
-rw-r--r-- 1 jenkins jenkins 599 Dec 20 2021 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8070 Nov 26 01:25 gradlew
-rw-r--r-- 1 jenkins jenkins 2763 Nov 26 01:25 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Dec 22 12:26 jenkins
-rw-r--r-- 1 jenkins jenkins 167516 Jun 5 2022 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 2021 legal
drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 2021 lib.stored
drwxr-xr-x 3 jenkins jenkins 4096 Sep 14 00:26 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Dec 20 2021 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Dec 26 00:25 poi
drwxr-xr-x 4 jenkins jenkins 4096 Dec 26 00:25 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Dec 26 00:25 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Dec 25 23:59 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Dec 26 00:25 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Dec 26 00:25 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Dec 26 00:25 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Dec 25 23:59 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Dec 26 00:25 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4351 Dec 21 2021 README.rst
-rw-r--r-- 1 jenkins jenkins 232 Dec 20 2021 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 190 Dec 20 2021 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Dec 20 2021 src
drwxr-xr-x 4 jenkins jenkins 4096 Dec 26 00:25 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Dec 20 2021 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.8/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/oraclejdk-1.8.0-291/jre
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/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_291
[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_291
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-1.8] $ /bin/sh -xe /tmp/jenkins4259924954629679691.sh
+ touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-1.8] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/gradlew> -PjdkVersion=8 -PjdkVendor=oracle --refresh-dependencies clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6/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
> Configure project :poi
Invalid Java installation found at '/usr/lib/jvm/openjdk-11' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
> Task :poi-ooxml-lite-agent:clean
> Task :poi-ooxml:clean
> Task :poi-examples:clean
> Task :poi-excelant:clean
> Task :poi-scratchpad:clean
> Task :poi-integration:clean
> Task :poi-ooxml-lite:clean
> Task :clean
> Task :poi-ooxml:cleanupBatik UP-TO-DATE
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi:clean
> Task :poi-ooxml:fixBatik
> Task :poi:generateVersionJava
> Task :poi-scratchpad:processResources
> Task :poi-excelant:processResources
> Task :poi-ooxml:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-ooxml:processTestResources
> Task :poi-integration:javadocJar
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-excelant:sourcesJar
> Task :poi-excelant:processTestResources
> Task :poi-ooxml-full:clean
> Task :poi-ooxml-full:copy_xsds
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:compileJava
> 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:compileJava9 FAILED
> Task :poi-scratchpad:sourcesJar
> 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...
Time to build schema type system: 2.887 seconds
> Task :poi-ooxml:sourcesJar
> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast
m.putAll((Map<String,Supplier<?>>)baseMap);
^
required: java.util.Map<java.lang.String,java.util.function.Supplier<?>>
found: java.lang.Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated
public final void setCellType(CellType cellType) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated
cell.setCellType(cellType);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in org.apache.poi.hssf.record.RecordInputStream has been deprecated
byte[] remainder = ris.readAllContinuedRemainder();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in org.apache.poi.hssf.record.RecordInputStream has been deprecated
byte[] data = in.readAllContinuedRemainder();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in org.apache.poi.hssf.record.DrawingRecord has been deprecated
_lastDrawingRecord.processContinueRecord(contRec.getData());
^
6 warnings
> Task :poi-ooxml-full:generate_beans
Time to generate code: 5.683 seconds
> Task :cyclonedxBom
Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml-lite-agent:compileJava9'.
> Error while evaluating property 'javaCompiler' of task ':poi-ooxml-lite-agent:compileJava9'.
> Failed to calculate the value of task ':poi-ooxml-lite-agent:compileJava9' property 'javaCompiler'.
> No compatible toolchains found for request specification: {languageVersion=11, vendor=matching('oracle'), implementation=vendor-specific} (auto-detect true, auto-download true).
* 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.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 9s
33 actionable tasks: 32 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'
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 2.93 MB of artifacts by 92.7% relative to #806
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Jenkins build is back to normal : POI » POI-DSL-1.8 #810
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/810/display/redirect?page=changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Build failed in Jenkins: POI » POI-DSL-1.8 #809
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/809/display/redirect?page=changes>
Changes:
[PJ Fanning] doesn't matter what jdk vendor is used to build module-info classes
------------------------------------------
[...truncated 307.03 KB...]
> Task :poi-examples:javadoc
javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/
> Task :poi-ooxml:testClasses
> Task :poi:spotbugsMain
M V EI2: new org.apache.poi.hssf.record.UserSViewEnd(byte[]) may expose internal representation by storing an externally mutable object into UserSViewEnd._rawData At UserSViewEnd.java:[line 40]
M V EI: org.apache.poi.common.usermodel.fonts.FontHeader.getPanose() may expose internal representation by returning FontHeader.panose At FontHeader.java:[line 290]
M D DLS: Dead store to reserved4 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 174]
M D DLS: Dead store to reserved3 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 173]
M D DLS: Dead store to reserved2 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 172]
M D DLS: Dead store to reserved1 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 171]
> Task :poi-ooxml:testJar
> Task :poi-scratchpad:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/StoragePropertiesChunk.java>:57: warning: no description for @throws
* @throws IOException
^
> Task :poi-ooxml:compileJava9 FAILED
error: the unnamed module reads package javax.xml from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.datatype from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.namespace from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.parsers from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.stream from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.stream.events from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.stream.util from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.transform from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.transform.dom from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.transform.sax from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.transform.stax from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.transform.stream from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.validation from both xml.apis and java.xml
error: the unnamed module reads package javax.xml.xpath from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom.bootstrap from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom.events from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom.ls from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom.ranges from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom.traversal from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom.views from both xml.apis and java.xml
error: the unnamed module reads package org.xml.sax from both xml.apis and java.xml
error: the unnamed module reads package org.xml.sax.ext from both xml.apis and java.xml
error: the unnamed module reads package org.xml.sax.helpers from both xml.apis and java.xml
error: the unnamed module reads package org.w3c.dom.css from both xml.apis and jdk.xml.dom
error: the unnamed module reads package org.w3c.dom.html from both xml.apis and jdk.xml.dom
error: the unnamed module reads package org.w3c.dom.stylesheets from both xml.apis and jdk.xml.dom
error: the unnamed module reads package org.w3c.dom.xpath from both xml.apis and jdk.xml.dom
error: module org.apache.pdfbox reads package javax.xml from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.datatype from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.namespace from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.parsers from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.stream from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.stream.events from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.stream.util from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.dom from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.sax from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.stax from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.stream from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.validation from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.xpath from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.bootstrap from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.events from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.ls from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.ranges from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.traversal from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.views from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.xml.sax from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.xml.sax.ext from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.xml.sax.helpers from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.css from both xml.apis and jdk.xml.dom
error: module org.apache.pdfbox reads package org.w3c.dom.html from both xml.apis and jdk.xml.dom
error: module org.apache.pdfbox reads package org.w3c.dom.stylesheets from both xml.apis and jdk.xml.dom
error: module org.apache.pdfbox reads package org.w3c.dom.xpath from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package javax.xml from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.datatype from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.namespace from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.parsers from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.stream from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.stream.events from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.stream.util from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.dom from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.sax from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.stax from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.stream from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.validation from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.xpath from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.bootstrap from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.events from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.ls from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.ranges from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.traversal from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.views from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.xml.sax from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.xml.sax.ext from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.xml.sax.helpers from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.css from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package org.w3c.dom.html from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package org.w3c.dom.stylesheets from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package org.w3c.dom.xpath from both xml.apis and jdk.xml.dom
error: module batik.xml reads package javax.xml from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.datatype from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.namespace from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.parsers from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.stream from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.stream.events from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.stream.util from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.dom from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.sax from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.stax from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.stream from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.validation from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.xpath from both xml.apis and java.xml
error: module batik.xml reads package org.w3c.dom from both xml.apis and java.xml
error: module batik.xml reads package org.w3c.dom.bootstrap from both xml.apis and java.xml
100 errors
> Task :poi:spotbugsMain
M V EI: org.apache.poi.ddf.EscherClientDataRecord.getRemainingData() may expose internal representation by returning EscherClientDataRecord.remainingData At EscherClientDataRecord.java:[line 114]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getValidation() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.dv At DataValidationEvaluator.java:[line 541]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.dve At DataValidationEvaluator.java:[line 533]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.dv At DataValidationEvaluator.java:[line 532]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getRegion() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.region At DataValidationEvaluator.java:[line 553]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.target At DataValidationEvaluator.java:[line 535]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.region At DataValidationEvaluator.java:[line 534]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getEvaluator() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.dve At DataValidationEvaluator.java:[line 547]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getTarget() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.target At DataValidationEvaluator.java:[line 559]
M V EI2: new org.apache.poi.sl.draw.SLGraphics(GroupShape) may expose internal representation by storing an externally mutable object into SLGraphics._group At SLGraphics.java:[line 77]
M V EI: org.apache.poi.sl.draw.SLGraphics.getShapeGroup() may expose internal representation by returning SLGraphics._group At SLGraphics.java:[line 92]
M V EI: org.apache.poi.sl.draw.SLGraphics.getRenderingHints() may expose internal representation by returning SLGraphics._hints At SLGraphics.java:[line 1556]
M V EI: org.apache.poi.hpsf.Array.getValues() may expose internal representation by returning Array._values At Array.java:[line 114]
> Task :poi-excelant:compileTestJava
> Task :poi-integration:compileTestJava
> Task :poi-examples:javadoc
1 warning
> Task :poi:spotbugsMain
M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics2d(EscherGraphics) may expose internal representation by storing an externally mutable object into EscherGraphics2d._escherGraphics At EscherGraphics2d.java:[line 89]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.FinanceFunction.evaluate(double[]) where one case falls through to the next case At FinanceFunction.java:[lines 98-101]
M V EI: org.apache.poi.hssf.extractor.EventBasedExcelExtractor.getRoot() may expose internal representation by returning EventBasedExcelExtractor._dir At EventBasedExcelExtractor.java:[line 292]
M V EI2: new org.apache.poi.hssf.extractor.EventBasedExcelExtractor(DirectoryNode) may expose internal representation by storing an externally mutable object into EventBasedExcelExtractor._dir At EventBasedExcelExtractor.java:[line 72]
M V EI: org.apache.poi.hssf.extractor.EventBasedExcelExtractor.getFilesystem() may expose internal representation by returning EventBasedExcelExtractor.poifs At EventBasedExcelExtractor.java:[line 282]
M V EI2: new org.apache.poi.hssf.extractor.EventBasedExcelExtractor(POIFSFileSystem) may expose internal representation by storing an externally mutable object into EventBasedExcelExtractor.poifs At EventBasedExcelExtractor.java:[line 76]
M D DLS: Dead store to maxN in org.apache.poi.ss.formula.functions.Sumproduct.evaluateSingleProduct(ValueEval[]) At Sumproduct.java:[line 95]
M V EI: org.apache.poi.ddf.EscherClientAnchorRecord.getRemainingData() may expose internal representation by returning EscherClientAnchorRecord.remainingData At EscherClientAnchorRecord.java:[line 368]
M V EI2: new org.apache.poi.poifs.macros.VBAMacroReader(POIFSFileSystem) may expose internal representation by storing an externally mutable object into VBAMacroReader.fs At VBAMacroReader.java:[line 100]
M D DLS: Dead store to ld in org.apache.poi.ss.formula.functions.TimeValue.evaluate(int, int, ValueEval) At TimeValue.java:[line 68]
M V EI2: new org.apache.poi.ss.util.cellwalk.CellWalk(Sheet, CellRangeAddress) may expose internal representation by storing an externally mutable object into CellWalk.sheet At CellWalk.java:[line 37]
M V EI2: new org.apache.poi.ss.util.cellwalk.CellWalk(Sheet, CellRangeAddress) may expose internal representation by storing an externally mutable object into CellWalk.range At CellWalk.java:[line 38]
M V EI2: new org.apache.poi.poifs.crypt.DataSpaceMapUtils$IRMDSTransformInfo(DataSpaceMapUtils$TransformInfoHeader, int, String) may expose internal representation by storing an externally mutable object into DataSpaceMapUtils$IRMDSTransformInfo.transformInfoHeader At DataSpaceMapUtils.java:[line 180]
M V EI: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.getSSTRecord() may expose internal representation by returning EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord At EventWorkbookBuilder.java:[line 133]
M V EI2: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.processRecordInternally(Record) may expose internal representation by storing an externally mutable object into EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord At EventWorkbookBuilder.java:[line 181]
M V EI: org.apache.poi.sl.image.ImageHeaderEMF.getBounds() may expose internal representation by returning ImageHeaderEMF.deviceBounds At ImageHeaderEMF.java:[line 67]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.Offset.evaluate(ValueEval[], int, int) where one case falls through to the next case At Offset.java:[lines 172-176]
M D SF: Switch statement found in org.apache.poi.ss.formula.atp.YearFrac.evaluate(ValueEval[], OperationEvaluationContext) where one case falls through to the next case At YearFrac.java:[lines 71-74]
M V EI: org.apache.poi.hssf.record.FeatRecord.getCellRefs() may expose internal representation by returning FeatRecord.cellRefs At FeatRecord.java:[line 156]
M V EI2: org.apache.poi.hssf.record.FeatRecord.setCellRefs(CellRangeAddress[]) may expose internal representation by storing an externally mutable object into FeatRecord.cellRefs At FeatRecord.java:[line 159]
M B Nm: The class name org.apache.poi.hssf.usermodel.HeaderFooter shadows the simple name of implemented interface org.apache.poi.ss.usermodel.HeaderFooter At HeaderFooter.java:[lines 26-310]
> Task :poi-excelant:spotbugsMain
M V EI2: org.apache.poi.ss.excelant.ExcelAntSet.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntSet.wbUtil At ExcelAntSet.java:[line 39]
M V EI: org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.getWorkbook() may expose internal representation by returning ExcelAntWorkbookUtil.workbook At ExcelAntWorkbookUtil.java:[line 193]
M V EI2: org.apache.poi.ss.excelant.ExcelAntTest.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntTest.workbookUtil At ExcelAntTest.java:[line 67]
M D DCN: Do not catch NullPointerException like in org.apache.poi.ss.excelant.ExcelAntTest.execute() At ExcelAntTest.java:[line 180]
M V EI2: org.apache.poi.ss.excelant.ExcelAntTask.addPrecision(ExcelAntPrecision) may expose internal representation by storing an externally mutable object into ExcelAntTask.precision At ExcelAntTask.java:[line 55]
SpotBugs ended with exit code 1
> Task :allJavaDoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/StoragePropertiesChunk.java>:57: warning: no description for @throws
* @throws IOException
^
> Task :poi:spotbugsMain
M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, OutputStream) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0 At BinaryRC4Encryptor.java:[line 130]
M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, DirectoryNode) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0 At BinaryRC4Encryptor.java:[line 135]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getData() may expose internal representation by returning UnknownEscherRecord.thedata At UnknownEscherRecord.java:[line 129]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getChildRecords() may expose internal representation by returning UnknownEscherRecord._childRecords At UnknownEscherRecord.java:[line 139]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_5_lo64 At Decimal.java:[line 38]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_2_scale At Decimal.java:[line 35]
M P SS: Unread field: org.apache.poi.ss.formula.ptg.UnknownPtg.size; should this field be static? At UnknownPtg.java:[line 25]
M P UrF: Unread field: org.apache.poi.hssf.usermodel.HSSFChart.chartTitleFormat At HSSFChart.java:[line 217]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.TextJoinFunction.evaluator At TextJoinFunction.java:[line 51]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_4_hi32 At Decimal.java:[line 37]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankIncFunction.evaluator At PercentRankIncFunction.java:[line 51]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_1_wReserved At Decimal.java:[line 34]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankExcFunction.evaluator At PercentRankExcFunction.java:[line 54]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_3_sign At Decimal.java:[line 36]
M V MS: org.apache.poi.hpsf.VariantSupport.SUPPORTED_TYPES should be package protected At VariantSupport.java:[line 55]
M V MS: org.apache.poi.hpsf.DocumentSummaryInformation.FORMAT_ID should be package protected At DocumentSummaryInformation.java:[line 51]
M V MS: org.apache.poi.ss.formula.eval.FunctionEval.functions should be package protected At FunctionEval.java:[line 59]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._current_block_count; locked 71% of time Unsynchronized access at DocumentInputStream.java:[line 287]
M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.sFmt; locked 66% of time Unsynchronized access at CellDateFormatter.java:[line 109]
M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.amPmUpper; locked 50% of time Unsynchronized access at CellDateFormatter.java:[line 122]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._buffer; locked 50% of time Unsynchronized access at DocumentInputStream.java:[line 286]
M M IS: Inconsistent synchronization of org.apache.poi.hpsf.ClassIDPredefined.classId; locked 66% of time Unsynchronized access at ClassIDPredefined.java:[line 132]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._data; locked 80% of time Unsynchronized access at DocumentInputStream.java:[line 288]
SpotBugs ended with exit code 1
> Task :poi-scratchpad:javadoc
2 warnings
> Task :allJavaDoc
1 warning
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> Compilation 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.
> 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.6/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 5 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 4m 48s
102 actionable tasks: 96 executed, 6 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'
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
[Fast Archiver] Compressed 50.62 MB of artifacts by 10.4% relative to #806
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[Checks API] No suitable checks publisher found.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org