See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/721/display/redirect?page=changes>

Changes:

[Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66400

[Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=68104

[Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a ClassCastException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66089

[Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz

Prevent a NullPointerException

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70273

[Dominik Stadler] List expected failures in stress.xls instead of fully 
excluding them

We list expected failures in stress.xls to verify that
the error message is correct and no unexpected exception
is introduced


------------------------------------------
[...truncated 42.60 KB...]
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheet.java>:835:
 warning: [deprecation] setMargin(short,double) in Sheet has been deprecated
            sheet.setMargin(Sheet.FooterMargin, 5.6);
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheet.java>:836:
 warning: [deprecation] getMargin(short) in Sheet has been deprecated
            assertEquals(5.6, sheet.getMargin(Sheet.FooterMargin), 0.0);
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheet.java>:837:
 warning: [deprecation] setMargin(short,double) in Sheet has been deprecated
            sheet.setMargin(Sheet.HeaderMargin, 11.5);
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheet.java>:838:
 warning: [deprecation] getMargin(short) in Sheet has been deprecated
            assertEquals(11.5, sheet.getMargin(Sheet.HeaderMargin), 0.0);
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheet.java>:843:
 warning: [deprecation] setMargin(short,double) in Sheet has been deprecated
                () -> sheet.setMargin((short) 65, 15)
                           ^

> Task :poi-ooxml-lite:compileOoxmlLite

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:100:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public CTExternalLink getCTExternalLink(){
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:170:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:214:
 warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:285:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:340:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:345:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:173:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java>:211:
 warning: [deprecation] ZipFile(File) in ZipFile has been deprecated
        super(file);
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java>:221:
 warning: [deprecation] ZipFile(String) in ZipFile has been deprecated
        super(name);
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java>:253:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public String getName() {
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:211:
 warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext 
implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102:
 warning: [deprecation] Provider(String,double,String) in Provider has been 
deprecated
            super(NAME, 1d, NAME);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:99:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public File createTempFile() throws IOException {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:111:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:435:
 warning: [unchecked] unchecked call to putArchiveEntry(E) as a member of the 
raw type ArchiveOutputStream
                zos.putArchiveEntry(zeOut);
                                   ^
  where E is a type-variable:
    E extends ArchiveEntry declared in class ArchiveOutputStream
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:53:
 warning: [deprecation] createTempFile() in SheetDataWriter has been deprecated
    public File createTempFile() throws IOException {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:58:
 warning: [deprecation] createWriter(File) in SheetDataWriter has been 
deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^
17 warnings

> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/POITestCase.java>:122:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
            return AccessController.doPrivileged((PrivilegedExceptionAction<R>) 
() -> {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:157:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
    private static class TestOverrideSecurityManager extends SecurityManager {
                                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:175:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
        SecurityManager sm = System.getSecurityManager();
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:175:
 warning: [removal] getSecurityManager() in System has been deprecated and 
marked for removal
        SecurityManager sm = System.getSecurityManager();
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:177:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
            System.setSecurityManager(new TestOverrideSecurityManager());
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/poifs/dev/TestPOIFSDump.java>:180:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
            System.setSecurityManager(sm);
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestBugs.java>:2362:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFSheet.java>:1131:
 warning: [deprecation] createSplitPane(int,int,int,int,int) in HSSFSheet has 
been deprecated
            sheet.createSplitPane(4, 8, 12, 12, 
PaneInformation.PANE_LOWER_RIGHT);
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:387:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:391:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:393:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:396:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:400:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.BOOLEAN);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:401:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:402:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.ERROR);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:403:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:405:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:314:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
        SecurityManager sm = System.getSecurityManager();
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:314:
 warning: [removal] getSecurityManager() in System has been deprecated and 
marked for removal
        SecurityManager sm = System.getSecurityManager();
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:315:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
        System.setSecurityManager(new NoExitSecurityManager());
              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:321:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
            System.setSecurityManager(sm);
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:366:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
    private static class NoExitSecurityManager extends SecurityManager {
                                                       ^

> Task :poi-ooxml-full:getDeps
> Task :poi-ooxml-full:jacocoTestReport SKIPPED

> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90:
 warning: [deprecation] getCode() in CellType has been deprecated
        assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90:
 warning: [deprecation] getCachedResultType() in FormulaRecord has been 
deprecated
        assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/model/TestSheet.java>:554:
 warning: [deprecation] setMargin(short,double) in HSSFSheet has been deprecated
        sheet.setMargin(HSSFSheet.LeftMargin, 0.3);
             ^
46 warnings

> Task :poi:compileTest9 FROM-CACHE
> Task :poi:jar
> Task :poi-ooxml:compileJava9 FROM-CACHE
> Task :poi-ooxml:classes
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi-ooxml:jar
> Task :poi-scratchpad:compileJava FROM-CACHE
> Task :poi-scratchpad:compileJava9 FROM-CACHE
> Task :poi-scratchpad:classes
> Task :poi-excelant:compileJava FROM-CACHE
> Task :poi:testJar
> Task :poi-scratchpad:jar
> Task :poi-excelant:compileJava9 FROM-CACHE
> Task :poi-excelant:classes
> Task :poi-excelant:jar
> Task :poi-examples:compileJava FROM-CACHE
> Task :poi-examples:compileJava9 FROM-CACHE
> Task :poi-examples:classes UP-TO-DATE
> Task :poi-examples:jar
> Task :poi-scratchpad:compileTestJava FROM-CACHE

> Task :poi-ooxml:javadoc
error: error reading 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi-scratchpad/poi-scratchpad-5.3.1-SNAPSHOT.jar;>
 zip END header not found

> Task :poi-scratchpad:compileTest9 FROM-CACHE
> Task :poi-scratchpad:testClasses UP-TO-DATE
> Task :poi-scratchpad:testJar

> Task :poi-ooxml:javadoc FAILED
1 error

> Task :poi:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:22:
 warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
import java.security.AccessControlException;
                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:29:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
import java.security.AccessController;
                    ^

> Task :poi-excelant:javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was 
redirected to https://docs.oracle.com/en/java/javase/22/ -- Update the 
command-line options to suppress this warning.
1 warning

> Task :poi-examples:javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was 
redirected to https://docs.oracle.com/en/java/javase/22/ -- Update the 
command-line options to suppress this warning.
1 warning

> Task :poi:javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was 
redirected to https://docs.oracle.com/en/java/javase/22/ -- Update the 
command-line options to suppress this warning.

> Task :poi-ooxml-lite:compileJava

> Task :poi-scratchpad:javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was 
redirected to https://docs.oracle.com/en/java/javase/22/ -- Update the 
command-line options to suppress this warning.
1 warning

> Task :poi:javadoc
3 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for 
> troubleshooting): 
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/build/tmp/javadoc/javadoc.options'>

* 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.8/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 2m 30s
72 actionable tasks: 53 executed, 15 from cache, 4 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.
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files 
were found. Configuration error?
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to