See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/736/display/redirect?page=changes>
Changes: [PJ Fanning] pdfbox 3.0.3 [PJ Fanning] pdfbox 3.0.3 [PJ Fanning] commons-compress 1.27.0 ------------------------------------------ [...truncated 152.58 KB...] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor at new org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor(Element) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At CertificateKeyEncryptor.java:[line 53] M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedVerifierHashInput(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedVerifierHashInput At PasswordKeyEncryptor.java:[line 220] M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getSaltValue() may expose internal representation by returning PasswordKeyEncryptor.saltValue At PasswordKeyEncryptor.java:[line 200] M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setSaltValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.saltValue At PasswordKeyEncryptor.java:[line 204] M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedVerifierHashValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedVerifierHashValue At PasswordKeyEncryptor.java:[line 228] M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedVerifierHashInput() may expose internal representation by returning PasswordKeyEncryptor.encryptedVerifierHashInput At PasswordKeyEncryptor.java:[line 216] M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedKeyValue() may expose internal representation by returning PasswordKeyEncryptor.encryptedKeyValue At PasswordKeyEncryptor.java:[line 232] M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedVerifierHashValue() may expose internal representation by returning PasswordKeyEncryptor.encryptedVerifierHashValue At PasswordKeyEncryptor.java:[line 224] M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedKeyValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedKeyValue At PasswordKeyEncryptor.java:[line 236] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor at new org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor(Element) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At PasswordKeyEncryptor.java:[line 106] M V EI: org.apache.poi.ss.usermodel.DataFormatter.getLocaleChangedObservable() may expose internal representation by returning DataFormatter.pcs At DataFormatter.java:[line 1231] M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator(Workbook, WorkbookEvaluatorProvider) may expose internal representation by storing an externally mutable object into DataValidationEvaluator.workbook At DataValidationEvaluator.java:[line 79] M D DLS: Dead store to sheet in org.apache.poi.hssf.usermodel.helpers.HSSFRowColShifter.updateRowFormulas(HSSFRow, FormulaShifter) At HSSFRowColShifter.java:[line 71] M V EI: org.apache.poi.hssf.usermodel.HSSFRow.getSheet() may expose internal representation by returning HSSFRow.sheet At HSSFRow.java:[line 273] M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.formatting At EvaluationConditionalFormatRule.java:[line 116] M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getRegions() may expose internal representation by returning EvaluationConditionalFormatRule.regions At EvaluationConditionalFormatRule.java:[line 194] M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.workbookEvaluator At EvaluationConditionalFormatRule.java:[line 114] M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.sheet At EvaluationConditionalFormatRule.java:[line 115] M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getSheet() may expose internal representation by returning EvaluationConditionalFormatRule.sheet At EvaluationConditionalFormatRule.java:[line 152] M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getFormatting() may expose internal representation by returning EvaluationConditionalFormatRule.formatting At EvaluationConditionalFormatRule.java:[line 159] M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.regions At EvaluationConditionalFormatRule.java:[line 123] M V EI: org.apache.poi.poifs.crypt.agile.KeyEncryptor.getCertificateKeyEncryptor() may expose internal representation by returning KeyEncryptor.certificateKeyEncryptor At KeyEncryptor.java:[line 75] M V EI: org.apache.poi.poifs.crypt.agile.KeyEncryptor.getPasswordKeyEncryptor() may expose internal representation by returning KeyEncryptor.passwordKeyEncryptor At KeyEncryptor.java:[line 67] M V EI2: org.apache.poi.poifs.crypt.agile.KeyEncryptor.setCertificateKeyEncryptor(CertificateKeyEncryptor) may expose internal representation by storing an externally mutable object into KeyEncryptor.certificateKeyEncryptor At KeyEncryptor.java:[line 79] M V EI2: org.apache.poi.poifs.crypt.agile.KeyEncryptor.setPasswordKeyEncryptor(PasswordKeyEncryptor) may expose internal representation by storing an externally mutable object into KeyEncryptor.passwordKeyEncryptor At KeyEncryptor.java:[line 71] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.KeyEncryptor at new org.apache.poi.poifs.crypt.agile.KeyEncryptor(Element) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At KeyEncryptor.java:[line 41] M B NP: org.apache.poi.ss.formula.functions.Countif.parseBoolean(String) has Boolean return type and returns explicit null At Countif.java:[line 554] M V EI2: org.apache.poi.hssf.record.OldStringRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldStringRecord.codepage At OldStringRecord.java:[line 73] M D NP: Load of known null value in new org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader(EncryptionDocument) At AgileEncryptionHeader.java:[line 74] M V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacKey() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacKey At AgileEncryptionHeader.java:[line 120] M V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacValue() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacValue At AgileEncryptionHeader.java:[line 128] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader at new org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader(EncryptionDocument) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At AgileEncryptionHeader.java:[line 51] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader at new org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At AgileEncryptionHeader.java:[line 34] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier at new org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier(CipherAlgorithm, HashAlgorithm, int, int, ChainingMode) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At AgileEncryptionVerifier.java:[line 94] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier at new org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At AgileEncryptionVerifier.java:[line 35] M B CT: Exception thrown in class org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier at new org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier(EncryptionDocument) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At AgileEncryptionVerifier.java:[line 48] M V EI: org.apache.poi.ss.formula.BaseFormulaEvaluator._getWorkbookEvaluator() may expose internal representation by returning BaseFormulaEvaluator._bookEvaluator At BaseFormulaEvaluator.java:[line 63] M V EI2: new org.apache.poi.hssf.record.SupBookRecord(String, String[]) may expose internal representation by storing an externally mutable object into SupBookRecord.field_3_sheet_names At SupBookRecord.java:[line 77] M D SF: Switch statement found in org.apache.poi.ss.formula.functions.LookupUtils.lookupIndexOfValue(LookupUtils$LookupValueComparer, LookupUtils$ValueVector, LookupUtils$MatchMode, boolean) where default case is missing At LookupUtils.java:[lines 710-734] M D SF: Switch statement found in org.apache.poi.ss.formula.functions.LookupUtils.binarySearchIndexOfValue(LookupUtils$LookupValueComparer, LookupUtils$ValueVector, LookupUtils$MatchMode, boolean) where default case is missing At LookupUtils.java:[lines 761-785] M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataName() may expose internal representation by returning HSSFChart$HSSFSeries.dataName At HSSFChart.java:[line 1033] M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getSeries() may expose internal representation by returning HSSFChart$HSSFSeries.series At HSSFChart.java:[line 1061] M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataValues() may expose internal representation by returning HSSFChart$HSSFSeries.dataValues At HSSFChart.java:[line 1040] M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataSecondaryCategoryLabels() may expose internal representation by returning HSSFChart$HSSFSeries.dataSecondaryCategoryLabels At HSSFChart.java:[line 1054] M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataCategoryLabels() may expose internal representation by returning HSSFChart$HSSFSeries.dataCategoryLabels At HSSFChart.java:[line 1047] M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics(HSSFShapeGroup, HSSFWorkbook, Color, float) may expose internal representation by storing an externally mutable object into EscherGraphics.escherGroup At EscherGraphics.java:[line 82] M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics(HSSFShapeGroup, HSSFWorkbook, Color, float) may expose internal representation by storing an externally mutable object into EscherGraphics.workbook At EscherGraphics.java:[line 83] M V EI: org.apache.poi.hssf.extractor.ExcelExtractor.getFilesystem() may expose internal representation by returning ExcelExtractor._wb At ExcelExtractor.java:[line 434] M V EI: org.apache.poi.hssf.extractor.ExcelExtractor.getDocument() may expose internal representation by returning ExcelExtractor._wb At ExcelExtractor.java:[line 419] M V EI2: new org.apache.poi.hssf.extractor.ExcelExtractor(HSSFWorkbook) may expose internal representation by storing an externally mutable object into ExcelExtractor._wb At ExcelExtractor.java:[line 67] M B Nm: The class name org.apache.poi.hssf.extractor.ExcelExtractor shadows the simple name of implemented interface org.apache.poi.ss.extractor.ExcelExtractor At ExcelExtractor.java:[lines 56-434] M V EI: org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor.getDocument() may expose internal representation by returning HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 144] M V EI: org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor.getFilesystem() may expose internal representation by returning HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 159] M V EI2: new org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor(POIDocument) may expose internal representation by storing an externally mutable object into HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 46] M V EI2: new org.apache.poi.ss.usermodel.RangeCopier(Sheet, Sheet) may expose internal representation by storing an externally mutable object into RangeCopier.destSheet At RangeCopier.java:[line 38] M V EI2: new org.apache.poi.ss.usermodel.RangeCopier(Sheet, Sheet) may expose internal representation by storing an externally mutable object into RangeCopier.sourceSheet At RangeCopier.java:[line 37] M B CT: Exception thrown in class org.apache.poi.ss.format.CellElapsedFormatter at new org.apache.poi.ss.format.CellElapsedFormatter(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At CellElapsedFormatter.java:[line 144] M V EI2: org.apache.poi.hssf.record.OldSheetRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldSheetRecord.codepage At OldSheetRecord.java:[line 70] M M DC: Possible double-check on org.apache.poi.ss.format.CellDateFormatter.SIMPLE_DATE_FORMATTER in org.apache.poi.ss.format.CellDateFormatter.simpleValue(StringBuffer, Object) At CellDateFormatter.java:[lines 246-249] M V EI2: org.apache.poi.hssf.record.OldLabelRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldLabelRecord.codepage At OldLabelRecord.java:[line 71] M V EI: org.apache.poi.ddf.EscherTextboxRecord.getData() may expose internal representation by returning EscherTextboxRecord.thedata At EscherTextboxRecord.java:[line 107] 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 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 78] 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 115] 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 86] 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.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 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 D DLS: Dead store to maxN in org.apache.poi.ss.formula.functions.Sumproduct.evaluateSingleProduct(ValueEval[]) At Sumproduct.java:[line 95] > Task :poi:spotbugsTest 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 > Task :poi:spotbugsMain 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.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 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 96] 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 84] 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 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 CT: Exception thrown in class org.apache.poi.hssf.record.DConRefRecord at new org.apache.poi.hssf.record.DConRefRecord(byte[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DConRefRecord.java:[line 132] 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 84] 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 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 156] 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 V EI: org.apache.poi.ddf.UnknownEscherRecord.getData() may expose internal representation by returning UnknownEscherRecord.thedata At UnknownEscherRecord.java:[line 145] M V EI: org.apache.poi.ddf.UnknownEscherRecord.getChildRecords() may expose internal representation by returning UnknownEscherRecord._childRecords At UnknownEscherRecord.java:[line 155] 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.ddf.EscherRecord.MAX_NUMBER_OF_CHILDREN should be package protected At EscherRecord.java:[line 50] 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: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.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 3m 14s 52 actionable tasks: 51 executed, 1 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