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
org.apache.poi.stress.TestAllFiles > handleAdditional(String, 
FileHandlerKnown, String, Class, String) initializationError 
FAILED

  java.lang.NullPointerException
      at org.apache.poi.stress.TestAllFiles.allfiles(TestAllFiles.java:148)

org.apache.poi.stress.TestAllFiles > handleExtracting(String, 
FileHandlerKnown, String, Class, String) initializationError 
FAILED

  java.lang.NullPointerException
      at org.apache.poi.stress.TestAllFiles.allfiles(TestAllFiles.java:148)

org.apache.poi.stress.TestAllFiles > handleFile(String, 
FileHandlerKnown, String, Class, String) initializationError 
FAILED

  java.lang.NullPointerException
      at org.apache.poi.stress.TestAllFiles.allfiles(TestAllFiles.java:148)


FAILURE: Executed 3 tests in 16.9s (3 failed)


3 tests completed, 3 failed

> Task :poi-examples:test
org.apache.poi.integration.TestXLSX2CSV testInvalidFile() 
PASSED
org.apache.poi.integration.TestXLSX2CSV testNoArgument() 
PASSED
org.apache.poi.integration.TestXLSX2CSV testSampleFile() 
PASSED (9s)
org.apache.poi.integration.TestXLSX2CSV testMinColumns() 
PASSED
org.apache.poi.integration.TestXLSX2CSV 
testInvalidSampleFile() PASSED

> Task :poi-examples:spotbugsTest

> Task :poi-scratchpad:javadoc
2 warnings

> Task :poi-examples:test

SUCCESS: Executed 5 tests in 16.9s


> Task :poi-excelant:test
org.apache.poi.ss.excelant.TestExcelAntPrecision 
testVerifyPrecision() 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.TestExcelAntUserDefinedFunction 
testSetClassName() PASSED
org.apache.poi.ss.excelant.TestExcelAntUserDefinedFunction 
testSetFunction() PASSED
org.apache.poi.ss.excelant.TestBuildFile 
testFailOnErrorNoDetails() PASSED (2.4s)

> 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
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory 
testGetNewWorkbookUtilInstance() PASSED (5.9s)
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtilFactory 
testVerifyEquivalence() PASSED
org.apache.poi.ss.excelant.util.TestExcelAntWorkbookUtil 
testWorkbookConstructor() PASSED (4.8s)
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.TestExcelAntSet 
testSetWorkbookUtil() PASSED (5.3s)
org.apache.poi.ss.excelant.TestExcelAntSet testSetter() 
PASSED
org.apache.poi.ss.excelant.TestBuildFile testUdf() 
PASSED (4.4s)
org.apache.poi.ss.excelant.TestExcelAntSetDoubleCell 
testSetDouble() PASSED (4.6s)
org.apache.poi.ss.excelant.TestBuildFile testPrecision() 
PASSED

> 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
org.apache.poi.ss.excelant.TestBuildFile testPassOnError() 
PASSED
org.apache.poi.ss.excelant.TestBuildFile 
testMissingFilename() 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.util.TestExcelAntWorkbookUtil 
testGetEvaluatorXLSXWithFunction() PASSED (2.6s)
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.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

SUCCESS: Executed 49 tests in 20.7s


> 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]

Reply via email to