See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/100/display/redirect?page=changes>
Changes: [PJ Fanning] Upgrade commons-codec dependency to 1.16.1 [PJ Fanning] Upgrade commons-codec dependency to 1.16.1 ------------------------------------------ [...truncated 1.95 MB...] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable) not thrown in org.apache.poi.hssf.extractor.TestOldExcelExtractor.testEncryptionException() At TestOldExcelExtractor.java:[line 350] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable) not thrown in org.apache.poi.hssf.extractor.TestOldExcelExtractor.testMetaData() At TestOldExcelExtractor.java:[line 396] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable) not thrown in org.apache.poi.hssf.util.TestAreaReference.testContiguousReferences() At TestAreaReference.java:[line 140] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.hssf.usermodel.TestHSSFFormulaEvaluator.testXRefs() At TestHSSFFormulaEvaluator.java:[line 229] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable) not thrown in org.apache.poi.ss.formula.functions.TestFloor.testInvalid() At TestFloor.java:[line 63] 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] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable) not thrown in org.apache.poi.hssf.usermodel.TestSheetHiding.testInternalWorkbookHidden() At TestSheetHiding.java:[line 63] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable) not thrown in org.apache.poi.hssf.usermodel.TestSanityChecker.confirmBadRecordOrder(SanityChecker$CheckRecord[], Record[]) At TestSanityChecker.java:[line 124] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.filesystem.TestPOIFSStream.testReadFailsOnLoop() At TestPOIFSStream.java:[line 277] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.filesystem.TestPOIFSStream.testWriteMiniStreams() At TestPOIFSStream.java:[line 781] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.filesystem.TestPOIFSStream.testWriteFailsOnLoop() At TestPOIFSStream.java:[line 849] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.filesystem.TestPOIFSStream.testReadWriteNewStream() At TestPOIFSStream.java:[line 881] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1231] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.filesystem.TestPOIFSStream.propertiesAndFatOnRead512(String, Function) At TestPOIFSStream.java:[line 1233] 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] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.filesystem.TestPOIFSStream.propertiesAndFatOnRead4k(String, Function) At TestPOIFSStream.java:[line 1295] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.filesystem.TestPOIFSStream.getFreeBlockWithNoneSpare() At TestPOIFSStream.java:[line 1532] 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] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable) not thrown in org.apache.poi.hssf.eventusermodel.TestHSSFEventFactory.testWithPasswordProtectedWorkbooksNoPass() At TestHSSFEventFactory.java:[line 123] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.nio.TestDataSource.checkDataSource(FileBackedDataSource, boolean) At TestDataSource.java:[line 165] H C RV: org.junit.jupiter.api.Assertions.assertThrows(Class, Executable, String) not thrown in org.apache.poi.poifs.nio.TestDataSource.testByteArray() At TestDataSource.java:[line 208] 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 > Task :poi-ooxml-full:jar > Task :poi-scratchpad:spotbugsMain M V EI2: new org.apache.poi.hpbf.dev.PLCDumper(HPBFDocument) may expose internal representation by storing an externally mutable object into PLCDumper.doc At PLCDumper.java:[line 41] M V EI: org.apache.poi.hwmf.record.HwmfText$WmfSetTextColor.getColorRef() may expose internal representation by returning HwmfText$WmfSetTextColor.colorRef At HwmfText.java:[line 134] M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyDraw.getBounds() may expose internal representation by returning HemfDraw$EmfPolyDraw.bounds At HemfDraw.java:[line 1020] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Polygon.java:[lines 47-161] M V EI: org.apache.poi.hslf.usermodel.HSLFTitleMaster.getTextParagraphs() may expose internal representation by returning HSLFTitleMaster._paragraphs At HSLFTitleMaster.java:[line 51] M V EI: org.apache.poi.hemf.draw.HemfImageRenderer.getGenericRecord() may expose internal representation by returning HemfImageRenderer.image At HemfImageRenderer.java:[line 135] M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfScaleWindowExt.getScale() may expose internal representation by returning HwmfWindowing$WmfScaleWindowExt.scale At HwmfWindowing.java:[line 385] M V EI2: new org.apache.poi.hslf.dev.SlideShowRecordDumper(PrintStream, String, boolean, boolean) may expose internal representation by storing an externally mutable object into SlideShowRecordDumper.ps At SlideShowRecordDumper.java:[line 106] M B CT: Exception thrown in class org.apache.poi.hslf.record.InteractiveInfoAtom at new org.apache.poi.hslf.record.InteractiveInfoAtom(byte[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At InteractiveInfoAtom.java:[line 158] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRoundRect.getCorners() may expose internal representation by returning HwmfDraw$WmfRoundRect.corners At HwmfDraw.java:[line 591] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRoundRect.getBounds() may expose internal representation by returning HwmfDraw$WmfRoundRect.bounds At HwmfDraw.java:[line 595] M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetClipRgn.getOffset() may expose internal representation by returning HwmfWindowing$WmfOffsetClipRgn.offset At HwmfWindowing.java:[line 494] M V EI: org.apache.poi.hemf.record.emfplus.HemfPlusMisc$EmfPlusSetClipRect.getClipRect() may expose internal representation by returning HemfPlusMisc$EmfPlusSetClipRect.clipRect At HemfPlusMisc.java:[line 358] M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetWindowOrg.getOffset() may expose internal representation by returning HwmfWindowing$WmfOffsetWindowOrg.offset At HwmfWindowing.java:[line 325] M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.getBounds() may expose internal representation by returning HemfFill$EmfInvertRgn.bounds At HemfFill.java:[line 419] M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.getRgnRects() may expose internal representation by returning HemfFill$EmfInvertRgn.rgnRects At HemfFill.java:[line 423] M D DLS: Dead store to rgnDataSize in org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.init(LittleEndianInputStream, long, long) At HemfFill.java:[line 408] M V EI: org.apache.poi.hemf.record.emfplus.HemfPlusDraw$EmfPlusFillRects.getRectData() may expose internal representation by returning HemfPlusDraw$EmfPlusFillRects.rectData At HemfPlusDraw.java:[line 320] M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchDiBits.getBounds() may expose internal representation by returning HemfFill$EmfStretchDiBits.bounds At HemfFill.java:[line 298] M V EI: org.apache.poi.hwpf.extractor.Word6Extractor.getFilesystem() may expose internal representation by returning Word6Extractor.doc At Word6Extractor.java:[line 143] M V EI: org.apache.poi.hwpf.extractor.Word6Extractor.getDocument() may expose internal representation by returning Word6Extractor.doc At Word6Extractor.java:[line 128] M V EI2: new org.apache.poi.hwpf.extractor.Word6Extractor(HWPFOldDocument) may expose internal representation by storing an externally mutable object into Word6Extractor.doc At Word6Extractor.java:[line 76] M V EI: org.apache.poi.hdgf.extractor.VisioTextExtractor.getFilesystem() may expose internal representation by returning VisioTextExtractor.hdgf At VisioTextExtractor.java:[line 140] M V EI: org.apache.poi.hdgf.extractor.VisioTextExtractor.getDocument() may expose internal representation by returning VisioTextExtractor.hdgf At VisioTextExtractor.java:[line 125] M V EI2: new org.apache.poi.hdgf.extractor.VisioTextExtractor(HDGFDiagram) may expose internal representation by storing an externally mutable object into VisioTextExtractor.hdgf At VisioTextExtractor.java:[line 45] M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getInfo() may expose internal representation by returning HSLFHyperlink.info At HSLFHyperlink.java:[line 55] M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getTextRunInfo() may expose internal representation by returning HSLFHyperlink.txinfo At HSLFHyperlink.java:[line 59] M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getExHyperlink() may expose internal representation by returning HSLFHyperlink.exHyper At HSLFHyperlink.java:[line 51] M V EI2: new org.apache.poi.hslf.usermodel.HSLFComment(Comment2000) may expose internal representation by storing an externally mutable object into HSLFComment._comment2000 At HSLFComment.java:[line 31] M V EI2: new org.apache.poi.hslf.usermodel.HSLFSlide(Slide, HSLFNotes, SlideListWithText$SlideAtomsSet, int, int) may expose internal representation by storing an externally mutable object into HSLFSlide._notes At HSLFSlide.java:[line 77] M V EI2: org.apache.poi.hslf.usermodel.HSLFSlide.setNotes(Notes) may expose internal representation by storing an externally mutable object into HSLFSlide._notes At HSLFSlide.java:[line 128] M V EI: org.apache.poi.hslf.usermodel.HSLFSlide.getTextParagraphs() may expose internal representation by returning HSLFSlide._paragraphs At HSLFSlide.java:[line 244] M V EI: org.apache.poi.hslf.usermodel.HSLFSlide.getNotes() may expose internal representation by returning HSLFSlide._notes At HSLFSlide.java:[line 116] M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfPatBlt.getBounds() may expose internal representation by returning HwmfFill$WmfPatBlt.bounds At HwmfFill.java:[line 449] M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetViewportOrg.getOrigin() may expose internal representation by returning HwmfWindowing$WmfSetViewportOrg.origin At HwmfWindowing.java:[line 83] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getEndPoint() may expose internal representation by returning HwmfDraw$WmfArc.endPoint At HwmfDraw.java:[line 696] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getStartPoint() may expose internal representation by returning HwmfDraw$WmfArc.startPoint At HwmfDraw.java:[line 692] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getBounds() may expose internal representation by returning HwmfDraw$WmfArc.bounds At HwmfDraw.java:[line 700] M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetViewportOrg.getOffset() may expose internal representation by returning HwmfWindowing$WmfOffsetViewportOrg.offset At HwmfWindowing.java:[line 178] M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getBounds() may expose internal representation by returning HemfFill$EmfStretchBlt.bounds At HemfFill.java:[line 203] M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getXFormSrc() may expose internal representation by returning HemfFill$EmfStretchBlt.xFormSrc At HemfFill.java:[line 207] M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getBkColorSrc() may expose internal representation by returning HemfFill$EmfStretchBlt.bkColorSrc At HemfFill.java:[line 211] M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetWindowOrg.getOrigin() may expose internal representation by returning HwmfWindowing$WmfSetWindowOrg.origin At HwmfWindowing.java:[line 228] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfEllipse.getBounds() may expose internal representation by returning HwmfDraw$WmfEllipse.bounds At HwmfDraw.java:[line 261] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRectangle.getBounds() may expose internal representation by returning HwmfDraw$WmfRectangle.bounds At HwmfDraw.java:[line 498] M V EI2: org.apache.poi.hwpf.model.types.LVLFAbstractType.setRgbxchNums(byte[]) may expose internal representation by storing an externally mutable object into LVLFAbstractType.field_4_rgbxchNums At LVLFAbstractType.java:[line 258] M V EI2: org.apache.poi.hwpf.model.types.LVLFAbstractType.setGrfhic(Grfhic) may expose internal representation by storing an externally mutable object into LVLFAbstractType.field_11_grfhic At LVLFAbstractType.java:[line 384] M V EI: org.apache.poi.hwpf.model.types.LVLFAbstractType.getRgbxchNums() may expose internal representation by returning LVLFAbstractType.field_4_rgbxchNums At LVLFAbstractType.java:[line 249] M V EI: org.apache.poi.hwpf.model.types.LVLFAbstractType.getGrfhic() may expose internal representation by returning LVLFAbstractType.field_11_grfhic At LVLFAbstractType.java:[line 375] M V EI: org.apache.poi.hemf.record.emf.HemfMisc$EmfSetWorldTransform.getXForm() may expose internal representation by returning HemfMisc$EmfSetWorldTransform.xForm At HemfMisc.java:[line 771] M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.createHyperlink() may expose internal representation by returning HSLFTextRun.link At HSLFTextRun.java:[line 492] M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getCharacterStyle() may expose internal representation by returning HSLFTextRun.characterStyle At HSLFTextRun.java:[line 75] M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getParagraph() may expose internal representation by returning HSLFTextRun.parentParagraph At HSLFTextRun.java:[line 530] M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getHyperlink() may expose internal representation by returning HSLFTextRun.link At HSLFTextRun.java:[line 483] M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getTextParagraph() may expose internal representation by returning HSLFTextRun.parentParagraph At HSLFTextRun.java:[line 449] M V EI2: new org.apache.poi.hslf.usermodel.HSLFTextRun(HSLFTextParagraph) may expose internal representation by storing an externally mutable object into HSLFTextRun.parentParagraph At HSLFTextRun.java:[line 71] M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfExtSelectClipRgn.getRgnRects() may expose internal representation by returning HemfFill$EmfExtSelectClipRgn.rgnRects At HemfFill.java:[line 540] M D DLS: Dead store to rgnDataSize in org.apache.poi.hemf.record.emf.HemfFill$EmfExtSelectClipRgn.init(LittleEndianInputStream, long, long) At HemfFill.java:[line 508] M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfDibStretchBlt.getSrcBounds() may expose internal representation by returning HwmfFill$WmfDibStretchBlt.srcBounds At HwmfFill.java:[line 945] M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfDibStretchBlt.getDstBounds() may expose internal representation by returning HwmfFill$WmfDibStretchBlt.dstBounds At HwmfFill.java:[line 949] M V EI: org.apache.poi.hwmf.record.HwmfMisc$WmfSetBkColor.getColorRef() may expose internal representation by returning HwmfMisc$WmfSetBkColor.colorRef At HwmfMisc.java:[line 169] M V EI: org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataBeginGroup.getBounds() may expose internal representation by returning HemfComment$EmfCommentDataBeginGroup.bounds At HemfComment.java:[line 399] M V EI2: new org.apache.poi.hsmf.dev.HSMFDump(POIFSFileSystem) may expose internal representation by storing an externally mutable object into HSMFDump.fs At HSMFDump.java:[line 38] M B CT: Exception thrown in class org.apache.poi.hslf.record.ExOleObjAtom at new org.apache.poi.hslf.record.ExOleObjAtom(byte[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ExOleObjAtom.java:[line 198] M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetViewportExt.getExtents() may expose internal representation by returning HwmfWindowing$WmfSetViewportExt.extents At HwmfWindowing.java:[line 133] M V EI2: new org.apache.poi.hwpf.dev.HWPFLister(HWPFDocumentCore) may expose internal representation by storing an externally mutable object into HWPFLister._doc At HWPFLister.java:[line 275] M V EI: org.apache.poi.hemf.record.emf.HemfMisc$EmfSetBrushOrgEx.getOrigin() may expose internal representation by returning HemfMisc$EmfSetBrushOrgEx.origin At HemfMisc.java:[line 735] M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfMoveTo.getPoint() may expose internal representation by returning HwmfDraw$WmfMoveTo.point At HwmfDraw.java:[line 79] M C UwF: Unwritten field: org.apache.poi.hwmf.record.HwmfMisc$WmfDibCreatePatternBrush.pattern16 At HwmfMisc.java:[line 561] M D UuF: Unused public or protected field: org.apache.poi.hwmf.record.HwmfFont.pitch In HwmfFont.java M D UuF: Unused public or protected field: org.apache.poi.hwmf.record.HwmfFont.family In HwmfFont.java M P UrF: Unread field: org.apache.poi.hwmf.record.HwmfEscape$WmfEscapeUnknownData.escapeFunction At HwmfEscape.java:[line 258] M P SS: Unread field: org.apache.poi.hslf.dev.PPTXMLDump.hexHeader; should this field be static? At PPTXMLDump.java:[line 54] M P UrF: Unread field: org.apache.poi.hemf.record.emfplus.HemfPlusObject$EmfPlusObject.objectId At HemfPlusObject.java:[line 173] M D UrF: Unread public/protected field: org.apache.poi.hemf.record.emf.HemfMisc$EmfModifyWorldTransform.header At HemfMisc.java:[line 806] M P UrF: Unread field: org.apache.poi.hmef.HMEFMessage.fileId At HMEFMessage.java:[line 69] M V MS: org.apache.poi.hslf.usermodel.HSLFSimpleShape.ADJUST_VALUES should be package protected At HSLFSimpleShape.java:[line 65] M V MS: org.apache.poi.hwmf.usermodel.HwmfPicture.MAX_RECORD_LENGTH should be package protected At HwmfPicture.java:[line 59] SpotBugs ended with exit code 1 > Task :poi-ooxml-lite:compileOoxmlLite > Task :poi:spotbugsMain M V EI: org.apache.poi.ddf.EscherTextboxRecord.getData() may expose internal representation by returning EscherTextboxRecord.thedata At EscherTextboxRecord.java:[line 107] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Decryptor$BinaryRC4CipherInputStream at new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Decryptor$BinaryRC4CipherInputStream(BinaryRC4Decryptor, InputStream, int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At BinaryRC4Decryptor.java:[line 62] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Decryptor$BinaryRC4CipherInputStream at new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Decryptor$BinaryRC4CipherInputStream(BinaryRC4Decryptor, DocumentInputStream, long) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At BinaryRC4Decryptor.java:[line 57] M V EI2: new org.apache.poi.hssf.record.UserSViewEnd(byte[]) may expose internal representation by storing an externally mutable object into UserSViewEnd._rawData At UserSViewEnd.java:[line 40] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Frequency.java:[lines 40-78] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Value.java:[lines 41-222] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.AgileEncryptor$AgileCipherOutputStream at new org.apache.poi.poifs.crypt.agile.AgileEncryptor$AgileCipherOutputStream(AgileEncryptor, DirectoryNode) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At AgileEncryptor.java:[line 345] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Address.java:[lines 26-98] M B CT: Exception thrown in class org.apache.poi.hssf.extractor.OldExcelExtractor at new org.apache.poi.hssf.extractor.OldExcelExtractor(POIFSFileSystem) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At OldExcelExtractor.java:[line 116] M B CT: Exception thrown in class org.apache.poi.hssf.extractor.OldExcelExtractor at new org.apache.poi.hssf.extractor.OldExcelExtractor(File) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At OldExcelExtractor.java:[line 85] M B CT: Exception thrown in class org.apache.poi.hssf.extractor.OldExcelExtractor at new org.apache.poi.hssf.extractor.OldExcelExtractor(DirectoryNode) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At OldExcelExtractor.java:[line 121] M B CT: Exception thrown in class org.apache.poi.hssf.extractor.OldExcelExtractor at new org.apache.poi.hssf.extractor.OldExcelExtractor(InputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At OldExcelExtractor.java:[line 79] M B CT: Exception thrown in class org.apache.poi.poifs.filesystem.POIFSMiniStore at new org.apache.poi.poifs.filesystem.POIFSMiniStore(POIFSFileSystem, RootProperty, List, HeaderBlock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At POIFSMiniStore.java:[line 48] M V EI: org.apache.poi.common.usermodel.fonts.FontHeader.getPanose() may expose internal representation by returning FontHeader.panose At FontHeader.java:[line 290] M D DLS: Dead store to reserved4 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 174] M D DLS: Dead store to reserved3 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 173] M D DLS: Dead store to reserved2 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 172] M D DLS: Dead store to reserved1 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 171] M V EI: org.apache.poi.ddf.EscherClientDataRecord.getRemainingData() may expose internal representation by returning EscherClientDataRecord.remainingData At EscherClientDataRecord.java:[line 114] M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getValidation() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.dv At DataValidationEvaluator.java:[line 541] M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.dve At DataValidationEvaluator.java:[line 533] M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.dv At DataValidationEvaluator.java:[line 532] M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getRegion() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.region At DataValidationEvaluator.java:[line 553] M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.target At DataValidationEvaluator.java:[line 535] M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.region At DataValidationEvaluator.java:[line 534] M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getEvaluator() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.dve At DataValidationEvaluator.java:[line 547] M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getTarget() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.target At DataValidationEvaluator.java:[line 559] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.xor.XOREncryptor$XORCipherOutputStream at new org.apache.poi.poifs.crypt.xor.XOREncryptor$XORCipherOutputStream(XOREncryptor, OutputStream, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At XOREncryptor.java:[line 97] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.xor.XOREncryptor$XORCipherOutputStream at new org.apache.poi.poifs.crypt.xor.XOREncryptor$XORCipherOutputStream(XOREncryptor, DirectoryNode) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At XOREncryptor.java:[line 101] M B PI: The used identifier ?>?4/4??? as variable name in the class org.apache.poi.poifs.crypt.xor.XOREncryptor$XORCipherOutputStream.invokeCipher(int, boolean) inside plain method at line XOREncryptor.java:[line 175] shadows the publicly available identifier from the Java Standard Library. At XOREncryptor.java:[line 175] M V EI2: new org.apache.poi.sl.draw.SLGraphics(GroupShape) may expose internal representation by storing an externally mutable object into SLGraphics._group At SLGraphics.java:[line 77] M V EI: org.apache.poi.sl.draw.SLGraphics.getShapeGroup() may expose internal representation by returning SLGraphics._group At SLGraphics.java:[line 92] M V EI: org.apache.poi.sl.draw.SLGraphics.getRenderingHints() may expose internal representation by returning SLGraphics._hints At SLGraphics.java:[line 1556] M V EI: org.apache.poi.hpsf.Array.getValues() may expose internal representation by returning Array._values At Array.java:[line 114] M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics2d(EscherGraphics) may expose internal representation by storing an externally mutable object into EscherGraphics2d._escherGraphics At EscherGraphics2d.java:[line 89] M D SF: Switch statement found in org.apache.poi.ss.formula.functions.FinanceFunction.evaluate(double[]) where one case falls through to the next case At FinanceFunction.java:[lines 98-101] M V EI: org.apache.poi.hssf.extractor.EventBasedExcelExtractor.getRoot() may expose internal representation by returning EventBasedExcelExtractor._dir At EventBasedExcelExtractor.java:[line 292] M V EI2: new org.apache.poi.hssf.extractor.EventBasedExcelExtractor(DirectoryNode) may expose internal representation by storing an externally mutable object into EventBasedExcelExtractor._dir At EventBasedExcelExtractor.java:[line 72] M V EI: org.apache.poi.hssf.extractor.EventBasedExcelExtractor.getFilesystem() may expose internal representation by returning EventBasedExcelExtractor.poifs At EventBasedExcelExtractor.java:[line 282] M V EI2: new org.apache.poi.hssf.extractor.EventBasedExcelExtractor(POIFSFileSystem) may expose internal representation by storing an externally mutable object into EventBasedExcelExtractor.poifs At EventBasedExcelExtractor.java:[line 76] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIDecryptor$CryptoAPICipherInputStream at new org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIDecryptor$CryptoAPICipherInputStream(CryptoAPIDecryptor, InputStream, long, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At CryptoAPIDecryptor.java:[line 256] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.xor.XORDecryptor$XORCipherInputStream at new org.apache.poi.poifs.crypt.xor.XORDecryptor$XORCipherInputStream(XORDecryptor, InputStream, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At XORDecryptor.java:[line 116] M B PI: The used identifier ?>?4/4??? as variable name in the class org.apache.poi.poifs.crypt.xor.XORDecryptor$XORCipherInputStream.invokeCipher(int, boolean) inside plain method at line XORDecryptor.java:[line 155] shadows the publicly available identifier from the Java Standard Library. At XORDecryptor.java:[line 155] M D DLS: Dead store to maxN in org.apache.poi.ss.formula.functions.Sumproduct.evaluateSingleProduct(ValueEval[]) At Sumproduct.java:[line 95] M V EI: org.apache.poi.ddf.EscherClientAnchorRecord.getRemainingData() may expose internal representation by returning EscherClientAnchorRecord.remainingData At EscherClientAnchorRecord.java:[line 368] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIEncryptor$CryptoAPICipherOutputStream at new org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIEncryptor$CryptoAPICipherOutputStream(CryptoAPIEncryptor, OutputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At CryptoAPIEncryptor.java:[line 236] M B CT: Exception thrown in class org.apache.poi.ddf.EscherColorRef at new org.apache.poi.ddf.EscherColorRef(byte[], int, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At EscherColorRef.java:[line 170] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Code.java:[lines 31-50] M V EI2: new org.apache.poi.poifs.macros.VBAMacroReader(POIFSFileSystem) may expose internal representation by storing an externally mutable object into VBAMacroReader.fs At VBAMacroReader.java:[line 100] M B CT: Exception thrown in class org.apache.poi.poifs.macros.VBAMacroReader at new org.apache.poi.poifs.macros.VBAMacroReader(File) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At VBAMacroReader.java:[line 98] M B CT: Exception thrown in class org.apache.poi.poifs.macros.VBAMacroReader at new org.apache.poi.poifs.macros.VBAMacroReader(InputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At VBAMacroReader.java:[line 83] M D DLS: Dead store to ld in org.apache.poi.ss.formula.functions.TimeValue.evaluate(int, int, ValueEval) At TimeValue.java:[line 68] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Match.java:[lines 66-247] M B CT: Exception thrown in class org.apache.poi.hssf.record.DConRefRecord at new org.apache.poi.hssf.record.DConRefRecord(RecordInputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DConRefRecord.java:[line 142] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Table.java:[lines 36-124] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Log.java:[lines 25-47] M V EI2: new org.apache.poi.poifs.crypt.DataSpaceMapUtils$IRMDSTransformInfo(DataSpaceMapUtils$TransformInfoHeader, int, String) may expose internal representation by storing an externally mutable object into DataSpaceMapUtils$IRMDSTransformInfo.transformInfoHeader At DataSpaceMapUtils.java:[line 180] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIDocumentInputStream at new org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIDocumentInputStream(CryptoAPIDecryptor, byte[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At CryptoAPIDocumentInputStream.java:[line 85] M V EI: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.getSSTRecord() may expose internal representation by returning EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord At EventWorkbookBuilder.java:[line 133] M V EI2: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.processRecordInternally(Record) may expose internal representation by storing an externally mutable object into EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord At EventWorkbookBuilder.java:[line 181] M B PI: Class name ?>?1/1??? in source file ?>?2/1??? shadows the publicly available identifier from the Java Standard Library. At Mode.java:[lines 34-131] M V EI: org.apache.poi.sl.image.ImageHeaderEMF.getBounds() may expose internal representation by returning ImageHeaderEMF.deviceBounds At ImageHeaderEMF.java:[line 67] M D SF: Switch statement found in org.apache.poi.ss.formula.functions.Offset.evaluate(ValueEval[], int, int) where one case falls through to the next case At Offset.java:[lines 169-173] M D SF: Switch statement found in org.apache.poi.ss.formula.atp.YearFrac.evaluate(ValueEval[], OperationEvaluationContext) where one case falls through to the next case At YearFrac.java:[lines 71-74] M V EI: org.apache.poi.hssf.record.FeatRecord.getCellRefs() may expose internal representation by returning FeatRecord.cellRefs At FeatRecord.java:[line 158] M V EI2: org.apache.poi.hssf.record.FeatRecord.setCellRefs(CellRangeAddress[]) may expose internal representation by storing an externally mutable object into FeatRecord.cellRefs At FeatRecord.java:[line 161] M B Nm: The class name org.apache.poi.hssf.usermodel.HeaderFooter shadows the simple name of implemented interface org.apache.poi.ss.usermodel.HeaderFooter At HeaderFooter.java:[lines 26-310] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.standard.StandardEncryptor$StandardCipherOutputStream at new org.apache.poi.poifs.crypt.standard.StandardEncryptor$StandardCipherOutputStream(StandardEncryptor, DirectoryNode) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At StandardEncryptor.java:[line 157] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.standard.StandardEncryptor$StandardCipherOutputStream at new org.apache.poi.poifs.crypt.standard.StandardEncryptor$StandardCipherOutputStream(StandardEncryptor, DirectoryNode, File, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At StandardEncryptor.java:[line 147] M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, OutputStream) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0 At BinaryRC4Encryptor.java:[line 130] M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, DirectoryNode) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0 At BinaryRC4Encryptor.java:[line 135] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream at new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, DirectoryNode) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At BinaryRC4Encryptor.java:[line 137] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream at new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, OutputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At BinaryRC4Encryptor.java:[line 131] M V EI: org.apache.poi.ddf.UnknownEscherRecord.getData() may expose internal representation by returning UnknownEscherRecord.thedata At UnknownEscherRecord.java:[line 144] M V EI: org.apache.poi.ddf.UnknownEscherRecord.getChildRecords() may expose internal representation by returning UnknownEscherRecord._childRecords At UnknownEscherRecord.java:[line 154] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.AgileDecryptor$AgileCipherInputStream at new org.apache.poi.poifs.crypt.agile.AgileDecryptor$AgileCipherInputStream(AgileDecryptor, DocumentInputStream, long) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At AgileDecryptor.java:[line 271] M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_5_lo64 At Decimal.java:[line 38] M P UrF: Unread field: org.apache.poi.hssf.usermodel.HSSFChart.chartTitleFormat At HSSFChart.java:[line 217] M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankIncFunction.evaluator At PercentRankIncFunction.java:[line 51] M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_1_wReserved At Decimal.java:[line 34] M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankExcFunction.evaluator At PercentRankExcFunction.java:[line 54] M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_2_scale At Decimal.java:[line 35] M P SS: Unread field: org.apache.poi.ss.formula.ptg.UnknownPtg.size; should this field be static? At UnknownPtg.java:[line 25] M P UrF: Unread field: org.apache.poi.ss.formula.atp.TextJoinFunction.evaluator At TextJoinFunction.java:[line 51] M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_4_hi32 At Decimal.java:[line 37] M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_3_sign At Decimal.java:[line 36] M V MS: org.apache.poi.hpsf.VariantSupport.SUPPORTED_TYPES should be package protected At VariantSupport.java:[line 55] M V MS: org.apache.poi.hpsf.DocumentSummaryInformation.FORMAT_ID should be package protected At DocumentSummaryInformation.java:[line 51] M V MS: org.apache.poi.ss.formula.eval.FunctionEval.functions should be package protected At FunctionEval.java:[line 59] M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._current_block_count; locked 71% of time Unsynchronized access at DocumentInputStream.java:[line 288] M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.sFmt; locked 66% of time Unsynchronized access at CellDateFormatter.java:[line 109] M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.amPmUpper; locked 50% of time Unsynchronized access at CellDateFormatter.java:[line 122] M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._buffer; locked 50% of time Unsynchronized access at DocumentInputStream.java:[line 287] M M IS: Inconsistent synchronization of org.apache.poi.hpsf.ClassIDPredefined.classId; locked 66% of time Unsynchronized access at ClassIDPredefined.java:[line 132] M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._data; locked 80% of time Unsynchronized access at DocumentInputStream.java:[line 289] SpotBugs ended with exit code 1 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi-scratchpad:test'. > There were failing tests. See the report at: > file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-scratchpad/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.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 2m 18s 67 actionable tasks: 64 executed, 3 up-to-date Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as 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: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org