See <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/165/display/redirect?page=changes>
Changes: [PJ Fanning] use more nio file support [PJ Fanning] [bug-67005] XSLFPictureShape - audio-related methods. Thanks to Max [PJ Fanning] [bug-67402] DATEVALUE function should return #VALUE! for a null or empty string argument. Thanks to Jakub Vojtisek. [PJ Fanning] missing header [PJ Fanning] [bug-67396] StreamHelper does not set standalone=yes when built-in javax Transformer is used [Dominik Stadler] Bug 66425: Avoid NullPointerExceptions found via poi-fuzz We try to avoid throwing NullPointerException, but it was possible to trigger one here [Dominik Stadler] Bug 66425: Avoid NullPointerExceptions found via poi-fuzz We try to avoid throwing NullPointerException, but it was possible to trigger one here [Dominik Stadler] Bug 66425: Avoid a NullPointerException found via oss-fuzz We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Fixes https://oss-fuzz.com/testcase-detail/5265527465181184 [PJ Fanning] [bug-63934] Fix parsing of structure references. Thanks to Matthias Raschhofer. This closes #514 [Dominik Stadler] Bug 66425: Avoid a NullPointerException found via oss-fuzz Ignore results of one file because the Exception is different in Java 8 and Java 11 [Dominik Stadler] Bug 66425: Avoid a NullPointerException found via oss-fuzz We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62225 [Dominik Stadler] Bug 66425: Avoid a ClassCastException found via oss-fuzz We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62170 [Dominik Stadler] Bug 66425: Avoid a NullPointerException found via oss-fuzz We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62208 [Dominik Stadler] Bug 66425: Avoid a NullPointerException found via oss-fuzz We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62216 [Dominik Stadler] Bug 66828: Update Ant to 1.10.14 Now that adding the file allow.class was reverted, we should be able to update [PJ Fanning] commons-compress 1.24.0 [PJ Fanning] commons-compress 1.24.0 ------------------------------------------ [...truncated 1.86 MB...] > Task :poi-ooxml-full:getDeps > Task :poi-ooxml-full:jacocoTestReport SKIPPED > Task :poi-ooxml:compileTestJava 16 warnings > Task :poi-ooxml:compileTest9 > Task :poi-ooxml:testClasses > Task :poi:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ > Task :poi-ooxml:testJar > Task :poi-scratchpad:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ javadoc: warning - Error fetching URL: https://commons.apache.org/proper/commons-compress/apidocs/ > Task :poi-integration:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/poi-integration/src/test/java/org/apache/poi/stress/OptimizedNullPrintStream.java>:29: warning: [deprecation] NullPrintStream() in org.apache.commons.io.output.NullPrintStream has been deprecated class OptimizedNullPrintStream extends NullPrintStream { ^ 1 warning > Task :poi-excelant:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ javadoc: warning - Error fetching URL: https://commons.apache.org/proper/commons-compress/apidocs/ 2 warnings > Task :poi-examples:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ javadoc: warning - Error fetching URL: https://commons.apache.org/proper/commons-compress/apidocs/ > Task :poi-excelant:compileTestJava > Task :poi-integration:compileTest9 > Task :poi-integration:testClasses > Task :poi:javadoc javadoc: warning - Error fetching URL: https://commons.apache.org/proper/commons-compress/apidocs/ > Task :poi-integration:forbiddenApisTest > Task :poi-integration:forbiddenApis > Task :poi-integration:testJar > Task :poi-examples:javadoc 2 warnings > Task :poi-examples:javadocJar > Task :poi-examples:assemble > Task :poi-examples:forbiddenApisMain > Task :poi-integration:test > Task :poi-examples:compileTestJava > Task :poi-examples:testClasses > Task :poi-examples:forbiddenApisTest > Task :poi-examples:forbiddenApis > Task :poi-excelant:compileTest9 > Task :poi-excelant:javadocJar > Task :poi-excelant:assemble > Task :poi-examples:test > Task :poi-excelant:forbiddenApisMain > Task :poi-excelant:testClasses > Task :poi-excelant:forbiddenApisTest > Task :poi-excelant:forbiddenApis > Task :poi-excelant:testJar > Task :poi-excelant:test > Task :poi-integration:test FAILED [0K[1morg.apache.poi.stress.TestAllFiles > handleAdditional(String, FileHandlerKnown, String, Class, String)[22m initializationError[31m FAILED[31m java.lang.NullPointerException at org.apache.poi.stress.TestAllFiles.allfiles(TestAllFiles.java:148) [m [0K[1morg.apache.poi.stress.TestAllFiles > handleExtracting(String, FileHandlerKnown, String, Class, String)[22m initializationError[31m FAILED[31m java.lang.NullPointerException at org.apache.poi.stress.TestAllFiles.allfiles(TestAllFiles.java:148) [m [0K[1morg.apache.poi.stress.TestAllFiles > handleFile(String, FileHandlerKnown, String, Class, String)[22m initializationError[31m FAILED[31m java.lang.NullPointerException at org.apache.poi.stress.TestAllFiles.allfiles(TestAllFiles.java:148) [m [0K[1;31mFAILURE: [39mExecuted 3 tests in 16.9s (3 failed)[m 3 tests completed, 3 failed > 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 testSampleFile()[32m PASSED[31m (9s)[m [0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testMinColumns()[32m PASSED[m [0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testInvalidSampleFile()[32m PASSED[m > Task :poi-examples:spotbugsTest > Task :poi-scratchpad:javadoc 2 warnings > Task :poi-examples:test [0K[1;32mSUCCESS: [39mExecuted 5 tests in 16.9s[m > Task :poi-excelant:test [0K[1morg.apache.poi.ss.excelant.TestExcelAntPrecision[22m testVerifyPrecision()[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.TestExcelAntUserDefinedFunction[22m testSetClassName()[32m PASSED[m [0K[1morg.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction[22m testSetFunction()[32m PASSED[m [0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testFailOnErrorNoDetails()[32m PASSED[31m (2.4s)[m > Task :poi-ooxml-lite:compileJava > Task :poi-excelant:spotbugsMain M V EI2: org.apache.poi.ss.excelant.ExcelAntSet.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntSet.wbUtil At ExcelAntSet.java:[line 39] M V EI: org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.getWorkbook() may expose internal representation by returning ExcelAntWorkbookUtil.workbook At ExcelAntWorkbookUtil.java:[line 193] M V EI2: org.apache.poi.ss.excelant.ExcelAntTest.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntTest.workbookUtil At ExcelAntTest.java:[line 67] M D DCN: Do not catch NullPointerException like in org.apache.poi.ss.excelant.ExcelAntTest.execute() At ExcelAntTest.java:[line 180] M V EI2: org.apache.poi.ss.excelant.ExcelAntTask.addPrecision(ExcelAntPrecision) may expose internal representation by storing an externally mutable object into ExcelAntTask.precision At ExcelAntTask.java:[line 55] SpotBugs ended with exit code 1 > Task :poi-excelant:test [0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory[22m testGetNewWorkbookUtilInstance()[32m PASSED[31m (5.9s)[m [0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory[22m testVerifyEquivalence()[32m PASSED[m [0K[1morg.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil[22m testWorkbookConstructor()[32m PASSED[31m (4.8s)[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.TestExcelAntSet[22m testSetWorkbookUtil()[32m PASSED[31m (5.3s)[m [0K[1morg.apache.poi.ss.excelant.TestExcelAntSet[22m testSetter()[32m PASSED[m [0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testUdf()[32m PASSED[31m (4.4s)[m [0K[1morg.apache.poi.ss.excelant.TestExcelAntSetDoubleCell[22m testSetDouble()[32m PASSED[31m (4.6s)[m [0K[1morg.apache.poi.ss.excelant.TestBuildFile[22m testPrecision()[32m PASSED[m > Task :poi-excelant:spotbugsTest > Task :poi-integration:spotbugsTest M V MS: org.apache.poi.stress.AbstractFileHandler.EXPECTED_EXTRACTOR_FAILURES is a mutable collection which should be package protected At AbstractFileHandler.java:[line 48] M V MS: org.apache.poi.stress.TestAllFiles.SCAN_EXCLUDES should be package protected At TestAllFiles.java:[line 86] M V MS: org.apache.poi.stress.TestAllFiles.SCAN_EXCLUDES_NOSCRATCHPAD should be package protected At TestAllFiles.java:[line 102] SpotBugs ended with exit code 1 > Task :poi:javadoc 2 warnings > Task :poi-excelant:test [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.util.TestExcelAntWorkbookUtil[22m testGetEvaluatorXLSXWithFunction()[32m PASSED[31m (2.6s)[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 [0K[1;32mSUCCESS: [39mExecuted 49 tests in 20.7s[m > Task :poi-ooxml:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ javadoc: warning - Error fetching URL: https://commons.apache.org/proper/commons-compress/apidocs/ > 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] H B Nm: The class name org.apache.poi.examples.hssf.usermodel.AddDimensionedImage shadows the simple name of the superclass org.apache.poi.examples.ss.AddDimensionedImage At AddDimensionedImage.java:[line 29] 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.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.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 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.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:javadoc 2 warnings FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi-integration:test'. > There were failing tests. See the report at: > file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/poi-integration/build/reports/tests/test/index.html> * Try: > Run with --scan to get full insights. 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.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 3m 19s 112 actionable tasks: 109 executed, 3 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
