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 2023/02/06 00:28:14 UTC
Build failed in Jenkins: POI » POI-DSL-1.8 #836
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/836/display/redirect?page=changes>
Changes:
[Dominik Stadler] Do not fail if an empty password is provided
[Dominik Stadler] Avoid a file-handle leak in tests
[Dominik Stadler] Bug 66436: Fix invalid handling of padded encrypted bytes
The encrypted data is padded to 16 bytes, but these additional bytes
were not read from the stream
Make the reading of the additional bytes "lenient" to not introduce
breaking change if some existing functionality did produce non-aligned
data for some reason.
[PJ Fanning] [bug-65260] partial revert of recent changes
------------------------------------------
[...truncated 1.57 KB...]
U poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFTheme.java
U poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/tests/TestAgileEncryptionParameters.java
U poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFBugs.java
U poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
<-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/documentation'>
At revision 1907446
<-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/forrest.properties'>
At revision 1907446
At revision 1907446
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
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-1.8] $ /bin/sh -xe /tmp/jenkins15879994150745023733.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ svn status
X forrest.properties
X src/documentation
Performing status on external item at 'src/documentation':
+ svn revert poi-examples/src/main/java9/module-info.java poi-excelant/src/main/java9/module-info.java poi-excelant/src/test/java9/module-info.java poi-integration/src/test/java9/module-info.java poi-ooxml-full/src/main/java9/module-info.java poi-ooxml-lite-agent/src/main/java9/module-info.java poi-ooxml-lite/src/main/java9/module-info.java poi-ooxml/src/main/java9/module-info.java poi-ooxml/src/test/java9/module-info.java poi-scratchpad/src/main/java9/module-info.java poi-scratchpad/src/test/java9/module-info.java poi/src/main/java9/module-info.java poi/src/test/java9/module-info.java
+ svn revert src/resources/ooxml-lite-report.clazz src/resources/ooxml-lite-report.xsb
+ echo Java-Home: /home/jenkins/tools/java/latest1.8
Java-Home: /home/jenkins/tools/java/latest1.8
+ ls -al /home/jenkins/tools/java/latest1.8/
total 51604
drwxrwxr-x 8 root root 4096 Feb 1 16:24 .
drwxr-xr-x 33 root root 4096 Feb 1 16:24 ..
-r--r--r-- 1 root root 1522 Jan 18 16:29 ASSEMBLY_EXCEPTION
drwxr-xr-x 2 root root 4096 Feb 1 16:24 bin
drwxr-xr-x 3 root root 4096 Feb 1 16:24 include
drwxr-xr-x 4 root root 4096 Feb 1 16:24 jre
drwxr-xr-x 3 root root 4096 Feb 1 16:24 lib
-r--r--r-- 1 root root 19274 Jan 18 16:29 LICENSE
drwxr-xr-x 4 root root 4096 Feb 1 16:24 man
-rw-r--r-- 1 root root 2439 Jan 18 16:30 NOTICE
-rw-r--r-- 1 root root 484 Jan 18 16:29 release
drwxr-xr-x 10 root root 4096 Feb 1 16:24 sample
-rw-r--r-- 1 root root 52616451 Jan 18 16:29 src.zip
-r--r--r-- 1 root root 157063 Jan 18 16:29 THIRD_PARTY_README
+ ls -al /home/jenkins/tools/java/latest1.8/bin
total 700
drwxr-xr-x 2 root root 4096 Feb 1 16:24 .
drwxrwxr-x 8 root root 4096 Feb 1 16:24 ..
-rwxr-xr-x 1 root root 8768 Jan 18 16:29 appletviewer
-rwxr-xr-x 1 root root 8776 Jan 18 16:29 clhsdb
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 extcheck
-rwxr-xr-x 1 root root 8776 Jan 18 16:29 hsdb
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 idlj
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jar
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jarsigner
-rwxr-xr-x 1 root root 8640 Jan 18 16:29 java
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 javac
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 javadoc
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 javah
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 javap
-rwxr-xr-x 1 root root 2806 Jan 18 16:29 java-rmi.cgi
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jcmd
-rwxr-xr-x 1 root root 8784 Jan 18 16:29 jconsole
-rwxr-xr-x 1 root root 8776 Jan 18 16:29 jdb
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jdeps
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jfr
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jhat
-rwxr-xr-x 1 root root 8824 Jan 18 16:29 jinfo
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jjs
-rwxr-xr-x 1 root root 8824 Jan 18 16:29 jmap
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jps
-rwxr-xr-x 1 root root 8768 Jan 18 16:29 jrunscript
-rwxr-xr-x 1 root root 8776 Jan 18 16:29 jsadebugd
-rwxr-xr-x 1 root root 8824 Jan 18 16:29 jstack
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jstat
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 jstatd
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 keytool
-rwxr-xr-x 1 root root 8768 Jan 18 16:29 native2ascii
-rwxr-xr-x 1 root root 8832 Jan 18 16:29 orbd
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 pack200
-rwxr-xr-x 1 root root 8768 Jan 18 16:29 policytool
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 rmic
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 rmid
-rwxr-xr-x 1 root root 8768 Jan 18 16:29 rmiregistry
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 schemagen
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 serialver
-rwxr-xr-x 1 root root 8768 Jan 18 16:29 servertool
-rwxr-xr-x 1 root root 8832 Jan 18 16:29 tnameserv
-rwxr-xr-x 1 root root 186888 Jan 18 16:29 unpack200
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 wsgen
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 wsimport
-rwxr-xr-x 1 root root 8760 Jan 18 16:29 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_362
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 524
drwxr-xr-x 22 jenkins jenkins 4096 Feb 6 00:26 .
drwxr-xr-x 4 jenkins jenkins 4096 Feb 5 19:39 ..
-rw-r--r-- 1 jenkins jenkins 520 Dec 20 2021 .asf.yaml
drwxr-xr-x 7 jenkins jenkins 4096 Jan 30 12:34 build
-rw-r--r-- 1 jenkins jenkins 31774 Jan 18 00:26 build.gradle
-rw-r--r-- 1 jenkins jenkins 170490 Jan 30 12:26 build.xml
-rw-r--r-- 1 jenkins jenkins 7190 Sep 17 00:26 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3261 Jan 30 12:26 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 396 Jan 1 16:54 .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 Jan 1 16:54 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 Jan 30 12:29 poi
drwxr-xr-x 4 jenkins jenkins 4096 Jan 30 12:27 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Jan 30 12:27 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Jan 30 12:27 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Jan 30 12:27 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Jan 30 12:27 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Jan 30 12:27 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Jan 30 12:27 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Jan 30 12:27 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 Feb 6 00:26 .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/adoptium-jdk-8u362-b09/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_362
[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_362
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/jenkins4228470628136401967.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.
FAILURE: Build failed with an exception.
* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build.gradle'> line: 82
* What went wrong:
A problem occurred evaluating project ':poi'.
> Failed to calculate the value of task ':poi:compileTestJava' property 'javaCompiler'.
> No compatible toolchains found for request specification: {languageVersion=8, 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 27s
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 423.73 MB of artifacts by 25.5% relative to #834
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: Test reports were found but none of them are new. Did leafNodes run?
For example, <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-examples/build/test-results/test/TEST-org.apache.poi.integration.TestXLSX2CSV.xml> is 6 days 11 hr old
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
Build failed in Jenkins: POI » POI-DSL-1.8 #837
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/837/display/redirect?page=changes>
Changes:
[PJ Fanning] remove oracle requirement due to build failures
------------------------------------------
[...truncated 406.18 KB...]
M B OS: org.apache.poi.hssf.record.TestSSTRecord.concatHexDumps(String[]) may fail to close stream At TestSSTRecord.java:[line 52]
M B OS: org.apache.poi.hssf.record.TestSSTRecord.concatHexDumps(String[]) may fail to close stream At TestSSTRecord.java:[line 55]
M P WMI: org.apache.poi.hssf.usermodel.TestHSSFPalette.compareToDefaults(TestHSSFPalette$ColorComparator) makes inefficient use of keySet iterator instead of entrySet iterator At TestHSSFPalette.java:[line 267]
M D NP: Possible null pointer dereference in org.apache.poi.hpsf.basic.TestReadAllFiles.files() due to return value of called method Method invoked at TestReadAllFiles.java:[line 60]
M D RV: Return value of org.apache.poi.hpsf.PropertySet.getByteOrder() ignored, but method has no side effect At TestReadAllFiles.java:[line 159]
M B OS: org.apache.poi.hssf.model.TestDrawingAggregate.testIncompleteData() may fail to close stream At TestDrawingAggregate.java:[line 225]
M B OS: org.apache.poi.hssf.model.TestDrawingAggregate.toByteArray(List) may fail to close stream At TestDrawingAggregate.java:[line 251]
M B OS: org.apache.poi.hssf.model.TestEscherRecordFactory.toByteArray(List) may fail to close stream At TestEscherRecordFactory.java:[line 42]
M C DMI: BigDecimal constructed from 15.3 in org.apache.poi.ss.formula.ptg.TestExternalNameReference.testEvaluate() At TestExternalNameReference.java:[line 128]
M B Nm: Class org.apache.poi.poifs.filesystem.TestNotOLE2Exception is not derived from an Exception, even though it is named as such At TestNotOLE2Exception.java:[lines 36-78]
M B CNT: Rough value of Math.PI found: 3.14 At TestWorkbookEvaluator.java:[line 301]
M D DLS: Dead store to cellB1 in org.apache.poi.ss.formula.TestWorkbookEvaluator.testRefToBlankCellInArrayFormula() At TestWorkbookEvaluator.java:[line 613]
M B Nm: Class org.apache.poi.poifs.filesystem.TestOfficeXMLException is not derived from an Exception, even though it is named as such At TestOfficeXMLException.java:[lines 38-125]
M D SF: Switch statement found in org.apache.poi.ss.formula.eval.TestFormulasFromSpreadsheet.processFunctionRow(String, int, int) where one case falls through to the next case At TestFormulasFromSpreadsheet.java:[lines 200-202]
M X OBL: org.apache.poi.hssf.usermodel.TestFormulaEvaluatorBugs.test44636() may fail to clean up java.io.OutputStream on checked exception Obligation to clean up resource created at TestFormulaEvaluatorBugs.java:[line 96] is not discharged
M X OBL: org.apache.poi.hssf.usermodel.TestFormulaEvaluatorBugs.test55747_55324() may fail to clean up java.io.OutputStream on checked exception Obligation to clean up resource created at TestFormulaEvaluatorBugs.java:[line 556] is not discharged
M D DLS: Dead store to hour in org.apache.poi.hssf.usermodel.TestFormulas.testDateFormulas() At TestFormulas.java:[line 639]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSMiniStore.java:[line 250]
M D DLS: Dead store to $L8 in org.apache.poi.ss.formula.functions.TestAbs.testRange() At TestAbs.java:[line 65]
M B FS: Format string should use %n rather than \n in org.apache.poi.hssf.dev.TestFormulaViewer.parseFormulaRecord(FormulaRecord) At TestFormulaViewer.java:[line 111]
M B OS: org.apache.poi.hssf.dev.TestFormulaViewer.runOneFile(File) may fail to close stream At TestFormulaViewer.java:[line 56]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1231]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1273]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1336]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1293]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1625]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1608]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1598]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1577]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1559]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1532]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1339]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1295]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1275]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1233]
M P SS: Unread field: org.apache.poi.hssf.usermodel.TestNonStandardWorkbookStreamNames.xlsA; should this field be static? At TestNonStandardWorkbookStreamNames.java:[line 37]
M P SS: Unread field: org.apache.poi.hssf.dev.TestFormulaViewer.doListFormula; should this field be static? At TestFormulaViewer.java:[line 51]
M D UrF: Unread public/protected field: org.apache.poi.ss.usermodel.BaseTestRangeCopier.testDataProvider At TestHSSFRangeCopier.java:[line 32]
M P SS: Unread field: org.apache.poi.hssf.usermodel.TestNonStandardWorkbookStreamNames.xlsB; should this field be static? At TestNonStandardWorkbookStreamNames.java:[line 38]
M P UrF: Unread field: org.apache.poi.hssf.record.TestTableRecord.header At TestTableRecord.java:[line 32]
SpotBugs ended with exit code 1
> Task :poi:spotbugsMain
M V EI: org.apache.poi.hssf.record.LbsDataSubRecord.getFormula() may expose internal representation by returning LbsDataSubRecord._linkPtg At LbsDataSubRecord.java:[line 293]
M V EI: org.apache.poi.hssf.record.EmbeddedObjectRefSubRecord.getObjectData() may expose internal representation by returning EmbeddedObjectRefSubRecord.field_6_unknown At EmbeddedObjectRefSubRecord.java:[line 325]
M V EI2: org.apache.poi.hssf.record.EmbeddedObjectRefSubRecord.setUnknownFormulaData(byte[]) may expose internal representation by storing an externally mutable object into EmbeddedObjectRefSubRecord.field_2_unknownFormulaData At EmbeddedObjectRefSubRecord.java:[line 334]
M V EI2: org.apache.poi.hssf.record.TextObjectRecord.setStr(HSSFRichTextString) may expose internal representation by storing an externally mutable object into TextObjectRecord._text At TextObjectRecord.java:[line 312]
M V EI: org.apache.poi.hssf.record.TextObjectRecord.getLinkRefPtg() may expose internal representation by returning TextObjectRecord._linkRefPtg At TextObjectRecord.java:[line 316]
M V EI: org.apache.poi.hssf.record.TextObjectRecord.getStr() may expose internal representation by returning TextObjectRecord._text At TextObjectRecord.java:[line 308]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFShape(EscherContainerRecord, ObjRecord) may expose internal representation by storing an externally mutable object into HSSFShape._escherContainer At HSSFShape.java:[line 84]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFShape(HSSFShape, HSSFAnchor) may expose internal representation by storing an externally mutable object into HSSFShape.parent At HSSFShape.java:[line 94]
M V EI: org.apache.poi.hssf.usermodel.HSSFShape.getPatriarch() may expose internal representation by returning HSSFShape._patriarch At HSSFShape.java:[line 393]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFShape(EscherContainerRecord, ObjRecord) may expose internal representation by storing an externally mutable object into HSSFShape._objRecord At HSSFShape.java:[line 85]
M V EI: org.apache.poi.hssf.usermodel.HSSFShape.getOptRecord() may expose internal representation by returning HSSFShape._optRecord At HSSFShape.java:[line 146]
M V EI: org.apache.poi.hssf.usermodel.HSSFShape.getParent() may expose internal representation by returning HSSFShape.parent At HSSFShape.java:[line 151]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFSimpleShape(EscherContainerRecord, ObjRecord, TextObjectRecord) may expose internal representation by storing an externally mutable object into HSSFSimpleShape._textObjectRecord At HSSFSimpleShape.java:[line 81]
M V EI: org.apache.poi.hssf.usermodel.HSSFSheet.getWorkbook() may expose internal representation by returning HSSFSheet._workbook At HSSFSheet.java:[line 193]
M V EI: org.apache.poi.hssf.usermodel.HSSFSheet.getSheet() may expose internal representation by returning HSSFSheet._sheet At HSSFSheet.java:[line 990]
M V EI: org.apache.poi.hssf.usermodel.HSSFSheet.getDrawingPatriarch() may expose internal representation by returning HSSFSheet._patriarch At HSSFSheet.java:[line 2157]
M V EI: org.apache.poi.hssf.usermodel.HSSFSheet.createDrawingPatriarch() may expose internal representation by returning HSSFSheet._patriarch At HSSFSheet.java:[line 2171]
M V EI2: org.apache.poi.hssf.usermodel.DVConstraint.setExplicitListValues(String[]) may expose internal representation by storing an externally mutable object into DVConstraint._explicitListValues At DVConstraint.java:[line 329]
M V EI: org.apache.poi.hssf.usermodel.DVConstraint.getExplicitListValues() may expose internal representation by returning DVConstraint._explicitListValues At DVConstraint.java:[line 318]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFClientAnchor(EscherClientAnchorRecord) may expose internal representation by storing an externally mutable object into HSSFClientAnchor._escherClientAnchor At HSSFClientAnchor.java:[line 37]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFDataValidation(CellRangeAddressList, DataValidationConstraint) may expose internal representation by storing an externally mutable object into HSSFDataValidation._constraint At HSSFDataValidation.java:[line 55]
M V EI: org.apache.poi.hssf.usermodel.HSSFDataValidation.getConstraint() may expose internal representation by returning HSSFDataValidation._constraint At HSSFDataValidation.java:[line 67]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFDataValidation(CellRangeAddressList, DataValidationConstraint) may expose internal representation by storing an externally mutable object into HSSFDataValidation._regions At HSSFDataValidation.java:[line 52]
M V EI: org.apache.poi.hssf.usermodel.HSSFDataValidation.getValidationConstraint() may expose internal representation by returning HSSFDataValidation._constraint At HSSFDataValidation.java:[line 63]
M V EI: org.apache.poi.hssf.usermodel.HSSFDataValidation.getRegions() may expose internal representation by returning HSSFDataValidation._regions At HSSFDataValidation.java:[line 71]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFComment(EscherContainerRecord, ObjRecord, TextObjectRecord, NoteRecord) may expose internal representation by storing an externally mutable object into HSSFComment._note At HSSFComment.java:[line 63]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFObjectData(EscherContainerRecord, ObjRecord, DirectoryEntry) may expose internal representation by storing an externally mutable object into HSSFObjectData._root At HSSFObjectData.java:[line 44]
M V EI: org.apache.poi.hssf.usermodel.HSSFPatriarch.getBoundAggregate() may expose internal representation by returning HSSFPatriarch._boundAggregate At HSSFPatriarch.java:[line 518]
M V EI: org.apache.poi.hssf.usermodel.HSSFCell.getCellComment() may expose internal representation by returning HSSFCell._comment At HSSFCell.java:[line 1090]
M V EI2: org.apache.poi.hssf.usermodel.HSSFCell.setCellComment(Comment) may expose internal representation by storing an externally mutable object into HSSFCell._comment At HSSFCell.java:[line 1077]
M V EI: org.apache.poi.hssf.usermodel.HSSFCell.getRichStringCellValue() may expose internal representation by returning HSSFCell._stringValue At HSSFCell.java:[line 749]
M V EI: org.apache.poi.hssf.usermodel.HSSFCell.getSheet() may expose internal representation by returning HSSFCell._sheet At HSSFCell.java:[line 132]
M D SF: Switch statement found in org.apache.poi.hssf.usermodel.HSSFCell.setCellValueImpl(double) where one case falls through to the next case At HSSFCell.java:[lines 431-438]
M D SF: Switch statement found in org.apache.poi.hssf.usermodel.HSSFCell.setCellValue(boolean) where one case falls through to the next case At HSSFCell.java:[lines 777-780]
M D SF: Switch statement found in org.apache.poi.hssf.usermodel.HSSFCell.setCellErrorValue(FormulaError) where one case falls through to the next case At HSSFCell.java:[lines 819-822]
M D NP: Load of known null value in org.apache.poi.ss.formula.FormulaParser.parseStructuredReference(String) At FormulaParser.java:[line 815]
M D SF: Switch statement found in org.apache.poi.ss.formula.FormulaParser.parseSheetName(boolean) where default case is missing At FormulaParser.java:[lines 1179-1191]
M V EI2: new org.apache.poi.sl.draw.DrawPaint(PlaceableShape) may expose internal representation by storing an externally mutable object into DrawPaint.shape At DrawPaint.java:[line 81]
M D SF: Switch statement found in org.apache.poi.sl.draw.DrawPaint.getTexturePaint(PaintStyle$TexturePaint, Graphics2D) where default case is missing At DrawPaint.java:[lines 301-310]
M V EI2: new org.apache.poi.sl.draw.DrawTextParagraph(TextParagraph) may expose internal representation by storing an externally mutable object into DrawTextParagraph.paragraph At DrawTextParagraph.java:[line 113]
M V EI: org.apache.poi.ss.formula.OperationEvaluationContext.getWorkbook() may expose internal representation by returning OperationEvaluationContext._workbook At OperationEvaluationContext.java:[line 89]
M V EI2: new org.apache.poi.ss.formula.OperationEvaluationContext(WorkbookEvaluator, EvaluationWorkbook, int, int, int, EvaluationTracker, boolean) may expose internal representation by storing an externally mutable object into OperationEvaluationContext._workbook At OperationEvaluationContext.java:[line 72]
M V EI2: new org.apache.poi.ss.formula.OperationEvaluationContext(WorkbookEvaluator, EvaluationWorkbook, int, int, int, EvaluationTracker, boolean) may expose internal representation by storing an externally mutable object into OperationEvaluationContext._bookEvaluator At OperationEvaluationContext.java:[line 71]
M V EI: org.apache.poi.poifs.crypt.agile.EncryptionDocument.getKeyData() may expose internal representation by returning EncryptionDocument.keyData At EncryptionDocument.java:[line 98]
M V EI2: org.apache.poi.poifs.crypt.agile.EncryptionDocument.setDataIntegrity(DataIntegrity) may expose internal representation by storing an externally mutable object into EncryptionDocument.dataIntegrity At EncryptionDocument.java:[line 110]
M V EI2: org.apache.poi.poifs.crypt.agile.EncryptionDocument.setKeyData(KeyData) may expose internal representation by storing an externally mutable object into EncryptionDocument.keyData At EncryptionDocument.java:[line 102]
M V EI: org.apache.poi.poifs.crypt.agile.EncryptionDocument.getKeyEncryptors() may expose internal representation by returning EncryptionDocument.keyEncryptors At EncryptionDocument.java:[line 114]
M V EI: org.apache.poi.poifs.crypt.agile.EncryptionDocument.getDataIntegrity() may expose internal representation by returning EncryptionDocument.dataIntegrity At EncryptionDocument.java:[line 106]
M V EI2: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.setEncryptedKeyValue(byte[]) may expose internal representation by storing an externally mutable object into CertificateKeyEncryptor.encryptedKeyValue At CertificateKeyEncryptor.java:[line 76]
M V EI: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.getEncryptedKeyValue() may expose internal representation by returning CertificateKeyEncryptor.encryptedKeyValue At CertificateKeyEncryptor.java:[line 72]
M V EI: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.getX509Certificate() may expose internal representation by returning CertificateKeyEncryptor.x509Certificate At CertificateKeyEncryptor.java:[line 80]
M V EI2: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.setCertVerifier(byte[]) may expose internal representation by storing an externally mutable object into CertificateKeyEncryptor.certVerifier At CertificateKeyEncryptor.java:[line 92]
M V EI2: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.setX509Certificate(byte[]) may expose internal representation by storing an externally mutable object into CertificateKeyEncryptor.x509Certificate At CertificateKeyEncryptor.java:[line 84]
M V EI: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.getCertVerifier() may expose internal representation by returning CertificateKeyEncryptor.certVerifier At CertificateKeyEncryptor.java:[line 88]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedVerifierHashInput(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedVerifierHashInput At PasswordKeyEncryptor.java:[line 220]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getSaltValue() may expose internal representation by returning PasswordKeyEncryptor.saltValue At PasswordKeyEncryptor.java:[line 200]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setSaltValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.saltValue At PasswordKeyEncryptor.java:[line 204]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedVerifierHashValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedVerifierHashValue At PasswordKeyEncryptor.java:[line 228]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedVerifierHashInput() may expose internal representation by returning PasswordKeyEncryptor.encryptedVerifierHashInput At PasswordKeyEncryptor.java:[line 216]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedKeyValue() may expose internal representation by returning PasswordKeyEncryptor.encryptedKeyValue At PasswordKeyEncryptor.java:[line 232]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedVerifierHashValue() may expose internal representation by returning PasswordKeyEncryptor.encryptedVerifierHashValue At PasswordKeyEncryptor.java:[line 224]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedKeyValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedKeyValue At PasswordKeyEncryptor.java:[line 236]
M V EI: org.apache.poi.ss.usermodel.DataFormatter.getLocaleChangedObservable() may expose internal representation by returning DataFormatter.pcs At DataFormatter.java:[line 1231]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator(Workbook, WorkbookEvaluatorProvider) may expose internal representation by storing an externally mutable object into DataValidationEvaluator.workbook At DataValidationEvaluator.java:[line 79]
M D DLS: Dead store to sheet in org.apache.poi.hssf.usermodel.helpers.HSSFRowColShifter.updateRowFormulas(HSSFRow, FormulaShifter) At HSSFRowColShifter.java:[line 71]
M V EI: org.apache.poi.hssf.usermodel.HSSFRow.getSheet() may expose internal representation by returning HSSFRow.sheet At HSSFRow.java:[line 273]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.formatting At EvaluationConditionalFormatRule.java:[line 116]
M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getRegions() may expose internal representation by returning EvaluationConditionalFormatRule.regions At EvaluationConditionalFormatRule.java:[line 194]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.workbookEvaluator At EvaluationConditionalFormatRule.java:[line 114]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.sheet At EvaluationConditionalFormatRule.java:[line 115]
M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getSheet() may expose internal representation by returning EvaluationConditionalFormatRule.sheet At EvaluationConditionalFormatRule.java:[line 152]
M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getFormatting() may expose internal representation by returning EvaluationConditionalFormatRule.formatting At EvaluationConditionalFormatRule.java:[line 159]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.regions At EvaluationConditionalFormatRule.java:[line 123]
M V EI: org.apache.poi.poifs.crypt.agile.KeyEncryptor.getCertificateKeyEncryptor() may expose internal representation by returning KeyEncryptor.certificateKeyEncryptor At KeyEncryptor.java:[line 75]
M V EI: org.apache.poi.poifs.crypt.agile.KeyEncryptor.getPasswordKeyEncryptor() may expose internal representation by returning KeyEncryptor.passwordKeyEncryptor At KeyEncryptor.java:[line 67]
M V EI2: org.apache.poi.poifs.crypt.agile.KeyEncryptor.setCertificateKeyEncryptor(CertificateKeyEncryptor) may expose internal representation by storing an externally mutable object into KeyEncryptor.certificateKeyEncryptor At KeyEncryptor.java:[line 79]
M V EI2: org.apache.poi.poifs.crypt.agile.KeyEncryptor.setPasswordKeyEncryptor(PasswordKeyEncryptor) may expose internal representation by storing an externally mutable object into KeyEncryptor.passwordKeyEncryptor At KeyEncryptor.java:[line 71]
M B NP: org.apache.poi.ss.formula.functions.Countif.parseBoolean(String) has Boolean return type and returns explicit null At Countif.java:[line 554]
M V EI2: org.apache.poi.hssf.record.OldStringRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldStringRecord.codepage At OldStringRecord.java:[line 73]
M V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacKey() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacKey At AgileEncryptionHeader.java:[line 112]
M V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacValue() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacValue At AgileEncryptionHeader.java:[line 120]
M V EI: org.apache.poi.ss.formula.BaseFormulaEvaluator._getWorkbookEvaluator() may expose internal representation by returning BaseFormulaEvaluator._bookEvaluator At BaseFormulaEvaluator.java:[line 63]
M V EI2: new org.apache.poi.hssf.record.SupBookRecord(String, String[]) may expose internal representation by storing an externally mutable object into SupBookRecord.field_3_sheet_names At SupBookRecord.java:[line 77]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.LookupUtils.lookupIndexOfValue(LookupUtils$LookupValueComparer, LookupUtils$ValueVector, LookupUtils$MatchMode, boolean) where default case is missing At LookupUtils.java:[lines 710-734]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.LookupUtils.binarySearchIndexOfValue(LookupUtils$LookupValueComparer, LookupUtils$ValueVector, LookupUtils$MatchMode, boolean) where default case is missing At LookupUtils.java:[lines 761-785]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataName() may expose internal representation by returning HSSFChart$HSSFSeries.dataName At HSSFChart.java:[line 1033]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getSeries() may expose internal representation by returning HSSFChart$HSSFSeries.series At HSSFChart.java:[line 1061]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataValues() may expose internal representation by returning HSSFChart$HSSFSeries.dataValues At HSSFChart.java:[line 1040]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataSecondaryCategoryLabels() may expose internal representation by returning HSSFChart$HSSFSeries.dataSecondaryCategoryLabels At HSSFChart.java:[line 1054]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataCategoryLabels() may expose internal representation by returning HSSFChart$HSSFSeries.dataCategoryLabels At HSSFChart.java:[line 1047]
M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics(HSSFShapeGroup, HSSFWorkbook, Color, float) may expose internal representation by storing an externally mutable object into EscherGraphics.escherGroup At EscherGraphics.java:[line 82]
M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics(HSSFShapeGroup, HSSFWorkbook, Color, float) may expose internal representation by storing an externally mutable object into EscherGraphics.workbook At EscherGraphics.java:[line 83]
M V EI: org.apache.poi.hssf.extractor.ExcelExtractor.getFilesystem() may expose internal representation by returning ExcelExtractor._wb At ExcelExtractor.java:[line 434]
M V EI: org.apache.poi.hssf.extractor.ExcelExtractor.getDocument() may expose internal representation by returning ExcelExtractor._wb At ExcelExtractor.java:[line 419]
M V EI2: new org.apache.poi.hssf.extractor.ExcelExtractor(HSSFWorkbook) may expose internal representation by storing an externally mutable object into ExcelExtractor._wb At ExcelExtractor.java:[line 67]
M B Nm: The class name org.apache.poi.hssf.extractor.ExcelExtractor shadows the simple name of implemented interface org.apache.poi.ss.extractor.ExcelExtractor At ExcelExtractor.java:[lines 56-434]
M V EI: org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor.getDocument() may expose internal representation by returning HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 144]
M V EI: org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor.getFilesystem() may expose internal representation by returning HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 159]
M V EI2: new org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor(POIDocument) may expose internal representation by storing an externally mutable object into HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 46]
M V EI2: new org.apache.poi.ss.usermodel.RangeCopier(Sheet, Sheet) may expose internal representation by storing an externally mutable object into RangeCopier.destSheet At RangeCopier.java:[line 38]
M V EI2: new org.apache.poi.ss.usermodel.RangeCopier(Sheet, Sheet) may expose internal representation by storing an externally mutable object into RangeCopier.sourceSheet At RangeCopier.java:[line 37]
M V EI2: org.apache.poi.hssf.record.OldSheetRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldSheetRecord.codepage At OldSheetRecord.java:[line 70]
M V EI2: org.apache.poi.hssf.record.OldLabelRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldLabelRecord.codepage At OldLabelRecord.java:[line 71]
M V EI: org.apache.poi.ddf.EscherTextboxRecord.getData() may expose internal representation by returning EscherTextboxRecord.thedata At EscherTextboxRecord.java:[line 107]
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]
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]
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]
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.poifs.filesystem.DocumentInputStream._data; locked 80% of time Unsynchronized access at DocumentInputStream.java:[line 288]
SpotBugs ended with exit code 1
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-scratchpad:test'.
> Process 'Gradle Test Executor 23' finished with non-zero exit value 1
This problem might be caused by incorrect test process configuration.
Please refer to the test execution section in the User Manual at https://docs.gradle.org/7.6/userguide/java_testing.html#sec:test_execution
* 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 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 6m
80 actionable tasks: 75 executed, 5 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
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