You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/04/09 01:02:12 UTC
Build failed in Jenkins: POI » POI-DSL-1.17 #265
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/265/display/redirect?page=changes>
Changes:
[Yegor Kozlov] Bug 65988: Rate function giving incorrect results
[PJ Fanning] [github-321] add test case
------------------------------------------
[...truncated 137.86 KB...]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextParagraph.getStyleTextProp9Atom() may expose internal representation by returning HSLFTextParagraph.styleTextProp9Atom At HSLFTextParagraph.java:[line 337]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextParagraph.createTextRuler() may expose internal representation by returning HSLFTextParagraph._ruler At HSLFTextParagraph.java:[line 285]
M V EI2: org.apache.poi.hslf.usermodel.HSLFTextParagraph.setParentShape(HSLFTextShape) may expose internal representation by storing an externally mutable object into HSLFTextParagraph._parentShape At HSLFTextParagraph.java:[line 599]
M V EI2: org.apache.poi.hslf.usermodel.HSLFTextParagraph.setParagraphStyle(TextPropCollection) may expose internal representation by storing an externally mutable object into HSLFTextParagraph._paragraphStyle At HSLFTextParagraph.java:[line 181]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextParagraph.getParagraphStyle() may expose internal representation by returning HSLFTextParagraph._paragraphStyle At HSLFTextParagraph.java:[line 177]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextParagraph.getSheet() may expose internal representation by returning HSLFTextParagraph._sheet At HSLFTextParagraph.java:[line 212]
M V EI2: org.apache.poi.hslf.usermodel.HSLFTextParagraph.setStyleTextProp9Atom(StyleTextProp9Atom) may expose internal representation by storing an externally mutable object into HSLFTextParagraph.styleTextProp9Atom At HSLFTextParagraph.java:[line 332]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextParagraph.getTextRuns() may expose internal representation by returning HSLFTextParagraph._runs At HSLFTextParagraph.java:[line 173]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextParagraph.getTextRuler() may expose internal representation by returning HSLFTextParagraph._ruler At HSLFTextParagraph.java:[line 269]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextParagraph.getParentShape() may expose internal representation by returning HSLFTextParagraph._parentShape At HSLFTextParagraph.java:[line 595]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideMaster.getTxMasterStyleAtoms() may expose internal representation by returning HSLFSlideMaster._txmaster At HSLFSlideMaster.java:[line 192]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideMaster.getTextParagraphs() may expose internal representation by returning HSLFSlideMaster._paragraphs At HSLFSlideMaster.java:[line 64]
M V EI2: new org.apache.poi.hslf.model.HeadersFooters(HSLFSheet, short) may expose internal representation by storing an externally mutable object into HeadersFooters._sheet At HeadersFooters.java:[line 52]
M V EI: org.apache.poi.hslf.model.HeadersFooters.getContainer() may expose internal representation by returning HeadersFooters._container At HeadersFooters.java:[line 313]
M D SF: Switch statement found in org.apache.poi.hslf.usermodel.HSLFPlaceholderDetails.setVisible(boolean) where default case is missing At HSLFPlaceholderDetails.java:[lines 72-84]
M V EI: org.apache.poi.hslf.usermodel.HSLFNotes.getTextParagraphs() may expose internal representation by returning HSLFNotes._paragraphs At HSLFNotes.java:[line 67]
M V EI: org.apache.poi.hwpf.usermodel.TableCell.getDescriptor() may expose internal representation by returning TableCell._tcd At TableCell.java:[line 147]
M V EI2: new org.apache.poi.hwpf.usermodel.TableCell(int, int, TableRow, int, TableCellDescriptor, int, int) may expose internal representation by storing an externally mutable object into TableCell._tcd At TableCell.java:[line 31]
M V EI: org.apache.poi.hwpf.HWPFOldDocument.getText() may expose internal representation by returning HWPFOldDocument._text At HWPFOldDocument.java:[line 262]
M V EI: org.apache.poi.hwpf.HWPFOldDocument.getTextTable() may expose internal representation by returning HWPFOldDocument.tpt At HWPFOldDocument.java:[line 256]
M V EI: org.apache.poi.hwpf.HWPFDocument.getDataStream() may expose internal representation by returning HWPFDocument._dataStream At HWPFDocument.java:[line 1016]
M V EI: org.apache.poi.hwpf.HWPFDocument.getDocProperties() may expose internal representation by returning HWPFDocument._dop At HWPFDocument.java:[line 391]
M V EI: org.apache.poi.hwpf.HWPFDocument.getSavedByTable() may expose internal representation by returning HWPFDocument._sbt At HWPFDocument.java:[line 517]
M V EI: org.apache.poi.hwpf.HWPFDocument.getText() may expose internal representation by returning HWPFDocument._text At HWPFDocument.java:[line 387]
M V EI: org.apache.poi.hwpf.HWPFDocument.getRevisionMarkAuthorTable() may expose internal representation by returning HWPFDocument._rmat At HWPFDocument.java:[line 527]
M V EI: org.apache.poi.hwpf.HWPFDocument.getBookmarks() may expose internal representation by returning HWPFDocument._bookmarks At HWPFDocument.java:[line 554]
M V EI: org.apache.poi.hwpf.HWPFDocument.getTableStream() may expose internal representation by returning HWPFDocument._tableStream At HWPFDocument.java:[line 1021]
M B Nm: The class name org.apache.poi.hwpf.usermodel.CharacterRun shadows the simple name of implemented interface org.apache.poi.wp.usermodel.CharacterRun At CharacterRun.java:[lines 36-684]
M V EI: org.apache.poi.hemf.record.emf.HemfHeader.getMicroDimension() may expose internal representation by returning HemfHeader.microDimension At HemfHeader.java:[line 118]
M V EI: org.apache.poi.hemf.record.emf.HemfHeader.getDeviceDimension() may expose internal representation by returning HemfHeader.deviceDimension At HemfHeader.java:[line 110]
M V EI: org.apache.poi.hemf.record.emf.HemfHeader.getMilliDimension() may expose internal representation by returning HemfHeader.milliDimension At HemfHeader.java:[line 114]
M V EI: org.apache.poi.hemf.record.emf.HemfHeader.getBoundsRectangle() may expose internal representation by returning HemfHeader.boundsRectangle At HemfHeader.java:[line 64]
M V EI: org.apache.poi.hemf.record.emf.HemfHeader.getFrameRectangle() may expose internal representation by returning HemfHeader.frameRectangle At HemfHeader.java:[line 68]
M D DLS: Dead store to version in org.apache.poi.hemf.record.emf.HemfHeader.init(LittleEndianInputStream, long, long) At HemfHeader.java:[line 149]
M D DLS: Dead store to startIdx in org.apache.poi.hemf.record.emf.HemfHeader.init(LittleEndianInputStream, long, long) At HemfHeader.java:[line 138]
M V EI: org.apache.poi.hwpf.converter.TextDocumentFacade.getHead() may expose internal representation by returning TextDocumentFacade.head At TextDocumentFacade.java:[line 149]
M V EI: org.apache.poi.hwpf.converter.TextDocumentFacade.getDocument() may expose internal representation by returning TextDocumentFacade.document At TextDocumentFacade.java:[line 144]
M V EI: org.apache.poi.hwpf.converter.TextDocumentFacade.getBody() may expose internal representation by returning TextDocumentFacade.body At TextDocumentFacade.java:[line 139]
M V EI2: new org.apache.poi.hwpf.converter.TextDocumentFacade(Document) may expose internal representation by storing an externally mutable object into TextDocumentFacade.document At TextDocumentFacade.java:[line 37]
M V EI2: new org.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[]) may expose internal representation by storing an externally mutable object into PicturesTable._dataStream At PicturesTable.java:[line 88]
M V EI2: new org.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[]) may expose internal representation by storing an externally mutable object into PicturesTable._document At PicturesTable.java:[line 87]
M V EI2: new org.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[], FSPATable, OfficeArtContent) may expose internal representation by storing an externally mutable object into PicturesTable._mainStream At PicturesTable.java:[line 80]
M V EI2: new org.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[], FSPATable, OfficeArtContent) may expose internal representation by storing an externally mutable object into PicturesTable._dataStream At PicturesTable.java:[line 79]
M V EI2: new org.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[], FSPATable, OfficeArtContent) may expose internal representation by storing an externally mutable object into PicturesTable._document At PicturesTable.java:[line 78]
M V EI2: new org.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[]) may expose internal representation by storing an externally mutable object into PicturesTable._mainStream At PicturesTable.java:[line 89]
M D DLS: Dead store to rgnCntBytes in org.apache.poi.hemf.record.emf.HemfFill.readRgnData(LittleEndianInputStream, List) At HemfFill.java:[line 821]
M V EI: org.apache.poi.hwpf.usermodel.HeaderStories.getRange() may expose internal representation by returning HeaderStories.headerStories At HeaderStories.java:[line 365]
M V EI: org.apache.poi.hpbf.HPBFDocument.getMainContents() may expose internal representation by returning HPBFDocument.mainContents At HPBFDocument.java:[line 71]
M V EI: org.apache.poi.hpbf.HPBFDocument.getEscherDelayStm() may expose internal representation by returning HPBFDocument.escherDelayStm At HPBFDocument.java:[line 80]
M V EI: org.apache.poi.hpbf.HPBFDocument.getQuillContents() may expose internal representation by returning HPBFDocument.quillContents At HPBFDocument.java:[line 74]
M V EI: org.apache.poi.hpbf.HPBFDocument.getEscherStm() may expose internal representation by returning HPBFDocument.escherStm At HPBFDocument.java:[line 77]
M V EI: org.apache.poi.hwpf.converter.FoDocumentFacade.getDocument() may expose internal representation by returning FoDocumentFacade.document At FoDocumentFacade.java:[line 235]
M V EI2: new org.apache.poi.hwpf.converter.FoDocumentFacade(Document) may expose internal representation by storing an externally mutable object into FoDocumentFacade.document At FoDocumentFacade.java:[line 41]
M V EI: org.apache.poi.hemf.usermodel.HemfPicture.getRecords() may expose internal representation by returning HemfPicture.records At HemfPicture.java:[line 106]
M V EI: org.apache.poi.hwmf.record.HwmfMisc$WmfCreatePenIndirect.getDimension() may expose internal representation by returning HwmfMisc$WmfCreatePenIndirect.dimension At HwmfMisc.java:[line 735]
M V EI: org.apache.poi.hwmf.record.HwmfMisc$WmfCreatePenIndirect.getColorRef() may expose internal representation by returning HwmfMisc$WmfCreatePenIndirect.colorRef At HwmfMisc.java:[line 739]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfPolygon.getPoly() may expose internal representation by returning HwmfDraw$WmfPolygon.poly At HwmfDraw.java:[line 190]
M V EI: org.apache.poi.hdgf.streams.Stream.getPointer() may expose internal representation by returning Stream.pointer At Stream.java:[line 38]
M V EI2: new org.apache.poi.hpbf.extractor.PublisherTextExtractor(HPBFDocument) may expose internal representation by storing an externally mutable object into PublisherTextExtractor.doc At PublisherTextExtractor.java:[line 40]
M V EI: org.apache.poi.hpbf.extractor.PublisherTextExtractor.getFilesystem() may expose internal representation by returning PublisherTextExtractor.doc At PublisherTextExtractor.java:[line 118]
M V EI: org.apache.poi.hpbf.extractor.PublisherTextExtractor.getDocument() may expose internal representation by returning PublisherTextExtractor.doc At PublisherTextExtractor.java:[line 103]
M B DE: org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getBounds(List) might ignore java.lang.Exception At HemfPlusImage.java:[line 445]
M V EI: org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getImageData() may expose internal representation by returning HemfPlusImage$EmfPlusImage.imageData At HemfPlusImage.java:[line 294]
M D SF: Switch statement found in org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getContentType(byte[]) where default case is missing At HemfPlusImage.java:[lines 512-526]
M D REC: Exception is caught when Exception is not thrown in org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getBounds(List) At HemfPlusImage.java:[line 445]
M V EI: org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.getWMFData() may expose internal representation by returning HemfComment$EmfCommentDataWMF.wmfData At HemfComment.java:[line 613]
M V EI: org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.getBounds() may expose internal representation by returning HemfComment$EmfCommentDataWMF.bounds At HemfComment.java:[line 617]
M D DLS: Dead store to version in org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.init(LittleEndianInputStream, long) At HemfComment.java:[line 587]
M D DLS: Dead store to checksum in org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.init(LittleEndianInputStream, long) At HemfComment.java:[line 593]
M D DLS: Dead store to flags in org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.init(LittleEndianInputStream, long) At HemfComment.java:[line 596]
M V EI2: new org.apache.poi.hwpf.converter.WordToTextConverter(TextDocumentFacade) may expose internal representation by storing an externally mutable object into WordToTextConverter.textDocumentFacade At WordToTextConverter.java:[line 158]
M V EI2: new org.apache.poi.hwpf.extractor.WordExtractor(HWPFDocument) may expose internal representation by storing an externally mutable object into WordExtractor.doc At WordExtractor.java:[line 74]
M V EI: org.apache.poi.hwpf.extractor.WordExtractor.getFilesystem() may expose internal representation by returning WordExtractor.doc At WordExtractor.java:[line 290]
M V EI: org.apache.poi.hwpf.extractor.WordExtractor.getDocument() may expose internal representation by returning WordExtractor.doc At WordExtractor.java:[line 275]
M D DLS: Dead store to signature in org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At HemfFont.java:[line 457]
M D DLS: Dead store to reserved in org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At HemfFont.java:[line 385]
M D DLS: Dead store to version in org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At HemfFont.java:[line 376]
M D DLS: Dead store to match in org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At HemfFont.java:[line 383]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfStretchDib.getDstBounds() may expose internal representation by returning HwmfFill$WmfStretchDib.dstBounds At HwmfFill.java:[line 658]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfStretchDib.getSrcBounds() may expose internal representation by returning HwmfFill$WmfStretchDib.srcBounds At HwmfFill.java:[line 654]
M V EI: org.apache.poi.hslf.record.SlideAtom.getSSlideLayoutAtom() may expose internal representation by returning SlideAtom.layoutAtom At SlideAtom.java:[line 61]
M V EI: org.apache.poi.hemf.record.emfplus.HemfPlusBrush$EmfPlusBrush.getBrushBytes() may expose internal representation by returning HemfPlusBrush$EmfPlusBrush.brushBytes At HemfPlusBrush.java:[line 387]
M V EI2: new org.apache.poi.hwpf.converter.HtmlDocumentFacade(Document) may expose internal representation by storing an externally mutable object into HtmlDocumentFacade.document At HtmlDocumentFacade.java:[line 46]
M V EI: org.apache.poi.hwpf.converter.HtmlDocumentFacade.getBody() may expose internal representation by returning HtmlDocumentFacade.body At HtmlDocumentFacade.java:[line 235]
M V EI: org.apache.poi.hwpf.converter.HtmlDocumentFacade.getHead() may expose internal representation by returning HtmlDocumentFacade.head At HtmlDocumentFacade.java:[line 245]
M V EI: org.apache.poi.hwpf.converter.HtmlDocumentFacade.getDocument() may expose internal representation by returning HtmlDocumentFacade.document At HtmlDocumentFacade.java:[line 240]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getRecords() may expose internal representation by returning HSLFSlideShowImpl._records At HSLFSlideShowImpl.java:[line 923]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getCurrentUserAtom() may expose internal representation by returning HSLFSlideShowImpl.currentUser At HSLFSlideShowImpl.java:[line 938]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getUnderlyingBytes() may expose internal representation by returning HSLFSlideShowImpl._docstream At HSLFSlideShowImpl.java:[line 931]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getEmbeddedObjects() may expose internal representation by returning HSLFSlideShowImpl._objects At HSLFSlideShowImpl.java:[line 974]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfPolyPolygon.getPolyList() may expose internal representation by returning HwmfDraw$WmfPolyPolygon.polyList At HwmfDraw.java:[line 461]
M D SF: Switch statement found in org.apache.poi.hwmf.record.HwmfDraw$WmfPolyPolygon.draw(HwmfGraphics) where default case is missing At HwmfDraw.java:[lines 401-410]
M V EI: org.apache.poi.hwmf.draw.HwmfImageRenderer.getGenericRecord() may expose internal representation by returning HwmfImageRenderer.image At HwmfImageRenderer.java:[line 155]
M V EI2: new org.apache.poi.hwpf.converter.WordToFoConverter(FoDocumentFacade) may expose internal representation by storing an externally mutable object into WordToFoConverter.foDocumentFacade At WordToFoConverter.java:[line 129]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfIntersectClipRect.getBounds() may expose internal representation by returning HwmfWindowing$WmfIntersectClipRect.bounds At HwmfWindowing.java:[line 574]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFillRgn.getBounds() may expose internal representation by returning HemfFill$EmfFillRgn.bounds At HemfFill.java:[line 473]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFillRgn.getRgnRects() may expose internal representation by returning HemfFill$EmfFillRgn.rgnRects At HemfFill.java:[line 477]
M D DLS: Dead store to rgnDataSize in org.apache.poi.hemf.record.emf.HemfFill$EmfFillRgn.init(LittleEndianInputStream, long, long) At HemfFill.java:[line 461]
M V EI2: new org.apache.poi.hssf.converter.ExcelToHtmlConverter(HtmlDocumentFacade) may expose internal representation by storing an externally mutable object into ExcelToHtmlConverter.htmlDocumentFacade At ExcelToHtmlConverter.java:[line 172]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolygon.getBounds() may expose internal representation by returning HemfDraw$EmfPolygon.bounds At HemfDraw.java:[line 321]
M D DLS: Dead store to glyphPosCnt in org.apache.poi.hemf.record.emfplus.HemfPlusDraw$EmfPlusDrawDriverString.init(LittleEndianInputStream, long, long, int) At HemfPlusDraw.java:[line 722]
M V EI2: new org.apache.poi.hssf.converter.ExcelToFoConverter(FoDocumentFacade) may expose internal representation by storing an externally mutable object into ExcelToFoConverter.foDocumentFacade At ExcelToFoConverter.java:[line 125]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfFrameRegion.getFrame() may expose internal representation by returning HwmfDraw$WmfFrameRegion.frame At HwmfDraw.java:[line 331]
M V EI: org.apache.poi.hdgf.streams.ChunkStream.getChunks() may expose internal representation by returning ChunkStream.chunks At ChunkStream.java:[line 46]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfScaleViewportExt.getScale() may expose internal representation by returning HwmfWindowing$WmfScaleViewportExt.scale At HwmfWindowing.java:[line 449]
M V EI2: new org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor(POIFSFileSystem) may expose internal representation by storing an externally mutable object into QuickButCruddyTextExtractor.fs At QuickButCruddyTextExtractor.java:[line 100]
M V EI: org.apache.poi.hemf.record.emfplus.HemfPlusRegion$EmfPlusRegion.getRegionNode() may expose internal representation by returning HemfPlusRegion$EmfPlusRegion.regionNode At HemfPlusRegion.java:[line 150]
M D DLS: Dead store to nodeCount in org.apache.poi.hemf.record.emfplus.HemfPlusRegion$EmfPlusRegion.init(LittleEndianInputStream, long, HemfPlusObject$EmfPlusObjectType, int) At HemfPlusRegion.java:[line 117]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getSrc() may expose internal representation by returning HemfFill$EmfSetDiBitsToDevice.src At HemfFill.java:[line 740]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getBounds() may expose internal representation by returning HemfFill$EmfSetDiBitsToDevice.bounds At HemfFill.java:[line 732]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getDest() may expose internal representation by returning HemfFill$EmfSetDiBitsToDevice.dest At HemfFill.java:[line 736]
M D DLS: Dead store to iStartScan in org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.init(LittleEndianInputStream, long, long) At HemfFill.java:[line 721]
M D DLS: Dead store to cScans in org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.init(LittleEndianInputStream, long, long) At HemfFill.java:[line 723]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfLineTo.getPoint() may expose internal representation by returning HwmfDraw$WmfLineTo.point At HwmfDraw.java:[line 120]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfExtTextOut.getReference() may expose internal representation by returning HwmfText$WmfExtTextOut.reference At HwmfText.java:[line 480]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfExtTextOut.getBounds() may expose internal representation by returning HwmfText$WmfExtTextOut.bounds At HwmfText.java:[line 484]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.getRgnRects() may expose internal representation by returning HemfFill$EmfFrameRgn.rgnRects At HemfFill.java:[line 375]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.getBounds() may expose internal representation by returning HemfFill$EmfFrameRgn.bounds At HemfFill.java:[line 371]
M D DLS: Dead store to rgnDataSize in org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.init(LittleEndianInputStream, long, long) At HemfFill.java:[line 347]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfSetDibToDev.getSrcBounds() may expose internal representation by returning HwmfFill$WmfSetDibToDev.srcBounds At HwmfFill.java:[line 801]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfSetDibToDev.getDstBounds() may expose internal representation by returning HwmfFill$WmfSetDibToDev.dstBounds At HwmfFill.java:[line 805]
M V EI: org.apache.poi.hemf.record.emf.HemfText$EmfExtTextOutA.getScale() may expose internal representation by returning HemfText$EmfExtTextOutA.scale At HemfText.java:[line 215]
M D BC: Unchecked/unconfirmed cast from org.apache.poi.hwmf.draw.HwmfGraphics to org.apache.poi.hemf.draw.HemfGraphics in org.apache.poi.hemf.record.emfplus.HemfPlusObject$EmfPlusObject.applyObject(HwmfGraphics) At HemfPlusObject.java:[line 217]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfExcludeClipRect.getBounds() may expose internal representation by returning HwmfWindowing$WmfExcludeClipRect.bounds At HwmfWindowing.java:[line 534]
M V EI: org.apache.poi.hemf.record.emfplus.HemfPlusMisc$EmfPlusSetWorldTransform.getMatrixData() may expose internal representation by returning HemfPlusMisc$EmfPlusSetWorldTransform.matrixData At HemfPlusMisc.java:[line 220]
M V EI: org.apache.poi.hslf.record.Comment2000.getComment2000Atom() may expose internal representation by returning Comment2000.commentAtom At Comment2000.java:[line 59]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyPolygon.getBounds() may expose internal representation by returning HemfDraw$EmfPolyPolygon.bounds At HemfDraw.java:[line 545]
M D DLS: Dead store to count in org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyPolygon.init(LittleEndianInputStream, long, long) At HemfDraw.java:[line 499]
M D DLS: Dead store to CustomStartCapSize in org.apache.poi.hemf.record.emfplus.HemfPlusPen$EmfPlusPen.initCustomCap(Consumer, LittleEndianInputStream) At HemfPlusPen.java:[line 535]
M V EI: org.apache.poi.hemf.record.emf.HemfMisc$EmfModifyWorldTransform.getXForm() may expose internal representation by returning HemfMisc$EmfModifyWorldTransform.xForm At HemfMisc.java:[line 843]
M V EI: org.apache.poi.hwmf.record.HwmfMisc$WmfCreateBrushIndirect.getColorRef() may expose internal representation by returning HwmfMisc$WmfCreateBrushIndirect.colorRef At HwmfMisc.java:[line 842]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfStrokePath.getBounds() may expose internal representation by returning HemfDraw$EmfStrokePath.bounds At HemfDraw.java:[line 1265]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyBezier.getBounds() may expose internal representation by returning HemfDraw$EmfPolyBezier.bounds At HemfDraw.java:[line 205]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfSetPixel.getPoint() may expose internal representation by returning HwmfDraw$WmfSetPixel.point At HwmfDraw.java:[line 541]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfSetPixel.getColorRef() may expose internal representation by returning HwmfDraw$WmfSetPixel.colorRef At HwmfDraw.java:[line 537]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getMAPIMessage() may expose internal representation by returning OutlookTextExtractor.msg At OutlookTextExtractor.java:[line 82]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getDocument() may expose internal representation by returning OutlookTextExtractor.msg At OutlookTextExtractor.java:[line 209]
M V EI2: new org.apache.poi.hsmf.extractor.OutlookTextExtractor(MAPIMessage) may expose internal representation by storing an externally mutable object into OutlookTextExtractor.msg At OutlookTextExtractor.java:[line 50]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getFilesystem() may expose internal representation by returning OutlookTextExtractor.msg At OutlookTextExtractor.java:[line 224]
M V EI2: new org.apache.poi.hwpf.converter.WordToHtmlConverter(HtmlDocumentFacade) may expose internal representation by storing an externally mutable object into WordToHtmlConverter.htmlDocumentFacade At WordToHtmlConverter.java:[line 104]
M V EI: org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataMultiformats.getBounds() may expose internal representation by returning HemfComment$EmfCommentDataMultiformats.bounds At HemfComment.java:[line 476]
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 40]
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 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 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 138]
M V EI: org.apache.poi.hdgf.extractor.VisioTextExtractor.getDocument() may expose internal representation by returning VisioTextExtractor.hdgf At VisioTextExtractor.java:[line 123]
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 394]
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 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 52]
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
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi:forbiddenApisTest'.
> de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden API calls failed, see log.
* 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 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 2m 13s
49 actionable tasks: 48 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'
Archiving artifacts
[Fast Archiver] Compressed 23.82 MB of artifacts by 20.6% relative to #264
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Jenkins build is back to normal : POI » POI-DSL-1.17 #267
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/267/display/redirect?page=changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Build failed in Jenkins: POI » POI-DSL-1.17 #266
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/266/display/redirect?page=changes>
Changes:
[PJ Fanning] update changes
[PJ Fanning] [github-321] Fix issue with rounding in DataFormatter. First try broke a test.
[PJ Fanning] try to standardise div code
[PJ Fanning] [github-321] Fix issue with rounding in DataFormatter. Thanks to Colin Wang. This closes #321
[PJ Fanning] increase tolerance on rate test due to failures
[PJ Fanning] forbidden api issue
------------------------------------------
[...truncated 325.73 KB...]
M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getFormatting() may expose internal representation by returning EvaluationConditionalFormatRule.formatting At EvaluationConditionalFormatRule.java:[line 158]
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 122]
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 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 V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacKey() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacKey At AgileEncryptionHeader.java:[line 112]
M V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacValue() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacValue At AgileEncryptionHeader.java:[line 120]
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]
> Task :poi:spotbugsTest
M D DB: org.apache.poi.ss.usermodel.BaseTestCell.checkUnicodeValues(Workbook) uses the same code for two branches At BaseTestCell.java:[line 936]
M C RCN: Nullcheck of wb at line 233 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftWithNames() At BaseTestSheetShiftRows.java:[line 233]
M C RCN: Nullcheck of wb at line 741 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.checkMergedRegions56454() At BaseTestSheetShiftRows.java:[line 741]
M C RCN: Nullcheck of wb at line 481 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.test47169() At BaseTestSheetShiftRows.java:[line 481]
M C RCN: Nullcheck of wb at line 412 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftSharedFormulasBug54206() At BaseTestSheetShiftRows.java:[line 412]
M C RCN: Nullcheck of wb at line 619 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.shiftMergedRowsToMergedRowsUp() At BaseTestSheetShiftRows.java:[line 619]
M C RCN: Nullcheck of wb at line 719 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.test61840_shifting_rows_up_does_not_produce_REF_errors() At BaseTestSheetShiftRows.java:[line 719]
M C RCN: Nullcheck of wb at line 696 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.shiftMergedRowsToMergedRowsDown() At BaseTestSheetShiftRows.java:[line 696]
M C RCN: Nullcheck of wb at line 122 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftRow() At BaseTestSheetShiftRows.java:[line 122]
M C RCN: Nullcheck of wb at line 586 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.shiftRowsWithMergedRegionsThatDoNotContainColumnZero() At BaseTestSheetShiftRows.java:[line 586]
M C RCN: Nullcheck of wb1 at line 150 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftWithComments() At BaseTestSheetShiftRows.java:[line 150]
M C RCN: Nullcheck of wb2 at line 190 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftWithComments() At BaseTestSheetShiftRows.java:[line 190]
M C RCN: Nullcheck of wb at line 136 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftRowBreaks() At BaseTestSheetShiftRows.java:[line 136]
M C RCN: Nullcheck of w at line 469 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testBug55280() At BaseTestSheetShiftRows.java:[line 469]
M C RCN: Nullcheck of wb at line 277 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftWithMergedRegions() At BaseTestSheetShiftRows.java:[line 277]
M C RCN: Nullcheck of wb at line 296 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.shiftWithMergedRegions_bug56454() At BaseTestSheetShiftRows.java:[line 296]
M C RCN: Nullcheck of wb at line 662 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.bug60384ShiftMergedRegion() At BaseTestSheetShiftRows.java:[line 662]
M C RCN: Nullcheck of read at line 545 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testBug46742_52903_shiftHyperlinks() At BaseTestSheetShiftRows.java:[line 545]
M C RCN: Nullcheck of wb at line 496 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testBug46742_52903_shiftHyperlinks() At BaseTestSheetShiftRows.java:[line 496]
M C RCN: Nullcheck of wb2 at line 71 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftRows() At BaseTestSheetShiftRows.java:[line 71]
M C RCN: Nullcheck of wb5 at line 102 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftRows() At BaseTestSheetShiftRows.java:[line 102]
M C RCN: Nullcheck of wb4 at line 97 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftRows() At BaseTestSheetShiftRows.java:[line 97]
M C RCN: Nullcheck of wb3 at line 84 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftRows() At BaseTestSheetShiftRows.java:[line 84]
M C RCN: Nullcheck of wb1 at line 62 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftRows() At BaseTestSheetShiftRows.java:[line 62]
M C RCN: Nullcheck of wb at line 341 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.testShiftWithFormulas() At BaseTestSheetShiftRows.java:[line 341]
M C RCN: Nullcheck of wb at line 641 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestSheetShiftRows.shiftMergedRowsToMergedRowsOverlappingMergedRegion() At BaseTestSheetShiftRows.java:[line 641]
M B OS: org.apache.poi.sl.usermodel.BaseTestSlideShowFactory.readExternalFile(String) may fail to close stream At BaseTestSlideShowFactory.java:[line 136]
M C RCN: Nullcheck of wb at line 879 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.createDrawing() At BaseTestWorkbook.java:[line 879]
M C RCN: Nullcheck of wb at line 742 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.changeSheetNameWithSharedFormulas() At BaseTestWorkbook.java:[line 742]
M C RCN: Nullcheck of wb at line 54 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.sheetIterator_forEach() At BaseTestWorkbook.java:[line 54]
M C RCN: Nullcheck of wb at line 73 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.sheetIterator_sheetsReordered() At BaseTestWorkbook.java:[line 73]
M C RCN: Nullcheck of wb2 at line 579 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.unicodeInAll() At BaseTestWorkbook.java:[line 579]
M C RCN: Nullcheck of wb1 at line 543 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.unicodeInAll() At BaseTestWorkbook.java:[line 543]
M C RCN: Nullcheck of workbook at line 348 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.printArea() At BaseTestWorkbook.java:[line 348]
M C RCN: Nullcheck of wb at line 864 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.addSheetTwice() At BaseTestWorkbook.java:[line 864]
M C RCN: Nullcheck of wb1 at line 485 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.parentReferences() At BaseTestWorkbook.java:[line 485]
M C RCN: Nullcheck of wb2 at line 497 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.parentReferences() At BaseTestWorkbook.java:[line 497]
M C RCN: Nullcheck of b at line 335 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.sheetSelection() At BaseTestWorkbook.java:[line 335]
M C RCN: Nullcheck of wb at line 134 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.createSheet() At BaseTestWorkbook.java:[line 134]
M C RCN: Nullcheck of wb2 at line 207 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.createSheet() At BaseTestWorkbook.java:[line 207]
M C RCN: Nullcheck of b at line 325 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.defaultValues() At BaseTestWorkbook.java:[line 325]
M C RCN: Nullcheck of b at line 821 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.sheetClone() At BaseTestWorkbook.java:[line 821]
M C RCN: Nullcheck of workbook at line 261 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.removeSheetAt() At BaseTestWorkbook.java:[line 261]
M C RCN: Nullcheck of workbook at line 369 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.getSetActiveSheet() At BaseTestWorkbook.java:[line 369]
M C RCN: Nullcheck of workbook at line 779 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.test58499() At BaseTestWorkbook.java:[line 779]
M C RCN: Nullcheck of wb at line 839 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.getSheetIndex() At BaseTestWorkbook.java:[line 839]
M C RCN: Nullcheck of book at line 456 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.cloneSheet() At BaseTestWorkbook.java:[line 456]
M C RCN: Nullcheck of wb at line 122 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.sheetIterator_remove() At BaseTestWorkbook.java:[line 122]
M C RCN: Nullcheck of workbook at line 922 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.testSheetNameTrimming() At BaseTestWorkbook.java:[line 922]
M C RCN: Nullcheck of wbr at line 431 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.setSheetOrder() At BaseTestWorkbook.java:[line 431]
M C RCN: Nullcheck of wb at line 394 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.setSheetOrder() At BaseTestWorkbook.java:[line 394]
M C RCN: Nullcheck of wb1 at line 229 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.createSheetWithLongNames() At BaseTestWorkbook.java:[line 229]
M C RCN: Nullcheck of wb2 at line 251 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.createSheetWithLongNames() At BaseTestWorkbook.java:[line 251]
M C RCN: Nullcheck of wb at line 98 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.sheetIterator_sheetRemoved() At BaseTestWorkbook.java:[line 98]
M C RCN: Nullcheck of b at line 795 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.windowOneDefaults() At BaseTestWorkbook.java:[line 795]
M C RCN: Nullcheck of wb at line 310 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.testSetActiveCell() At BaseTestWorkbook.java:[line 310]
M C RCN: Nullcheck of wb at line 522 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.setRepeatingRowsAndColumns() At BaseTestWorkbook.java:[line 522]
M C RCN: Nullcheck of wb2 at line 707 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.setSheetName() At BaseTestWorkbook.java:[line 707]
M C RCN: Nullcheck of wb at line 804 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestWorkbook.getSpreadsheetVersion() At BaseTestWorkbook.java:[line 804]
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 1084] is not discharged
M C RCN: Nullcheck of wb at line 204 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestPicture.bug64213Helper(int, int, int) At BaseTestPicture.java:[line 204]
M C RCN: Nullcheck of wb at line 66 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestPicture.resize() At BaseTestPicture.java:[line 66]
M C RCN: Nullcheck of wb at line 120 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestPicture.testResizeWithColumns() At BaseTestPicture.java:[line 120]
M C RCN: Nullcheck of wb at line 109 of value previously dereferenced in org.apache.poi.ss.usermodel.BaseTestPicture.testResizeNoColumns() At BaseTestPicture.java:[line 109]
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 175-177]
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 216]
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 B OS: org.apache.poi.hssf.record.TestSSTRecord.concatHexDumps(String[]) may fail to close stream At TestSSTRecord.java:[line 52]
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 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 159]
M B OS: org.apache.poi.hssf.model.TestDrawingAggregate.testIncompleteData() may fail to close stream At TestDrawingAggregate.java:[line 219]
M B OS: org.apache.poi.hssf.model.TestDrawingAggregate.toByteArray(List) may fail to close stream At TestDrawingAggregate.java:[line 245]
M B OS: org.apache.poi.hssf.model.TestEscherRecordFactory.toByteArray(List) may fail to close stream At TestEscherRecordFactory.java:[line 42]
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 C RCN: Nullcheck of show2 at line 129 of value previously dereferenced in org.apache.poi.sl.usermodel.BaseTestSlideShow.addTabStops() At BaseTestSlideShow.java:[line 129]
M C RCN: Nullcheck of show1 at line 104 of value previously dereferenced in org.apache.poi.sl.usermodel.BaseTestSlideShow.addTabStops() At BaseTestSlideShow.java:[line 104]
M B CNT: Rough value of Math.PI found: 3.14 At TestWorkbookEvaluator.java:[line 301]
M D DLS: Dead store to cellB1 in org.apache.poi.ss.formula.TestWorkbookEvaluator.testRefToBlankCellInArrayFormula() At TestWorkbookEvaluator.java:[line 613]
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 198-200]
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 C RCN: Nullcheck of wbBack2 at line 207 of value previously dereferenced in org.apache.poi.hssf.usermodel.TestHSSFCell.testActiveCellBug56114() At TestHSSFCell.java:[line 207]
M C RCN: Nullcheck of wbBack at line 198 of value previously dereferenced in org.apache.poi.hssf.usermodel.TestHSSFCell.testActiveCellBug56114() At TestHSSFCell.java:[line 198]
M C RCN: Nullcheck of wb at line 376 of value previously dereferenced in org.apache.poi.hssf.usermodel.TestHSSFCell.testCellType() At TestHSSFCell.java:[line 376]
M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSMiniStore.java:[line 250]
M B FS: Format string should use %n rather than \n in org.apache.poi.hssf.dev.TestFormulaViewer.parseFormulaRecord(FormulaRecord) At TestFormulaViewer.java:[line 110]
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 SIC: Should org.apache.poi.ss.formula.atp.TestWorkdayFunction$MockAreaEval be a _static_ inner class? At TestWorkdayFunction.java:[lines 179-211]
M P SS: Unread field: org.apache.poi.hssf.dev.TestFormulaViewer.doListFormula; should this field be static? At TestFormulaViewer.java:[line 50]
M D UrF: Unread public/protected field: org.apache.poi.ss.usermodel.BaseTestRangeCopier.testDataProvider At TestHSSFRangeCopier.java:[line 32]
M P SIC: Should org.apache.poi.ss.formula.atp.TestWorkdayIntlFunction$MockAreaEval be a _static_ inner class? At TestWorkdayIntlFunction.java:[lines 211-243]
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]
M P SS: Unread field: org.apache.poi.hssf.usermodel.TestNonStandardWorkbookStreamNames.xlsA; should this field be static? At TestNonStandardWorkbookStreamNames.java:[line 37]
SpotBugs ended with exit code 1
> Task :poi:spotbugsMain
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 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 C SA: Self comparison of CellDateFormatter.EXCEL_EPOCH_CAL with itself in org.apache.poi.ss.format.CellDateFormatter.simpleValue(StringBuffer, Object) At CellDateFormatter.java:[line 246]
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 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 540]
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 532]
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 531]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getRegion() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.region At DataValidationEvaluator.java:[line 552]
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 534]
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 533]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getEvaluator() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.dve At DataValidationEvaluator.java:[line 546]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getTarget() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.target At DataValidationEvaluator.java:[line 558]
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 102]
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]
M V EI: org.apache.poi.ddf.EscherClientAnchorRecord.getRemainingData() may expose internal representation by returning EscherClientAnchorRecord.remainingData At EscherClientAnchorRecord.java:[line 368]
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 D DLS: Dead store to ld in org.apache.poi.ss.formula.functions.TimeValue.evaluate(int, int, ValueEval) At TimeValue.java:[line 68]
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 184]
M V EI: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.getSSTRecord() may expose internal representation by returning EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord At EventWorkbookBuilder.java:[line 134]
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 182]
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 172-176]
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 156]
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 159]
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 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 134]
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 139]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getData() may expose internal representation by returning UnknownEscherRecord.thedata At UnknownEscherRecord.java:[line 129]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getChildRecords() may expose internal representation by returning UnknownEscherRecord._childRecords At UnknownEscherRecord.java:[line 139]
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.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.hssf.usermodel.HSSFChart.chartTitleFormat At HSSFChart.java:[line 217]
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.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 55]
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 287]
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 286]
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 288]
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.17/ws/poi-scratchpad/build/reports/tests/test/index.html>
* 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 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 4m 16s
56 actionable tasks: 54 executed, 2 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'
Archiving artifacts
[Fast Archiver] Compressed 26.11 MB of artifacts by 18.7% relative to #264
Recording test results
[Checks API] No suitable checks publisher found.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org