Build failed in Jenkins: POI » POI-DSL-Windows-1.24 #76

Apache Jenkins Server <[email protected]> Sun, 14 Jun 2026 06:18:16 +0000 (UTC)
Newsgroups gmane.comp.jakarta.poi.devel
Message-ID <[email protected]>
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.24/76/display/redirect?page=changes>

Changes:

[github] read OldFfn font description length as unsigned byte (#1122)

[github] Fix resource leak in ZipSecureFile constructors and correct path logging

[github] Harden duplicate ZIP entry validation against path separator bypasses

[github] add util to normalize path (#1125)

[github] Fix temporary file leak in ZipInputStreamZipEntrySource on constructor

[github] Clean up imports in TestZipSecureFile

[github] Fix offset calculation in ParagraphSprmUncompressor.handleTabs() (#1127)

[github] switch to java 17 minimum (#1129)

[PJ Fanning] Update create_jobs.groovy

[github] update instanceof usage (#1130)

[github] some changes related to java 17 (#1131)

[github] Update TestExcelStyleDateFormatter.java (#1132)

[github] more instanceof changes (#1133)

[github] more instanceof (#1134)

[PJ Fanning] add StringUtil.equalsIgnoreCase that uses root locale

[PJ Fanning] change StringUtil endsWithIgnoreCase/startsWithIgnoreCase to use root

[github] use StringUtil.equalsIgnoreCase (#1137)

[PJ Fanning] isolate tests that modify the default locale

[github] Fix case-insensitive ZIP entry matching in ZipFileZipEntrySource under

[github] use StringUtil.equalsIgnoreCase (#1138)

[github] use java 17 code enhancements (#1139)

[github] use java 17 code enhancements (#1140)

[github] more use of java 17 switch (#1141)

[github] gradle 9.5.1 (#1142)

[github] refactor more switch stmts (#1143)

[PJ Fanning] use gradle in CI

[PJ Fanning] Update create_jobs.groovy

[PJ Fanning] Update create_jobs.groovy


------------------------------------------
[...truncated 2.06 MiB...]
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:647: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:650: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:653: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:656: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE, run.getFontSize());
                                             ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:659: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
                                                 ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:662: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:665: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE, run.getFontSize());
                                               ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:668: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:716: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
97 warnings

> Task :poi-excelant:compileJava
> Task :poi-ooxml-lite:compileJava9
> Task :poi-examples:compileJava9
> Task :poi-examples:classes
> Task :poi-examples:jar
> Task :poi-excelant:compileJava9
> Task :poi-excelant:classes
> Task :poi-excelant:jar
> Task :poi:javadocJar
> Task :poi:assemble
> Task :poi:build
> Task :poi-ooxml-full:jacocoTestReport SKIPPED
> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain
> Task :poi-examples:javadoc
> Task :poi-ooxml-lite:processResources

> 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 B CT: Exception thrown in class org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil at new org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks.  At ExcelAntWorkbookUtil.java:[line 71]
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 :poi-ooxml:compileTest9
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-excelant:getDeps
> Task :poi-examples:javadocJar
> Task :poi-examples:assemble
> Task :poi-examples:forbiddenApisMain

> Task :poi-integration:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.24\poi-integration\src\test\java\org\apache\poi\stress\OptimizedNullPrintStream.java:29: warning: [deprecation] NullPrintStream() in NullPrintStream has been deprecated
class OptimizedNullPrintStream extends NullPrintStream {
^
1 warning

> Task :poi-excelant:compileTestJava
> Task :poi-examples:compileTestJava
> Task :poi-integration:compileTest9
> Task :poi-examples:testClasses
> Task :poi-examples:forbiddenApisTest
> Task :poi-examples:forbiddenApis
> Task :poi-excelant:compileTest9
> Task :poi-ooxml:javadoc
> Task :poi-examples:spotbugsMain
> Task :poi-examples:spotbugsTest
> Task :soLinkCheck

> Task :poi-examples:spotbugsMain
M V EI2: new org.apache.poi.examples.hwpf.Word2Forrest(HWPFDocument, OutputStream) may expose internal representation by storing an externally mutable object into Word2Forrest._doc  At Word2Forrest.java:[line 46]
M D FE: Test for floating point equality in org.apache.poi.examples.xwpf.usermodel.UpdateEmbeddedDoc.checkUpdatedDoc()  At UpdateEmbeddedDoc.java:[line 165]
M B CT: Exception thrown in class org.apache.poi.examples.xwpf.usermodel.UpdateEmbeddedDoc at new org.apache.poi.examples.xwpf.usermodel.UpdateEmbeddedDoc(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks.  At UpdateEmbeddedDoc.java:[line 77]

> Task :poi-examples:test


WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
Jun 14, 2026 6:15:39 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider has been removed
org.apache.poi.integration.TestXLSX2CSV testInvalidFile() PASSED
org.apache.poi.integration.TestXLSX2CSV testNoArgument() PASSED
org.apache.poi.integration.TestXLSX2CSV microBenchmark() SKIPPED
org.apache.poi.integration.TestXLSX2CSV testSampleFile() PASSED (9.7s)
org.apache.poi.integration.TestXLSX2CSV testMinColumns() PASSED
org.apache.poi.integration.TestXLSX2CSV testInvalidSampleFile() PASSED (1.2s)
org.apache.poi.integration.TestXLSX2CSV testDeepFile() PASSED (9.8s)
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports

> Task :poi-examples:spotbugsMain
M V EI2: org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) may expose internal representation by storing an externally mutable object into EventExample.sstrec  At EventExample.java:[line 80]
M D SF: Switch statement found in org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) where default case is missing  At EventExample.java:[lines 50-88]
M V EI2: new org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem, PrintStream, int) may expose internal representation by storing an externally mutable object into XLS2CSVmra.output  At XLS2CSVmra.java:[line 92]
M V EI2: org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.processRecord(Record) may expose internal representation by storing an externally mutable object into XLS2CSVmra.sstRecord  At XLS2CSVmra.java:[line 172]
M V EI2: new org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem, PrintStream, int) may expose internal representation by storing an externally mutable object into XLS2CSVmra.fs  At XLS2CSVmra.java:[line 91]
M B CT: Exception thrown in class org.apache.poi.examples.ss.LinkedDropDownLists at new org.apache.poi.examples.ss.LinkedDropDownLists(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks.  At LinkedDropDownLists.java:[line 107]
M C FL: Using floating-point loop counters can lead to unexpected behavior.  At OfficeDrawingWithGraphics.java:[line 93]
M V EI2: new org.apache.poi.examples.ss.html.HSSFHtmlHelper(HSSFWorkbook) may expose internal representation by storing an externally mutable object into HSSFHtmlHelper.wb  At HSSFHtmlHelper.java:[line 38]
M V EI: org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem.getLowerLevelItems() may expose internal representation by returning InCellLists$MultiLevelListItem.lowerLevelItems  At InCellLists.java:[line 536]
M V EI2: new org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem(String, List) may expose internal representation by storing an externally mutable object into InCellLists$MultiLevelListItem.lowerLevelItems  At InCellLists.java:[line 516]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage, PrintStream, int) may expose internal representation by storing an externally mutable object into XLSX2CSV.xlsxPackage  At XLSX2CSV.java:[line 181]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage, PrintStream, int) may expose internal representation by storing an externally mutable object into XLSX2CSV.output  At XLSX2CSV.java:[line 182]
M V EI2: new org.apache.poi.examples.ss.formula.CheckFunctionsSupported(Workbook) may expose internal representation by storing an externally mutable object into CheckFunctionsSupported.workbook  At CheckFunctionsSupported.java:[line 103]
M C UwF: Unwritten field: org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.workbookBuildingListener  At XLS2CSVmra.java:[line 151]
M P SS: Unread field: org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.outputFormulaValues; should this field be static?  At XLS2CSVmra.java:[line 64]
SpotBugs ended with exit code 1

> Task :poi-excelant:testClasses
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis

> Task :poi-examples:test
Jun 14, 2026 6:16:13 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider has been removed
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra testProcessNumberRecord() PASSED (5.3s)
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra testProcess() PASSED
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra test() PASSED
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra testWithMinCols() PASSED

SUCCESS: Executed 11 tests in 54.5s (1 skipped)


> Task :poi-excelant:spotbugsTest
M B PA: Primitive field org.apache.poi.ss.excelant.MockExcelAntWorkbookHandler.workbook is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.  At MockExcelAntWorkbookHandler.java:[line 26]
M B PA: Primitive field org.apache.poi.ss.excelant.MockExcelAntWorkbookHandler.executed is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.  At MockExcelAntWorkbookHandler.java:[line 25]
SpotBugs ended with exit code 1

> Task :poi-excelant:testJar
> Task :rat FAILED
> Task :poi-excelant:test


WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction (file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.17.7/3856bfab61beb23e099a0d6629f2ba8de4b98ace/byte-buddy-1.17.7.jar)
WARNING: Please consider reporting this to the maintainers of class net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction (file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.17.7/3856bfab61beb23e099a0d6629f2ba8de4b98ace/byte-buddy-1.17.7.jar)
WARNING: Please consider reporting this to the maintainers of class net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
Jun 14, 2026 6:17:35 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider has been removed
Jun 14, 2026 6:17:35 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider has been removed
org.apache.poi.ss.excelant.TestExcelAntPrecision testVerifyPrecision() PASSED
org.apache.poi.ss.excelant.TestBuildFile testFailOnErrorNoDetails() PASSED (2s)
org.apache.poi.ss.excelant.TestExcelAntSetDoubleCell testSetDouble() PASSED (4.1s)
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testWorkbookConstructor() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testAddFunctionInvalidClassName() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetEvaluatorWithUDF() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testSetDoubleValue() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testEvaluateCellWithError() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testLoadNotExistingFile() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testAddFunctionClassName() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetNonexistingDouble() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testAddFunction() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testFileName() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetNonexistingString() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testSetNotExistingSheet() PASSED
org.apache.poi.ss.excelant.TestBuildFile testUdf() PASSED (5.4s)
org.apache.poi.ss.excelant.TestBuildFile testPrecision() PASSED
org.apache.poi.ss.excelant.TestBuildFile testPassOnError() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetEvaluatorXLSXWithFunction() PASSED (3.9s)
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testStringConstructor() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testEvaluateCellFailedPrecision() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testSetString() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testEvaluateCell() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetWorkbook() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetSheets() PASSED
org.apache.poi.ss.excelant.TestBuildFile testMissingFilename() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testSetFormula() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testSetDate() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetEvaluator() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil testGetEvaluatorXLSX() PASSED
org.apache.poi.ss.excelant.TestBuildFile testAddHandlerWrongClass() PASSED
org.apache.poi.ss.excelant.TestBuildFile testEvaluate() PASSED
org.apache.poi.ss.excelant.TestBuildFile testFileNotFound() PASSED
org.apache.poi.ss.excelant.TestBuildFile testEvaluateNoDetails() PASSED
org.apache.poi.ss.excelant.TestBuildFile testAddHandlerFails() PASSED
org.apache.poi.ss.excelant.TestBuildFile testPrecisionFail() PASSED
org.apache.poi.ss.excelant.TestBuildFile testSetText() PASSED
org.apache.poi.ss.excelant.TestBuildFile testAddHandler() PASSED
org.apache.poi.ss.excelant.TestBuildFile testFailOnError() PASSED
org.apache.poi.ss.excelant.TestExcelAntSet testSetWorkbookUtil() PASSED
org.apache.poi.ss.excelant.TestExcelAntSet testSetter() PASSED
org.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction testSetClassName() PASSED
org.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction testSetFunction() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult testCompletedWithErrorMessage() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult testDelta() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult testCellId() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult testPassed() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory testGetNewWorkbookUtilInstance() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory testVerifyEquivalence() PASSED

SUCCESS: Executed 49 tests in 21.1s


[Incubating] Problems report is available at: file:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.24/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rat' (registered by plugin 'org.nosphere.apache.rat').
> Could not resolve all files for configuration ':detachedConfiguration1'.
   > Could not resolve org.apache.rat:apache-rat:0.15.
     Required by:
         root project 'poi'
      > Could not resolve org.apache.rat:apache-rat:0.15.
         > Could not parse POM https://repo.maven.apache.org/maven2/org/apache/rat/apache-rat/0.15/apache-rat-0.15.pom
            > Could not resolve org.apache.rat:apache-rat-project:0.15.
               > Could not resolve org.apache.rat:apache-rat-project:0.15.
                  > Could not load module metadata from C:\Users\jenkins\.gradle\caches\modules-2\metadata-2.107\descriptors\org.apache.rat\apache-rat-project\0.15\26c913274550a0b2221f47a0fe2d2358\descriptor.bin

* 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 from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

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

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

For more on this, please refer to https://docs.gradle.org/9.5.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 35m
113 actionable tasks: 113 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.