See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.8/523/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 419.27 KB...]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.LineTo.setupMaster(GeometryRow) 
may expose internal representation by storing an externally mutable object into 
LineTo._master  At LineTo.java:[line 79]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.NURBSTo.setupMaster(GeometryRow) 
may expose internal representation by storing an externally mutable object into 
NURBSTo._master  At NURBSTo.java:[line 129]
M V EI: org.apache.poi.xslf.usermodel.XSLFSlide.getXmlObject() may expose 
internal representation by returning XSLFSlide._slide  At XSLFSlide.java:[line 
124]
M V EI: org.apache.poi.xslf.usermodel.XSLFSlide.getSlideLayout() may expose 
internal representation by returning XSLFSlide._layout  At XSLFSlide.java:[line 
159]
M V EI: org.apache.poi.xslf.usermodel.XSLFSlide.getCommentsPart() may expose 
internal representation by returning XSLFSlide._comments  At 
XSLFSlide.java:[line 181]
M V EI: org.apache.poi.xslf.usermodel.XSLFSlide.getCommentAuthorsPart() may 
expose internal representation by returning XSLFSlide._commentAuthors  At 
XSLFSlide.java:[line 195]
M V EI: org.apache.poi.xslf.usermodel.XSLFSlide.getNotes() may expose internal 
representation by returning XSLFSlide._notes  At XSLFSlide.java:[line 239]
M V EI: org.apache.poi.xssf.usermodel.XSSFChartSheet.getCTChartsheet() may 
expose internal representation by returning XSSFChartSheet.chartsheet  At 
XSSFChartSheet.java:[line 75]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.RelCubBezTo.setupMaster(GeometryRow)
 may expose internal representation by storing an externally mutable object 
into RelCubBezTo._master  At RelCubBezTo.java:[line 121]
M V EI: org.apache.poi.xddf.usermodel.text.XDDFTextRun.getParentParagraph() may 
expose internal representation by returning XDDFTextRun._parent  At 
XDDFTextRun.java:[line 76]
M V EI: org.apache.poi.openxml4j.opc.ZipPackagePart.getZipArchive() may expose 
internal representation by returning ZipPackagePart.zipEntry  At 
ZipPackagePart.java:[line 92]
M P SBSC: org.apache.poi.xssf.extractor.XSSFExportToXml.compare(String, String) 
concatenates strings using + in a loop  At XSSFExportToXml.java:[line 420]
M D SF: Switch statement found in 
org.apache.poi.xssf.binary.XSSFBSharedStringsTable$SSTBinaryReader.handleRecord(int,
 byte[]) where default case is missing  At XSSFBSharedStringsTable.java:[lines 
129-136]
M D DLS: Dead store to hyperlinksTable in 
org.apache.poi.xssf.extractor.XSSFBEventBasedExcelExtractor.getText()  At 
XSSFBEventBasedExcelExtractor.java:[line 124]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.ArcTo.setupMaster(GeometryRow) 
may expose internal representation by storing an externally mutable object into 
ArcTo._master  At ArcTo.java:[line 90]
M V EI: 
org.apache.poi.xssf.usermodel.XSSFPivotCacheRecords.getCtPivotCacheRecords() 
may expose internal representation by returning 
XSSFPivotCacheRecords.ctPivotCacheRecords  At XSSFPivotCacheRecords.java:[line 
75]
M B Eq: org.apache.poi.openxml4j.opc.ZipPackage$EntryTriple defines 
compareTo(ZipPackage$EntryTriple) and uses Object.equals()  At 
ZipPackage.java:[lines 377-380]
M V EI: org.apache.poi.xslf.usermodel.XSLFShadow.getShadowParent() may expose 
internal representation by returning XSLFShadow._parent  At 
XSLFShadow.java:[line 45]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.MoveTo.setupMaster(GeometryRow) 
may expose internal representation by storing an externally mutable object into 
MoveTo._master  At MoveTo.java:[line 84]
M V EI: 
org.apache.poi.xssf.usermodel.XSSFGraphicFrame.getCTGraphicalObjectFrame() may 
expose internal representation by returning XSSFGraphicFrame.graphicFrame  At 
XSSFGraphicFrame.java:[line 78]
M V EI: 
org.apache.poi.poifs.crypt.dsig.services.TimeStampSimpleHttpClient.getProxy() 
may expose internal representation by returning TimeStampSimpleHttpClient.proxy 
 At TimeStampSimpleHttpClient.java:[line 139]
M V EI2: 
org.apache.poi.poifs.crypt.dsig.services.TimeStampSimpleHttpClient.init(SignatureConfig)
 may expose internal representation by storing an externally mutable object 
into TimeStampSimpleHttpClient.config  At TimeStampSimpleHttpClient.java:[line 
110]
M V EI2: new org.apache.poi.xslf.usermodel.XSLFFontInfo(XMLSlideShow, 
CTEmbeddedFontListEntry) may expose internal representation by storing an 
externally mutable object into XSLFFontInfo.fontListEntry  At 
XSLFFontInfo.java:[line 75]
M V EI2: new org.apache.poi.xslf.usermodel.XSLFFontInfo(XMLSlideShow, 
CTEmbeddedFontListEntry) may expose internal representation by storing an 
externally mutable object into XSLFFontInfo.ppt  At XSLFFontInfo.java:[line 73]
M V EI2: new org.apache.poi.xslf.usermodel.XSLFFontInfo(XMLSlideShow, String) 
may expose internal representation by storing an externally mutable object into 
XSLFFontInfo.ppt  At XSLFFontInfo.java:[line 54]
M V EI2: new org.apache.poi.xssf.streaming.SXSSFCreationHelper(SXSSFWorkbook) 
may expose internal representation by storing an externally mutable object into 
SXSSFCreationHelper.wb  At SXSSFCreationHelper.java:[line 53]
M V EI2: new org.apache.poi.ooxml.dev.OOXMLLister(OPCPackage, PrintStream) may 
expose internal representation by storing an externally mutable object into 
OOXMLLister.disp  At OOXMLLister.java:[line 43]
M V EI2: new org.apache.poi.ooxml.dev.OOXMLLister(OPCPackage, PrintStream) may 
expose internal representation by storing an externally mutable object into 
OOXMLLister.container  At OOXMLLister.java:[line 42]
M V EI2: 
org.apache.poi.poifs.crypt.dsig.OOXMLURIDereferencer.setSignatureInfo(SignatureInfo)
 may expose internal representation by storing an externally mutable object 
into OOXMLURIDereferencer.signatureInfo  At OOXMLURIDereferencer.java:[line 59]
M V EI: org.apache.poi.xdgf.extractor.XDGFVisioExtractor.getDocument() may 
expose internal representation by returning XDGFVisioExtractor.document  At 
XDGFVisioExtractor.java:[line 55]
M V EI: org.apache.poi.xdgf.extractor.XDGFVisioExtractor.getFilesystem() may 
expose internal representation by returning XDGFVisioExtractor.document  At 
XDGFVisioExtractor.java:[line 70]
M V EI2: new org.apache.poi.xdgf.extractor.XDGFVisioExtractor(XmlVisioDocument) 
may expose internal representation by storing an externally mutable object into 
XDGFVisioExtractor.document  At XDGFVisioExtractor.java:[line 36]
M V EI2: new 
org.apache.poi.xssf.usermodel.helpers.XSSFFormulaUtils(XSSFWorkbook) may expose 
internal representation by storing an externally mutable object into 
XSSFFormulaUtils._wb  At XSSFFormulaUtils.java:[line 53]
M V EI: org.apache.poi.poifs.crypt.dsig.SignaturePart.getPackagePart() may 
expose internal representation by returning SignaturePart.signaturePart  At 
SignaturePart.java:[line 77]
M V EI: org.apache.poi.poifs.crypt.dsig.SignaturePart.getSigner() may expose 
internal representation by returning SignaturePart.signer  At 
SignaturePart.java:[line 84]
M V EI: org.apache.poi.poifs.crypt.dsig.SignaturePart.getCertChain() may expose 
internal representation by returning SignaturePart.certChain  At 
SignaturePart.java:[line 91]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.RelQuadBezTo.setupMaster(GeometryRow)
 may expose internal representation by storing an externally mutable object 
into RelQuadBezTo._master  At RelQuadBezTo.java:[line 105]
M V EI: org.apache.poi.xssf.usermodel.XSSFShapeGroup.getCTGroupShape() may 
expose internal representation by returning XSSFShapeGroup.ctGroup  At 
XSSFShapeGroup.java:[line 200]
M V EI: org.apache.poi.xslf.extractor.XSLFExtractor.getDocument() may expose 
internal representation by returning 
org.apache.poi.sl.extractor.SlideShowExtractor.slideshow  At 
XSLFExtractor.java:[line 38]
M V EI: org.apache.poi.xwpf.usermodel.XWPFPicture.getCTPicture() may expose 
internal representation by returning XWPFPicture.ctPic  At 
XWPFPicture.java:[line 51]
M V EI2: new org.apache.poi.xwpf.usermodel.XWPFPicture(CTPicture, XWPFRun) may 
expose internal representation by storing an externally mutable object into 
XWPFPicture.ctPic  At XWPFPicture.java:[line 34]
M V EI2: new org.apache.poi.xwpf.usermodel.XWPFPicture(CTPicture, XWPFRun) may 
expose internal representation by storing an externally mutable object into 
XWPFPicture.run  At XWPFPicture.java:[line 33]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.PolyLineTo.setupMaster(GeometryRow)
 may expose internal representation by storing an externally mutable object 
into PolyLineTo._master  At PolyLineTo.java:[line 87]
M V EI2: 
org.apache.poi.xdgf.usermodel.section.geometry.RelMoveTo.setupMaster(GeometryRow)
 may expose internal representation by storing an externally mutable object 
into RelMoveTo._master  At RelMoveTo.java:[line 74]
M D REC: Exception is caught when Exception is not thrown in 
org.apache.poi.xssf.usermodel.XSSFBuiltinTableStyle.init()  At 
XSSFBuiltinTableStyle.java:[line 416]
M V EI: org.apache.poi.xssf.usermodel.XSSFObjectData.getOleObject() may expose 
internal representation by returning XSSFObjectData.oleObject  At 
XSSFObjectData.java:[line 134]
M V EI: org.apache.poi.xslf.usermodel.XSLFSlideShow.getAllEmbeddedParts() may 
expose internal representation by returning XSLFSlideShow.embeddedParts  At 
XSLFSlideShow.java:[line 268]
M P UrF: Unread field: org.apache.poi.xwpf.usermodel.XWPFNumbering.isNew  At 
XWPFNumbering.java:[line 54]
M P UrF: Unread field: org.apache.poi.xssf.binary.XSSFBCellHeader.rowNum  At 
XSSFBCellHeader.java:[line 56]
M P UrF: Unread field: org.apache.poi.xslf.util.MFProxy.quiet  At 
MFProxy.java:[line 46]
M P UrF: Unread field: org.apache.poi.xssf.binary.XSSFBCellHeader.showPhonetic  
At XSSFBCellHeader.java:[line 59]
M P UuF: Unused field: 
org.apache.poi.xssf.binary.XSSFBSheetHandler.hyperlinkCellRange  In 
XSSFBSheetHandler.java
M P UrF: Unread field: org.apache.poi.xslf.draw.SVGImageRenderer.alpha  At 
SVGImageRenderer.java:[line 49]
M D UrF: Unread public/protected field: 
org.apache.poi.xwpf.usermodel.XWPFLatentStyles.styles  At 
XWPFLatentStyles.java:[line 46]
M V MS: org.apache.poi.xwpf.usermodel.XWPFPictureData.RELATIONS should be 
package protected  At XWPFPictureData.java:[line 60]
M V MS: org.apache.poi.xssf.usermodel.XSSFPictureData.RELATIONS should be 
package protected  At XSSFPictureData.java:[line 59]
SpotBugs ended with exit code 1

> Task :poi-ooxml-full:compileTestJava NO-SOURCE
> Task :poi-ooxml-full:processTestResources NO-SOURCE
> Task :poi-ooxml-full:testClasses UP-TO-DATE
> Task :poi-ooxml-full:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-full:forbiddenApis
> Task :poi-ooxml-full:spotbugsMain SKIPPED
> Task :poi-ooxml-full:spotbugsTest SKIPPED
> Task :poi-ooxml-full:test NO-SOURCE
> Task :poi-ooxml-full:check
> Task :poi-ooxml-full:build
> Task :poi-ooxml-lite:javadoc SKIPPED
> Task :poi-ooxml-lite:javadocJar SKIPPED
> Task :poi-ooxml-lite:sourcesJar
> Task :poi-ooxml-lite:assemble

> Task :poi-ooxml:spotbugsTest
M D SF: Switch statement found in 
org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF.processFunctionRow(String,
 int, int) where one case falls through to the next case  At 
TestFormulaEvaluatorOnXSSF.java:[lines 213-215]
M P WMI: org.apache.poi.openxml4j.opc.TestListParts.testListParts() makes 
inefficient use of keySet iterator instead of entrySet iterator  At 
TestListParts.java:[line 100]
M B RV: Exceptional return value of java.io.File.delete() ignored in 
org.apache.poi.xssf.usermodel.TestXSSFUnicodeSurrogates.testWriteUnicodeSurrogates()
  At TestXSSFUnicodeSurrogates.java:[line 64]
M D ST: Write to static field 
org.apache.poi.xslf.usermodel.TestXSLFTableRow.row from instance method 
org.apache.poi.xslf.usermodel.TestXSLFTableRow.setUp()  At 
TestXSLFTableRow.java:[line 46]
M D ST: Write to static field 
org.apache.poi.xslf.usermodel.TestXSLFTableRow.tbl from instance method 
org.apache.poi.xslf.usermodel.TestXSLFTableRow.setUp()  At 
TestXSLFTableRow.java:[line 44]
M D ST: Write to static field 
org.apache.poi.xslf.usermodel.TestXSLFTableRow.ppt from instance method 
org.apache.poi.xslf.usermodel.TestXSLFTableRow.setUp()  At 
TestXSLFTableRow.java:[line 40]
M D SF: Switch statement found in 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF.processFunctionRow(String,
 String, int) where one case falls through to the next case  At 
TestMultiSheetFormulaEvaluatorOnXSSF.java:[lines 195-197]
M D SF: Switch statement found in 
org.apache.poi.extractor.ooxml.TestExtractorFactory.testEmbedded(String, File, 
String) where default case is missing  At TestExtractorFactory.java:[lines 
309-323]
M D SF: Switch statement found in 
org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet.processFunctionRow(String,
 int) where one case falls through to the next case  At 
TestMatrixFormulasFromXMLSpreadsheet.java:[lines 191-193]
M B OS: org.apache.poi.xssf.streaming.OpcZipTest.compareOutput() may fail to 
close stream  At OpcZipTest.java:[line 43]
M D DLS: Dead store to rels in 
org.apache.poi.xslf.usermodel.TestXSLFSlideShow.testCreateSlide()  At 
TestXSLFSlideShow.java:[line 55]
M C ICAST: int converted to long and passed as absolute time to new 
java.util.Date(long) in org.apache.poi.xssf.usermodel.TestSXSSFBugs.test62872() 
 At TestSXSSFBugs.java:[line 179]
M D SF: Switch statement found in 
org.apache.poi.openxml4j.opc.TestPackage.testBug56479() where default case is 
missing  At TestPackage.java:[lines 927-938]
M P WMI: org.apache.poi.openxml4j.opc.TestPackage.deletePart() makes 
inefficient use of keySet iterator instead of entrySet iterator  At 
TestPackage.java:[line 468]
M P WMI: org.apache.poi.openxml4j.opc.TestPackage.deletePartRecursive() makes 
inefficient use of keySet iterator instead of entrySet iterator  At 
TestPackage.java:[line 502]
M D REC: Exception is caught when Exception is not thrown in 
org.apache.poi.ss.tests.TestWorkbookFactory.openHSSFFile()  At 
TestWorkbookFactory.java:[line 350]
M D BC: instanceof will always return true for all non-null values in 
org.apache.poi.ss.tests.TestWorkbookFactory.testCreateNative(), since all 
org.apache.poi.xssf.usermodel.XSSFWorkbook are instances of 
org.apache.poi.xssf.usermodel.XSSFWorkbook  At TestWorkbookFactory.java:[line 
128]
M D RV: Return value of XSSFSheet.getRow(int) ignored, but method has no side 
effect  At TestXSSFSheet.java:[line 1770]
M D IM: Check for oddness that won't work for negative numbers in 
org.apache.poi.xssf.usermodel.TestXSSFBugs.test62108()  At 
TestXSSFBugs.java:[line 3135]
M D DLS: Dead store to shapes in 
org.apache.poi.xslf.usermodel.TestXSLFTextShape.verifySlide5(XSLFSlide)  At 
TestXSLFTextShape.java:[line 471]
M D DLS: Dead store to layout in 
org.apache.poi.xslf.usermodel.TestXSLFTextShape.verifySlide5(XSLFSlide)  At 
TestXSLFTextShape.java:[line 470]
M B OS: 
org.apache.poi.xssf.extractor.TestXSSFExportToXML.testExportToXMLSingleAttributeNamespace()
 may fail to close stream  At TestXSSFExportToXML.java:[line 234]
M B OS: org.apache.poi.xssf.extractor.TestXSSFExportToXML.testXXEInSchema() may 
fail to close stream  At TestXSSFExportToXML.java:[line 674]
M P WMI: org.apache.poi.xssf.model.TestThemesTable.testThemesTableColors() 
makes inefficient use of keySet iterator instead of entrySet iterator  At 
TestThemesTable.java:[line 90]
M X OBL: org.apache.poi.xwpf.TestDocumentProtection.testIntegration() may fail 
to clean up java.io.OutputStream on checked exception  Obligation to clean up 
resource created at TestDocumentProtection.java:[line 151] is not discharged
M P SIC: Should 
org.apache.poi.xssf.eventusermodel.TestXSSFBReader$TestSheetHandler be a 
_static_ inner class?  At TestXSSFBReader.java:[lines 168-216]
M P SS: Unread field: 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource.cellValue;
 should this field be static?  At 
TestSXSSFWorkbookWithCustomZipEntrySource.java:[line 56]
M P SS: Unread field: 
org.apache.poi.xssf.streaming.TestSheetDataWriter.unicodeSurrogates; should 
this field be static?  At TestSheetDataWriter.java:[line 36]
M P SS: Unread field: 
org.apache.poi.xddf.usermodel.chart.TestXDDFChartRemoveSeries.MAX_NUM_SERIES; 
should this field be static?  At TestXDDFChartRemoveSeries.java:[line 48]
M P SS: Unread field: 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource.sheetName;
 should this field be static?  At 
TestSXSSFWorkbookWithCustomZipEntrySource.java:[line 55]
M M IS: Inconsistent synchronization of 
org.apache.poi.ooxml.TestPOIXMLDocument$UncaughtHandler.e; locked 66% of time  
Unsynchronized access at TestPOIXMLDocument.java:[line 345]
SpotBugs ended with exit code 1

> Task :poi-ooxml-lite:forbiddenApisMain
> Task :poi-ooxml-lite:compileTestJava NO-SOURCE
> Task :poi-ooxml-lite:testClasses UP-TO-DATE
> Task :poi-ooxml-lite:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-lite:forbiddenApis
> Task :poi-ooxml-lite:spotbugsMain SKIPPED
> Task :poi-ooxml-lite:spotbugsTest SKIPPED
> Task :poi-ooxml-lite:test NO-SOURCE
> Task :poi-ooxml-lite:check
> Task :poi-ooxml-lite:build
> Task :poi-scratchpad:javadoc
> Task :soLinkCheck
> Task :rat
> Task :poi-scratchpad:javadocJar
> Task :poi-scratchpad:assemble
> Task :poi-scratchpad:forbiddenApisTest
> Task :poi-scratchpad:forbiddenApis

> 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.
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]
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
> Task :poi:jacocoTestReport
> Task :poi-ooxml:check
> Task :poi-ooxml:build

> Task :poi-scratchpad:test

TestExcelConverterSuite > testHtml(File) > 
org.apache.poi.hssf.converter.TestExcelConverterSuite.testHtml(File)[137] FAILED
    java.lang.NumberFormatException at TestExcelConverterSuite.java:102

> Task :poi-examples:jacocoTestReport
> Task :poi-examples:jenkins
> Task :poi-excelant:jacocoTestReport
> Task :poi-excelant:jenkins

> Task :poi-scratchpad:test

TestExcelConverterSuite > testFo(File) > 
org.apache.poi.hssf.converter.TestExcelConverterSuite.testFo(File)[137] FAILED
    java.lang.NumberFormatException at TestExcelConverterSuite.java:76

3215 tests completed, 2 failed, 6 skipped

> Task :poi-scratchpad:test FAILED
> Task :poi-ooxml:jacocoTestReport

> Task :poi-integration:test

7935 tests completed, 2 failed

> Task :poi-integration:test FAILED

FAILURE: Build completed with 2 failures.

1: Task 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.8/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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':poi-integration:test'.
> There were failing tests. See the report at: 
> file:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.8/poi-integration/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 3 invalid unit(s) of work during 
this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 20m 28s
117 actionable tasks: 117 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
[Fast Archiver] Compressed 419.19 MB of artifacts by 25.8% relative to #521
Recording test results
[Checks API] No suitable checks publisher found.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to