See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/328/display/redirect?page=changes>
Changes:
[PJ Fanning] try to fix hamcrest module issue affecting poi-ooxml test compile
[PJ Fanning] test with log4j 2.19.0 rc1
------------------------------------------
[...truncated 293.53 KB...]
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-ooxml-full:getDeps
> Task :poi-ooxml:compileJava9
> Task :poi:javadoc
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\hssf\model\InternalWorkbook.java:22:
warning: [removal] AccessControlException in java.security has been deprecated
and marked for removal
import java.security.AccessControlException;
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\poifs\nio\CleanerUtil.java:28:
warning: [removal] AccessController in java.security has been deprecated and
marked for removal
import java.security.AccessController;
^
> Task :poi-ooxml:cacheJava9
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9 UP-TO-DATE
> Task :poi-excelant:classes
> Task :poi-excelant:jar
> Task :poi:javadoc
2 warnings
> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain
> Task :poi-excelant:spotbugsMain
M V EI2:
org.apache.poi.ss.excelant.ExcelAntSet.setWorkbookUtil(ExcelAntWorkbookUtil)
may expose internal representation by storing an externally mutable object into
ExcelAntSet.wbUtil At ExcelAntSet.java:[line 39]
M V EI: org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.getWorkbook() may
expose internal representation by returning ExcelAntWorkbookUtil.workbook At
ExcelAntWorkbookUtil.java:[line 193]
M V EI2:
org.apache.poi.ss.excelant.ExcelAntTest.setWorkbookUtil(ExcelAntWorkbookUtil)
may expose internal representation by storing an externally mutable object into
ExcelAntTest.workbookUtil At ExcelAntTest.java:[line 67]
M D DCN: Do not catch NullPointerException like in
org.apache.poi.ss.excelant.ExcelAntTest.execute() At ExcelAntTest.java:[line
180]
M V EI2:
org.apache.poi.ss.excelant.ExcelAntTask.addPrecision(ExcelAntPrecision) may
expose internal representation by storing an externally mutable object into
ExcelAntTask.precision At ExcelAntTask.java:[line 55]
SpotBugs ended with exit code 1
> Task :poi-excelant:getDeps
> Task :poi-ooxml-lite:compileJava
> Task :allJavaDoc
> Task :poi-examples:compileJava
> Task :poi-ooxml:compileTestJava
> Task :poi-ooxml-full:jacocoTestReport SKIPPED
> Task :poi:javadocJar
> Task :poi:assemble
> Task :poi:build
> Task :poi-examples:compileJava9
> Task :poi-examples:cacheJava9 UP-TO-DATE
> Task :poi-examples:classes
> Task :poi-examples:jar
> Task :poi-ooxml:compileTestJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFFont.java:20:
warning: [deprecation] FontCharset in org.apache.poi.ss.usermodel has been
deprecated
import static org.apache.poi.ss.usermodel.FontCharset.*;
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xddf\usermodel\chart\TestXDDFChartRemoveSeries.java:126:
warning: [deprecation] getSeries() in XDDFChartData has been deprecated
assertThrows(UnsupportedOperationException.class, () ->
chartData.getSeries().remove(0));
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\extractor\TestXSSFExportToXML.java:692:
warning: [unchecked] getPrefixes(String) in XPathNSContext implements
getPrefixes(String) in NamespaceContext
public Iterator getPrefixes(String val) {
^
return type requires unchecked conversion from Iterator to Iterator<String>
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFSheet.java:288:
warning: [deprecation] createSplitPane(int,int,int,int,int) in XSSFSheet has
been deprecated
sheet.createSplitPane(4, 8, 12, 12,
PaneInformation.PANE_LOWER_RIGHT + 1);
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFWorkbook.java:1362:
warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been
deprecated
CTExternalLink link =
workbook2.getExternalLinksTable().get(0).getCTExternalLink();
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:204:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(7, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:212:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(25, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:592:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(-1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:595:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(10, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:598:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:601:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:604:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:607:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:610:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(Integer.MAX_VALUE, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:613:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(-1, run.getFontSize());
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:661:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(10, run.getFontSize());
^
16 warnings
> Task :poi-examples:javadoc
> Task :poi-examples:javadocJar
> Task :poi-examples:assemble
> Task :poi-examples:forbiddenApisMain
> Task :poi-examples:getDeps
> Task :poi-scratchpad:javadoc
> Task :poi-examples:spotbugsMain
M V EI2: new org.apache.poi.examples.hwpf.Word2Forrest(HWPFDocument,
OutputStream) may expose internal representation by storing an externally
mutable object into Word2Forrest._doc At Word2Forrest.java:[line 46]
H B Nm: The class name
org.apache.poi.examples.hssf.usermodel.AddDimensionedImage shadows the simple
name of the superclass org.apache.poi.examples.ss.AddDimensionedImage At
AddDimensionedImage.java:[line 29]
M D RCN: Redundant nullcheck of wb which is known to be null in
org.apache.poi.examples.ss.CellStyleDetails.main(String[]) Redundant null
check at CellStyleDetails.java:[line 90]
M D NP: Load of known null value in
org.apache.poi.examples.ss.CellStyleDetails.main(String[]) At
CellStyleDetails.java:[line 90]
M V EI2:
org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) may
expose internal representation by storing an externally mutable object into
EventExample.sstrec At EventExample.java:[line 80]
M D SF: Switch statement found in
org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) where
default case is missing At EventExample.java:[lines 50-88]
M C FL: Using floating-point loop counters can lead to unexpected behavior. At
AddDimensionedImage.java:[line 623]
M C FL: Using floating-point loop counters can lead to unexpected behavior. At
AddDimensionedImage.java:[line 732]
M D RCN: Redundant nullcheck of workbook which is known to be null in
org.apache.poi.examples.ss.formula.UserDefinedFunctionExample.main(String[])
Redundant null check at UserDefinedFunctionExample.java:[line 82]
M D NP: Load of known null value in
org.apache.poi.examples.ss.formula.UserDefinedFunctionExample.main(String[])
At UserDefinedFunctionExample.java:[line 82]
M V EI2: new
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLS2CSVmra.output At XLS2CSVmra.java:[line 92]
M V EI2:
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.processRecord(Record)
may expose internal representation by storing an externally mutable object into
XLS2CSVmra.sstRecord At XLS2CSVmra.java:[line 172]
M V EI2: new
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLS2CSVmra.fs At XLS2CSVmra.java:[line 91]
M C FL: Using floating-point loop counters can lead to unexpected behavior. At
OfficeDrawingWithGraphics.java:[line 93]
M V EI2: new org.apache.poi.examples.ss.html.HSSFHtmlHelper(HSSFWorkbook) may
expose internal representation by storing an externally mutable object into
HSSFHtmlHelper.wb At HSSFHtmlHelper.java:[line 38]
M V EI:
org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem.getLowerLevelItems()
may expose internal representation by returning
InCellLists$MultiLevelListItem.lowerLevelItems At InCellLists.java:[line 536]
M V EI2: new
org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem(String,
List) may expose internal representation by storing an externally mutable
object into InCellLists$MultiLevelListItem.lowerLevelItems At
InCellLists.java:[line 516]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLSX2CSV.xlsxPackage At XLSX2CSV.java:[line 181]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLSX2CSV.output At XLSX2CSV.java:[line 182]
M V EI2: new
org.apache.poi.examples.ss.formula.CheckFunctionsSupported(Workbook) may expose
internal representation by storing an externally mutable object into
CheckFunctionsSupported.workbook At CheckFunctionsSupported.java:[line 103]
M C UwF: Unwritten field:
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.workbookBuildingListener
At XLS2CSVmra.java:[line 151]
M P SS: Unread field:
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.outputFormulaValues;
should this field be static? At XLS2CSVmra.java:[line 64]
SpotBugs ended with exit code 1
> Task :poi-scratchpad:javadocJar
> Task :poi-scratchpad:assemble
> Task :poi-scratchpad:check
> Task :poi-scratchpad:build
> Task :poi-ooxml:compileTest9
> Task :poi-scratchpad:getDeps
> Task :poi-ooxml-lite:compileJava9 FAILED
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26:
error: <identifier> expected
exports <<<<<<< .mine;
^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26:
error: package is empty or does not exist: <error>
exports <<<<<<< .mine;
^
2 errors
> Task :poi-scratchpad:jacocoTestReport
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml-lite:compileJava9'.
> Compilation failed; see the compiler error output for details.
* 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.5.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 11m 29s
108 actionable tasks: 103 executed, 5 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]