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

Changes:

[PJ Fanning] junit 5.11.1

[PJ Fanning] upgrade spotbugs


------------------------------------------
[...truncated 61.49 KB...]
> Task :poi-scratchpad:compileJava9
> Task :poi-scratchpad:classes
> Task :poi-scratchpad:jar
> Task :poi:testJar
> Task :poi-ooxml-full:sourcesJar
> Task :poi-ooxml-full:assemble
> Task :poi-scratchpad:forbiddenApisMain
> Task :poi:sourcesJar
> Task :poi:forbiddenApisMain UP-TO-DATE
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis
> Task :poi:spotbugsMain FROM-CACHE
> Task :poi-ooxml-lite:compileOoxmlLite

> Task :poi-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64:
 warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
    assertEquals(expectedStyleLvl, 
styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
        for (String p : ex.getParagraphText()) {
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
        for (String p : ex.getParagraphText()) {
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
        for (String p : ex.getParagraphText()) {
                          ^

> Task :poi:test FAILED

> Task :poi-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
                assertNotNull(extractor.getParagraphText());
                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190:
 warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
        assertEquals("First header column!\tMid header Right header!\n", 
extractor1.getHeaderText());
                                                                                
   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200:
 warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
        assertEquals("This is a simple header, with a \u20ac euro symbol in 
it.\n\n", extractor2.getHeaderText());
                                                                                
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213:
 warning: [deprecation] getFooterText() in WordExtractor has been deprecated
        assertEquals("Footer Left\tFooter Middle Footer Right\n", 
extractor1.getFooterText());
                                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223:
 warning: [deprecation] getFooterText() in WordExtractor has been deprecated
        assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n", 
extractor2.getFooterText());
                                                                                
      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestSectionTable.java>:50:
 warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been 
deprecated
    sectionTable.writeTo(fileSys, 0);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestCHPBinTable.java>:53:
 warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in 
CHPBinTable has been deprecated
    _cHPBinTable.writeTo(fileSys, 0, fakeTPT);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47:
 warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
    _fontTable.writeTo(fileSys);
              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:77:
 warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
            assertEquals(1, 
hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:80:
 warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
                assertEquals(1, 
hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
                                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java>:498:
 warning: [deprecation] getCodepoints(String,Boolean,Boolean) in 
SlideShowExtractor has been deprecated
                BitSet l1 = ppt.getCodepoints(font, null, null);
                               ^
15 warnings

> Task :poi-ooxml-full:forbiddenApisMain

> 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/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 {
                  ^
16 warnings

> Task :poi:spotbugsTest
M D DLS: Dead store to b4096 in 
org.apache.poi.poifs.storage.TestBATBlock.testOccupiedSize()  At 
TestBATBlock.java:[line 182]
M B Dm: 
org.apache.poi.poifs.filesystem.ReaderWriter.processPOIFSReaderEvent(POIFSReaderEvent)
 invokes System.exit(...), which shuts down the entire virtual machine  At 
ReaderWriter.java:[line 121]
M B Dm: 
org.apache.poi.poifs.filesystem.ReaderWriter.processPOIFSWriterEvent(POIFSWriterEvent)
 invokes System.exit(...), which shuts down the entire virtual machine  At 
ReaderWriter.java:[line 159]
M V VSC: The method 
'org.apache.poi.hssf.extractor.TestOldExcelExtractor$NoExitSecurityManager.checkExit(int)'
 performs security check by using 'SecurityManager.checkExit(int)' method of 
Security Manager Class, but is overrideable. Declare the method final or 
private in order to resolve the issue.   At TestOldExcelExtractor.java:[line 
377]
M D DLS: Dead store to recFP in 
org.apache.poi.hssf.record.TestRecordFactoryInputStream.confirmReadInitialRecords(RecordFactoryInputStream)
  At TestRecordFactoryInputStream.java:[line 152]
M D DCN: Do not catch NullPointerException like in 
org.apache.poi.ss.usermodel.BaseTestRangeCopier.getCell(Sheet, String)  At 
BaseTestRangeCopier.java:[line 170]
M V EI: org.apache.poi.hpsf.basic.POIFile.getBytes() may expose internal 
representation by returning POIFile.bytes  At POIFile.java:[line 90]

> Task :poi-ooxml-lite:compileJava

> Task :poi:spotbugsTest
M B Se: 
org.apache.poi.ss.formula.TestEvaluationCache$FormulaCellCacheEntryComparer 
implements Comparator but not Serializable  At TestEvaluationCache.java:[lines 
64-90]
M P WMI: 
org.apache.poi.ss.formula.eval.TestOperandResolver.testCoerceDateStringToNumber()
 makes inefficient use of keySet iterator instead of entrySet iterator  At 
TestOperandResolver.java:[line 86]
M P WMI: 
org.apache.poi.ss.formula.eval.TestOperandResolver.testCoerceDateTimeStringToNumber()
 makes inefficient use of keySet iterator instead of entrySet iterator  At 
TestOperandResolver.java:[line 107]
M P WMI: 
org.apache.poi.ss.formula.eval.TestOperandResolver.testCoerceTimeStringToNumber()
 makes inefficient use of keySet iterator instead of entrySet iterator  At 
TestOperandResolver.java:[line 127]
M D RV: Return value of new ByteField(int, byte) ignored, but method has no 
side effect  At TestByteField.java:[line 44]
M D RV: Return value of new ByteField(int) ignored, but method has no side 
effect  At TestByteField.java:[line 40]
M D RV: Return value of new IntegerField(int, int) ignored, but method has no 
side effect  At TestIntegerField.java:[line 41]
M D RV: Return value of new IntegerField(int) ignored, but method has no side 
effect  At TestIntegerField.java:[line 37]
M D DLS: Dead store to c1 in 
org.apache.poi.ss.formula.functions.TestIndirect.testR1C1FullRow()  At 
TestIndirect.java:[line 209]
M D DMI: Hard coded reference to an absolute pathname in 
org.apache.poi.util.TestIOUtils.lambda$testCopyToInvalidFile$6(InputStream)  At 
TestIOUtils.java:[line 278]
M D DMI: Hard coded reference to an absolute pathname in 
org.apache.poi.util.TestIOUtils.lambda$testCopyToInvalidFile$6(InputStream)  At 
TestIOUtils.java:[line 277]
M C SING: Instance-getter method of class using singleton design pattern 
(org.apache.poi.POIDataSamples) is not synchronized.  At 
POIDataSamples.java:[lines 123-124]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.testMarkFunctions() 
ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[])  At 
TestDocumentInputStream.java:[line 110]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.testMarkFunctions() 
ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[], int, int)  At 
TestDocumentInputStream.java:[line 151]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.lambda$testComplexBufferRead$7(DocumentInputStream,
 byte[]) ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[], int, int)  At 
TestDocumentInputStream.java:[line 336]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.lambda$testComplexBufferRead$6(DocumentInputStream)
 ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[], int, int)  At 
TestDocumentInputStream.java:[line 294]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.lambda$testComplexBufferRead$5(DocumentInputStream)
 ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[], int, int)  At 
TestDocumentInputStream.java:[line 293]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.lambda$testComplexBufferRead$4(DocumentInputStream)
 ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[], int, int)  At 
TestDocumentInputStream.java:[line 292]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.lambda$testComplexBufferRead$3(DocumentInputStream)
 ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[], int, int)  At 
TestDocumentInputStream.java:[line 289]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.lambda$testBufferRead$2(DocumentInputStream,
 byte[]) ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[])  At 
TestDocumentInputStream.java:[line 279]
M B RR: 
org.apache.poi.poifs.filesystem.TestDocumentInputStream.lambda$testBufferRead$1(DocumentInputStream)
 ignores result of 
org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[])  At 
TestDocumentInputStream.java:[line 247]
M B CNT: Rough value of Math.PI found: 3.14  At TestText.java:[line 263]
M B CNT: Rough value of Math.PI found: 3.14  At TestText.java:[line 226]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter.test60369(Locale, 
String, Date, int)  At TestExcelStyleDateFormatter.java:[line 60]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter.test60369(Locale, 
String, Date, int)  At TestExcelStyleDateFormatter.java:[line 59]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter.initializeLocales()  At 
TestExcelStyleDateFormatter.java:[line 109]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter.testWithLocale()  At 
TestExcelStyleDateFormatter.java:[line 127]
M M STCAL: Call to method of static java.text.DateFormat in 
org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter.testWithPattern()  At 
TestExcelStyleDateFormatter.java:[line 137]
M D DLS: Dead store to e2 in 
org.apache.poi.ss.usermodel.BaseTestSheetUpdateArrayFormulas.testArrayFormulas_illegalCalls()
  At BaseTestSheetUpdateArrayFormulas.java:[line 161]
H P Dm: 
org.apache.poi.util.MemoryLeakVerifier.assertGarbageCollected(WeakReference, 
int) forces garbage collection; extremely dubious except in benchmarking code  
At MemoryLeakVerifier.java:[line 93]
M P UPM: Private method 
org.apache.poi.ss.formula.functions.TestTDistLt.confirmValue(String, String, 
String, double) is never called  At TestTDistLt.java:[lines 66-67]
M C EC: Using .equals to compare two byte[]'s, (equivalent to ==) in 
org.apache.poi.ddf.TestEscherBlipRecord.testReadPNG()  At 
TestEscherBlipRecord.java:[line 77]
M C EC: Using .equals to compare two byte[]'s, (equivalent to ==) in 
org.apache.poi.ddf.TestEscherBlipRecord.testReadPICT()  At 
TestEscherBlipRecord.java:[line 129]
M C EC: Using .equals to compare two byte[]'s, (equivalent to ==) in 
org.apache.poi.ddf.TestEscherBlipRecord.testReadPICT()  At 
TestEscherBlipRecord.java:[line 130]
M D DLS: Dead store to row in 
org.apache.poi.ss.usermodel.BaseTestDataValidation$WorkbookFormatter.createDVTypeRow(String)
  At BaseTestDataValidation.java:[line 267]
M D DLS: Dead store to row in 
org.apache.poi.ss.usermodel.BaseTestDataValidation$WorkbookFormatter.createDVDescriptionRow(String)
  At BaseTestDataValidation.java:[line 309]
M X OBL: org.apache.poi.hpsf.basic.TestWriteWellKnown.write2ndFile(File, File) 
may fail to clean up java.io.OutputStream on checked exception  Obligation to 
clean up resource created at TestWriteWellKnown.java:[line 418] is not 
discharged
M X OBL: org.apache.poi.hpsf.basic.TestWriteWellKnown.write1stFile(File, File) 
may fail to clean up java.io.OutputStream on checked exception  Obligation to 
clean up resource created at TestWriteWellKnown.java:[line 297] is not 
discharged
M X OBL: org.apache.poi.hpsf.basic.TestWriteWellKnown.testWriteWellKnown() may 
fail to clean up java.io.InputStream on checked exception  Obligation to clean 
up resource created at TestWriteWellKnown.java:[line 180] is not discharged
M D DB: org.apache.poi.ss.usermodel.BaseTestCell.checkUnicodeValues(Workbook) 
uses the same code for two branches  At BaseTestCell.java:[line 936]
M X OBL: 
org.apache.poi.hssf.usermodel.TestHSSFWorkbook.writeAndCloseWorkbook(Workbook, 
File) may fail to clean up java.io.OutputStream on checked exception  
Obligation to clean up resource created at TestHSSFWorkbook.java:[line 1097] is 
not discharged
M D SF: Switch statement found in 
org.apache.poi.ss.formula.functions.BaseTestFunctionsFromSpreadsheet.processFunctionRow(String,
 String, HSSFSheet, int, HSSFFormulaEvaluator, int) where one case falls 
through to the next case  At BaseTestFunctionsFromSpreadsheet.java:[lines 
174-176]
M D RV: Return value of HSSFShapeGroup.getShapeId() ignored, but method has no 
side effect  At TestShapeGroup.java:[line 224]
M B OS: 
org.apache.poi.ss.util.NumberRenderingSpreadsheetGenerator.interpretLong(byte[],
 int) may fail to close stream  At 
NumberRenderingSpreadsheetGenerator.java:[line 218]
M D DLS: Dead store to ish in 
org.apache.poi.hssf.usermodel.TestHSSFPicture.bsePictureRef()  At 
TestHSSFPicture.java:[line 178]
M D DLS: Dead store to p1 in 
org.apache.poi.hssf.usermodel.TestHSSFPicture.bsePictureRef()  At 
TestHSSFPicture.java:[line 184]
M X OBL: org.apache.poi.util.TestTempFile.testCreateTempFile() may fail to 
clean up java.io.OutputStream on checked exception  Obligation to clean up 
resource created at TestTempFile.java:[line 92] is not discharged
M D NP: Dereference of the result of readLine() without nullcheck in 
org.apache.poi.ss.usermodel.TestFractionFormat.testTruthFile()  At 
TestFractionFormat.java:[line 90]
M D RV: Return value of org.apache.poi.util.IntMapper.get(int) ignored, but 
method has no side effect  At TestSSTDeserializer.java:[line 142]
M B OS: org.apache.poi.hssf.record.TestSSTRecord.concatHexDumps(String[]) may 
fail to close stream  At TestSSTRecord.java:[line 55]
M P WMI: 
org.apache.poi.hssf.usermodel.TestHSSFPalette.compareToDefaults(TestHSSFPalette$ColorComparator)
 makes inefficient use of keySet iterator instead of entrySet iterator  At 
TestHSSFPalette.java:[line 267]
M B OS: org.apache.poi.hssf.dev.TestRecordLister.runOneFile(File) may fail to 
close stream  At TestRecordLister.java:[line 61]
M D NP: Possible null pointer dereference in 
org.apache.poi.hpsf.basic.TestReadAllFiles.files() due to return value of 
called method  Method invoked at TestReadAllFiles.java:[line 60]
M D RV: Return value of org.apache.poi.hpsf.PropertySet.getByteOrder() ignored, 
but method has no side effect  At TestReadAllFiles.java:[line 164]
M C DMI: BigDecimal constructed from 15.3 in 
org.apache.poi.ss.formula.ptg.TestExternalNameReference.testEvaluate()  At 
TestExternalNameReference.java:[line 128]
M B Nm: Class org.apache.poi.poifs.filesystem.TestNotOLE2Exception is not 
derived from an Exception, even though it is named as such  At 
TestNotOLE2Exception.java:[lines 36-78]
M B CNT: Rough value of Math.PI found: 3.14  At 
TestWorkbookEvaluator.java:[line 302]
M B Nm: Class org.apache.poi.poifs.filesystem.TestOfficeXMLException is not 
derived from an Exception, even though it is named as such  At 
TestOfficeXMLException.java:[lines 38-125]
M D SF: Switch statement found in 
org.apache.poi.ss.formula.eval.TestFormulasFromSpreadsheet.processFunctionRow(String,
 int, int) where one case falls through to the next case  At 
TestFormulasFromSpreadsheet.java:[lines 200-202]
M X OBL: org.apache.poi.hssf.usermodel.TestFormulaEvaluatorBugs.test44636() may 
fail to clean up java.io.OutputStream on checked exception  Obligation to clean 
up resource created at TestFormulaEvaluatorBugs.java:[line 96] is not discharged
M X OBL: 
org.apache.poi.hssf.usermodel.TestFormulaEvaluatorBugs.test55747_55324() may 
fail to clean up java.io.OutputStream on checked exception  Obligation to clean 
up resource created at TestFormulaEvaluatorBugs.java:[line 556] is not 
discharged
M D DLS: Dead store to hour in 
org.apache.poi.hssf.usermodel.TestFormulas.testDateFormulas()  At 
TestFormulas.java:[line 639]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSMiniStore.java:[line 250]
M D DLS: Dead store to $L7 in 
org.apache.poi.ss.formula.functions.TestAbs.testRange()  At TestAbs.java:[line 
65]
M B FS: Format string should use %n rather than \n in 
org.apache.poi.hssf.dev.TestFormulaViewer.parseFormulaRecord(FormulaRecord)  At 
TestFormulaViewer.java:[line 111]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1231]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1273]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1336]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1293]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1625]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1608]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1598]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1577]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1559]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1532]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1339]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1295]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1275]
M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but 
method has no side effect  At TestPOIFSStream.java:[line 1233]
M P SS: Unread field: 
org.apache.poi.hssf.usermodel.TestNonStandardWorkbookStreamNames.xlsA; should 
this field be static?  At TestNonStandardWorkbookStreamNames.java:[line 37]
M P SS: Unread field: org.apache.poi.hssf.dev.TestFormulaViewer.doListFormula; 
should this field be static?  At TestFormulaViewer.java:[line 51]
M D UrF: Unread public/protected field: 
org.apache.poi.ss.usermodel.BaseTestRangeCopier.testDataProvider  At 
TestHSSFRangeCopier.java:[line 32]
M P SS: Unread field: 
org.apache.poi.hssf.usermodel.TestNonStandardWorkbookStreamNames.xlsB; should 
this field be static?  At TestNonStandardWorkbookStreamNames.java:[line 38]
M P UrF: Unread field: org.apache.poi.hssf.record.TestTableRecord.header  At 
TestTableRecord.java:[line 32]
SpotBugs ended with exit code 1

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi:test'.
> Could not resolve all dependencies for configuration ':poi:jacocoAgent'.
   > Could not load module metadata from 
/home/jenkins/.gradle/caches/modules-2/metadata-2.106/descriptors/org.jacoco/org.jacoco.agent/0.8.11/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.
> 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.10.1/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 2m 47s
63 actionable tasks: 51 executed, 7 from cache, 5 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