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 00:36:24 UTC
Build failed in Jenkins: POI » POI-DSL-Windows-1.17 #213
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/213/display/redirect?page=changes>
Changes:
[Yegor Kozlov] Bug 65988: Rate function giving incorrect results
[PJ Fanning] [github-321] add test case
------------------------------------------
[...truncated 139.71 KB...]
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
> Task :poi:sourcesJar
> Task :poi-scratchpad:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hslf\extractor\TestExtractor.java:498: warning: [deprecation] getCodepoints(String,Boolean,Boolean) in SlideShowExtractor has been deprecated
BitSet l1 = ppt.getCodepoints(font, null, null);
^
> Task :poi:forbiddenApisMain
> Task :poi:forbiddenApisTest FAILED
Forbidden method invocation: java.lang.String#format(java.lang.String,java.lang.Object[]) [Uses default locale]
in org.apache.poi.ss.formula.functions.TestRate (TestRate.java:111)
Scanned 637 class file(s) for forbidden API invocations (in 1.42s), 1 error(s).
> Task :poi-scratchpad:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:190: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("First header column!\tMid header Right header!\n", extractor1.getHeaderText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:200: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("This is a simple header, with a \u20ac euro symbol in it.\n\n", extractor2.getHeaderText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:213: warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("Footer Left\tFooter Middle Footer Right\n", extractor1.getFooterText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:223: warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n", extractor2.getFooterText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractorBugs.java:56: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
assertNotNull(extractor.getParagraphText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\model\TestCHPBinTable.java:53: warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in CHPBinTable has been deprecated
_cHPBinTable.writeTo(fileSys, 0, fakeTPT);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\model\TestFontTable.java:47: warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
_fontTable.writeTo(fileSys);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\model\TestSectionTable.java:50: warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been deprecated
sectionTable.writeTo(fileSys, 0);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\sprm\TestSprms.java:77: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1, hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\sprm\TestSprms.java:80: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1, hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestBug49820.java:64: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(expectedStyleLvl, styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestHWPFOldDocument.java:186: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestHWPFOldDocument.java:203: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestHWPFOldDocument.java:240: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
15 warnings
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 4m 31s
47 actionable tasks: 47 executed
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
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-Windows-1.17 #215
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/215/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-Windows-1.17 #214
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/214/display/redirect?page=changes>
Changes:
[PJ Fanning] more test issues with rate change
[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 334.08 KB...]
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
> Task :poi:test
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.apache.poi.poifs.dev.TestPOIFSDump (file:/F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/classes/java/test/)
WARNING: Please consider reporting this to the maintainers of org.apache.poi.poifs.dev.TestPOIFSDump
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.apache.poi.poifs.dev.TestPOIFSDump (file:/F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/classes/java/test/)
WARNING: Please consider reporting this to the maintainers of org.apache.poi.poifs.dev.TestPOIFSDump
WARNING: System::setSecurityManager will be removed in a future release
> Task :poi-ooxml-lite:sourcesJar
> Task :poi:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
> Task :poi-scratchpad:spotbugsTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue (file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.3/dad48e1bcec3f7925850421cf5bf5f7f7ba62e1/spotbugs-4.5.3.jar)
WARNING: Please consider reporting this to the maintainers of edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release
M B OS: org.apache.poi.hwpf.util.TestLittleEndianCP950Reader.assertCharEquals(char, byte[]) may fail to close stream At TestLittleEndianCP950Reader.java:[line 62]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.initDateFormat() At TestComment2000Atom.java:[line 58]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.testGetDate() At TestComment2000Atom.java:[line 73]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.testCreate() At TestComment2000Atom.java:[line 126]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.testChange() At TestComment2000Atom.java:[line 145]
M D DMI: Hard coded reference to an absolute pathname in org.apache.poi.hwmf.TestHwmfParsing.testCyrillic() At TestHwmfParsing.java:[line 79]
> Task :poi-scratchpad:test
> Task :poi-scratchpad:spotbugsTest
M D NP: Possible null pointer dereference in org.apache.poi.hssf.converter.TestExcelConverterSuite.files() due to return value of called method Method invoked at TestExcelConverterSuite.java:[line 55]
M B RR: org.apache.poi.hslf.record.TestCurrentUserAtom.writeNormal() ignores result of java.io.InputStream.read(byte[]) At TestCurrentUserAtom.java:[line 82]
M D DLS: Dead store to plc14 in org.apache.poi.hpbf.model.TestQuillContents.testComplexPLC() At TestQuillContents.java:[line 175]
M D DLS: Dead store to plc15 in org.apache.poi.hpbf.model.TestQuillContents.testComplexPLC() At TestQuillContents.java:[line 176]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.initDateFormat() At TestSystemTimeUtils.java:[line 54]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testGetDateA() At TestSystemTimeUtils.java:[line 62]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testGetDateB() At TestSystemTimeUtils.java:[line 72]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testWriteDateA() At TestSystemTimeUtils.java:[line 80]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testWriteDateB() At TestSystemTimeUtils.java:[line 95]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.initDateFormat() At TestComment2000.java:[line 98]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.testCommentAtom() At TestComment2000.java:[line 128]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.testCommentAtomB() At TestComment2000.java:[line 140]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.testChange() At TestComment2000.java:[line 176]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hsmf.TestFixedSizedProperties.initMapi() At TestFixedSizedProperties.java:[line 78]
M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hsmf.TestFixedSizedProperties.testClientSubmitTime() At TestFixedSizedProperties.java:[line 192]
M D SF: Switch statement found in org.apache.poi.hslf.model.TestShapes.textBoxRead() where default case is missing At TestShapes.java:[lines 122-143]
M D DLS: Dead store to p2r3 in org.apache.poi.hslf.model.TestShapes.testParagraphs() At TestShapes.java:[line 165]
M B RR: org.apache.poi.hwpf.HWPFDocFixture.setUp() ignores result of org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[]) At HWPFDocFixture.java:[line 49]
M D DLS: Dead store to fcMin in org.apache.poi.hwpf.model.TestCHPBinTable.testReadWrite() At TestCHPBinTable.java:[line 47]
M P Dm: org.apache.poi.hwpf.model.TestPlexOfCps.testWriteRead() uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient At TestPlexOfCps.java:[line 39]
M D SF: Switch statement found in org.apache.poi.hslf.model.TestSlideMaster.testTitleMaster() where default case is missing At TestSlideMaster.java:[lines 156-167]
M D DLS: Dead store to s7rtr0 in org.apache.poi.hslf.usermodel.TestRichTextRun.testParagraphStylesShorterTheCharStylesWrite() At TestRichTextRun.java:[line 330]
M D DLS: Dead store to mainOut in org.apache.poi.hwpf.model.TestStyleSheet.testReadWrite() At TestStyleSheet.java:[line 42]
M D DLS: Dead store to mainStream in org.apache.poi.hwpf.model.TestStyleSheet.setUp() At TestStyleSheet.java:[line 73]
M P SS: Unread field: org.apache.poi.hslf.record.TestTextBytesAtom.alt_text; should this field be static? At TestTextBytesAtom.java:[line 41]
M P UrF: Unread field: org.apache.poi.hslf.usermodel.TestRecordSetup.ss At TestRecordSetup.java:[line 42]
M P SS: Unread field: org.apache.poi.hdgf.streams.TestStreamComplex.trailerPointerAt; should this field be static? At TestStreamComplex.java:[line 41]
M P SS: Unread field: org.apache.poi.hslf.record.TestTextCharsAtom.alt_text; should this field be static? At TestTextCharsAtom.java:[line 37]
M P SS: Unread field: org.apache.poi.hdgf.streams.TestStreamComplex.trailerDataAt; should this field be static? At TestStreamComplex.java:[line 42]
M P SS: Unread field: org.apache.poi.hdgf.extractor.TestVisioExtractor.defTextChunks; should this field be static? At TestVisioExtractor.java:[line 37]
M P SS: Unread field: org.apache.poi.hdgf.extractor.TestVisioExtractor.defFilename; should this field be static? At TestVisioExtractor.java:[line 36]
M P SS: Unread field: org.apache.poi.hslf.record.TestTextCharsAtom.data_text; should this field be static? At TestTextCharsAtom.java:[line 34]
M P SS: Unread field: org.apache.poi.hslf.record.TestStyleTextPropAtom.data_c_text_len; should this field be static? At TestStyleTextPropAtom.java:[line 134]
M V MS: org.apache.poi.hdgf.TestHDGFLZW.testTrailerComp should be package protected At TestHDGFLZW.java:[line 29]
M V MS: org.apache.poi.hdgf.TestHDGFLZW.testTrailerDecomp should be package protected At TestHDGFLZW.java:[line 79]
SpotBugs ended with exit code 1
> Task :poi-scratchpad:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
> Task :poi-ooxml-full:compileJava9 SKIPPED
> Task :poi-ooxml-full:cacheJava9 NO-SOURCE
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar
> Task :poi-ooxml:compileJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\model\ExternalLinksTable.java:100: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public CTExternalLink getCTExternalLink(){
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:170: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
XSSFName nm = _uBook.getNameAt(i);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:214: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
int nameIdx = _uBook.getNameIndex(nameName);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:285: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
XSSFName xname = _uBook.getNameAt(idx);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:340: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
return _uBook.getNameAt(namePtg.getIndex()).getNameName();
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:345: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
return new Name(_uBook.getNameAt(ix), ix, this);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFFormulaEvaluator.java:137: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(cellType);
^
> Task :poi-scratchpad:test
TestExcelConverterSuite > testHtml(File) > org.apache.poi.hssf.converter.TestExcelConverterSuite.testHtml(File)[137] FAILED
java.lang.NumberFormatException at TestExcelConverterSuite.java:102
TestExcelConverterSuite > testFo(File) > org.apache.poi.hssf.converter.TestExcelConverterSuite.testFo(File)[137] FAILED
java.lang.NumberFormatException at TestExcelConverterSuite.java:76
> Task :poi-ooxml:compileJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\poifs\crypt\dsig\SignaturePart.java:211: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
public Iterator getPrefixes(String val) {
^
return type requires unchecked conversion from Iterator to Iterator<String>
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\poifs\crypt\dsig\services\RelationshipTransformService.java:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
super(NAME, 1d, NAME);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\SheetDataWriter.java:99: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public File createTempFile() throws IOException {
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\SheetDataWriter.java:111: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public Writer createWriter(File fd) throws IOException {
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\StreamingSheetWriter.java:52: warning: [deprecation] createTempFile() in SheetDataWriter has been deprecated
public File createTempFile() throws IOException {
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\StreamingSheetWriter.java:57: warning: [deprecation] createWriter(File) in SheetDataWriter has been deprecated
public Writer createWriter(File fd) throws IOException {
^
13 warnings
> Task :poi-ooxml:compileJava9 SKIPPED
> Task :poi-ooxml:cacheJava9 NO-SOURCE
> Task :poi-ooxml:classes
> Task :poi-scratchpad:test
3215 tests completed, 2 failed, 6 skipped
> Task :poi-ooxml:jar
> Task :poi-scratchpad:test FAILED
> Task :poi-examples:compileJava
> Task :poi-ooxml-lite:compileJava
> Task :allJavaDoc
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:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/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 8m 36s
63 actionable tasks: 61 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
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