See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/961/display/redirect?page=changes>
Changes:
[PJ Fanning] Update Biff8EncryptionKey.java
[github] more method names in limit exceptions (#1121)
[PJ Fanning] new IOUtils methods
[PJ Fanning] Update security.xml
[PJ Fanning] Update encryption.xml
------------------------------------------
[...truncated 2.07 MiB...]
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:505:
warning: [deprecation] getPictureType() in XWPFPictureData has been deprecated
assertEquals(5, pic.getPictureData().getPictureType());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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.17\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.17\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.17\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.17\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.17\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.17\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.17\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.17\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());
^
95 warnings
> Task :poi-scratchpad:javadoc
> Task :poi-ooxml-lite:getDeps
> Task :poi-examples:javadocJar
> Task :poi-ooxml:compileTest9
> Task :poi-examples:assemble
> Task :poi-examples:forbiddenApisMain
> Task :poi-examples:getDeps
> Task :poi-scratchpad:javadocJar
> Task :poi-scratchpad:assemble
> Task :poi-scratchpad:build
> 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]
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-ooxml-lite:jacocoTestReport SKIPPED
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-examples:compileTestJava
> Task :poi-examples:testClasses
> Task :poi-examples:forbiddenApisTest
> Task :poi-examples:forbiddenApis
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9
> Task :poi-integration:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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-ooxml:javadoc
> Task :poi-examples:spotbugsTest
> Task :poi-examples:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn;
support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn;
support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
testProcessNumberRecord()[32m PASSED[31m (7.7s)[m
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
testProcess()[32m PASSED[m
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
test()[32m PASSED[m
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
testWithMinCols()[32m PASSED[m
> Task :poi-excelant:testClasses
> Task :poi-examples:test
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testInvalidFile()[32m
PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testNoArgument()[32m
PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m microBenchmark()[33m
SKIPPED[m
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis
> Task :poi-integration:compileTest9
> Task :poi-examples:test
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testSampleFile()[32m
PASSED[31m (5.6s)[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testMinColumns()[32m
PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m
testInvalidSampleFile()[32m PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testDeepFile()[32m
PASSED[31m (7.3s)[m
[0K[1;32mSUCCESS: [39mExecuted 11 tests in 47.4s (1 skipped)[m
> Task :poi-examples:check
> Task :poi-examples:build
> 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 :poi-excelant:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn;
support was removed in 17.0
> Task :soLinkCheck
> Task :poi-examples:jacocoTestReport
> Task :poi-excelant:test
[0K[1morg.apache.poi.ss.excelant.TestExcelAntPrecision[22m
testVerifyPrecision()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestExcelAntSetDoubleCell[22m
testSetDouble()[32m PASSED[31m (3.8s)[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testWorkbookConstructor()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testAddFunctionInvalidClassName()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetEvaluatorWithUDF()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testSetDoubleValue()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testEvaluateCellWithError()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testLoadNotExistingFile()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testAddFunctionClassName()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetNonexistingDouble()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testAddFunction()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testFileName()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetNonexistingString()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testSetNotExistingSheet()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetEvaluatorXLSXWithFunction()[32m PASSED[31m (2.5s)[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testStringConstructor()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testEvaluateCellFailedPrecision()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testSetString()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testEvaluateCell()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetWorkbook()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetSheets()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testSetFormula()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testSetDate()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetEvaluator()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m
testGetEvaluatorXLSX()[32m PASSED[m
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn;
support was removed in 17.0
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m
testFailOnErrorNoDetails()[32m PASSED[33m (1s)[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testUdf()[32m
PASSED[31m (3s)[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testPrecision()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testPassOnError()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m
testMissingFilename()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m
testAddHandlerWrongClass()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testEvaluate()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testFileNotFound()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m
testEvaluateNoDetails()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m
testAddHandlerFails()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testPrecisionFail()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testSetText()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testAddHandler()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testFailOnError()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestExcelAntSet[22m
testSetWorkbookUtil()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestExcelAntSet[22m testSetter()[32m
PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction[22m
testSetClassName()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction[22m
testSetFunction()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult[22m
testCompletedWithErrorMessage()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult[22m
testDelta()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult[22m
testCellId()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntEvaluationResult[22m
testPassed()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory[22m
testGetNewWorkbookUtilInstance()[32m PASSED[m
[0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory[22m
testVerifyEquivalence()[32m PASSED[m
[0K[1;32mSUCCESS: [39mExecuted 49 tests in 34.2s[m
> Task :poi-excelant:check
> Task :poi-excelant:build
> Task :poi-excelant:jacocoTestReport FAILED
> Task :rat FAILED
[Incubating] Problems report is available at:
file:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/build/reports/problems/problems-report.html
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':poi-excelant:jacocoTestReport'.
> Failed to store cache entry d140bf19ae04a699153d7b6b44d541b1 for task
> ':poi-excelant:jacocoTestReport': Could not pack tree
> 'reports.enabledReports.html.outputLocation': java.io.IOException: There is
> not enough space on the disk
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':rat'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
> Could not resolve org.apache.rat:apache-rat:0.15.
Required by:
root project :
> 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.
> Failed to add into filestore
'C:\Users\jenkins\.gradle\caches\modules-2\metadata-2.107\descriptors' at
'org.apache.rat/apache-rat-project/0.15/26c913274550a0b2221f47a0fe2d2358/descriptor.bin'
> java.io.IOException: There is not enough space on the
disk
* 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 9.0.
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/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
BUILD FAILED in 40m 31s
122 actionable tasks: 109 executed, 2 from cache, 11 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]