See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/183/display/redirect?page=changes>
Changes: [PJ Fanning] [bug-65849] use Files.createTempFile [PJ Fanning] increase precion in test [PJ Fanning] [bug-65849] file attributes may cause issues on windows [PJ Fanning] [bug-65849] use Files.createTempFile [PJ Fanning] update changes [PJ Fanning] add classes to suit Sayi/poi-tl [PJ Fanning] add xsbs to suit Sayi [PJ Fanning] update test deps [PJ Fanning] update functions list [PJ Fanning] update functions list [PJ Fanning] standardize function [PJ Fanning] normsinv function [PJ Fanning] norminv function [PJ Fanning] incorrect check [PJ Fanning] normsdist function [PJ Fanning] normdist (init work) [PJ Fanning] normdist (init work) [PJ Fanning] forbidden api [PJ Fanning] [bug-65846] support numbervalue function [PJ Fanning] [bug-65846] support numbervalue function [PJ Fanning] [bug-65846] support numbervalue function [PJ Fanning] slf4j 1.7.35 [PJ Fanning] slf4j 1.7.34 [PJ Fanning] mockito 4.3.0 [PJ Fanning] fail image size rescaling of infinite values used ------------------------------------------ [...truncated 50.48 KB...] > Task :poi-scratchpad:testClasses > Task :poi-scratchpad:testJar > Task :poi-scratchpad:forbiddenApisTest > Task :poi-scratchpad:forbiddenApis > Task :poi-scratchpad:spotbugsMain > Task :poi:spotbugsMain > Task :poi:spotbugsTest > Task :poi-scratchpad:spotbugsTest > Task :poi-scratchpad:test > Task :poi-scratchpad:spotbugsTest 41 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/build/reports/spotbugs/test.xml> > Task :poi-scratchpad:spotbugsMain 670 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/build/reports/spotbugs/main.xml> > Task :poi-scratchpad:check > Task :poi-ooxml-full:compileJava9 > Task :poi-ooxml-full:cacheJava9 > Task :poi-ooxml-full:processResources NO-SOURCE > Task :poi-ooxml-full:classes > Task :poi-ooxml-full:sourceJar > Task :poi-scratchpad:jacocoTestReport > Task :poi:jacocoTestReport > Task :poi-ooxml-full:jar > Task :poi-ooxml-full:javadoc SKIPPED > Task :poi-ooxml-full:javadocJar SKIPPED > Task :poi:spotbugsTest 447 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/build/reports/spotbugs/test.xml> > Task :poi-ooxml-full:sourcesJar > Task :poi-ooxml-full:assemble > Task :poi-ooxml-full:forbiddenApisMain UP-TO-DATE > 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 UP-TO-DATE > Task :poi-ooxml-full:spotbugsMain SKIPPED > Task :poi-ooxml-full:spotbugsTest SKIPPED > Task :poi-ooxml-full:test NO-SOURCE > Task :poi-ooxml-full:check UP-TO-DATE > Task :poi-ooxml-full:build > Task :poi-ooxml-full:jacocoTestReport SKIPPED > Task :poi-ooxml:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:138: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(cellType); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:212: 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> <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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 { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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 { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:256: warning: [deprecation] getObject() in ASN1TaggedObject has been deprecated ASN1OctetString keyHashOctetString = (ASN1OctetString)derTaggedObject.getObject(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:260: warning: [deprecation] getObject() in ASN1TaggedObject has been deprecated X500Name name = X500Name.getInstance(derTaggedObject.getObject()); ^ 12 warnings > Task :poi:spotbugsMain 443 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/build/reports/spotbugs/main.xml> > Task :poi-ooxml:compileJava9 > Task :poi-ooxml:cacheJava9 > Task :poi-ooxml:classes > Task :poi-ooxml:jar > Task :poi-excelant:compileJava > Task :poi-excelant:compileJava9 > Task :poi-excelant:cacheJava9 > Task :poi-excelant:classes > Task :poi-excelant:jar > Task :poi-examples:compileJava > Task :poi-examples:compileJava9 > Task :poi-examples:cacheJava9 > Task :poi-examples:classes > Task :poi-ooxml:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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.*; ^ > Task :poi-examples:jar > Task :poi-ooxml:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:203: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(7, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:211: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(25, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:589: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(Short.MAX_VALUE - 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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 + 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(Integer.MAX_VALUE - 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/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, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:658: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129: warning: [deprecation] getSeries() in XDDFChartData has been deprecated assertThrows(UnsupportedOperationException.class, () -> chartData.getSeries().remove(0)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java>:1336: warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been deprecated CTExternalLink link = workbook2.getExternalLinksTable().get(0).getCTExternalLink(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java>:692: warning: [unchecked] getPrefixes(String) in TestXSSFExportToXML.XPathNSContext implements getPrefixes(String) in NamespaceContext public Iterator getPrefixes(String val) { ^ return type requires unchecked conversion from Iterator to Iterator<String> > Task :poi-excelant:javadoc > Task :poi:javadoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormDist.java>:29: warning: empty <p> tag * Implementation for Excel NORMDIST() and NORM.DIST() functions.<p> ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSInv.java>:28: warning: empty <p> tag * Implementation for Excel NORMSINV() and NORM.S.INV() functions.<p> ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSDist.java>:28: warning: empty <p> tag * Implementation for Excel NORMSDIST() and NORM.S.DIST functions.<p> ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/ss/formula/functions/NormInv.java>:29: warning: empty <p> tag * Implementation for Excel NORMINV() and NORM.INV() functions.<p> ^ > Task :poi-excelant:javadocJar > Task :poi-excelant:assemble > Task :poi-scratchpad:javadoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:169: warning: no description for @throws * @throws IOException ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:180: warning: no description for @throws * @throws IOException ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java>:191: warning: no description for @throws * @throws IOException ^ > Task :poi-excelant:forbiddenApisMain > Task :poi-ooxml:compileTestJava 15 warnings > Task :poi-excelant:spotbugsMain 5 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-excelant/build/reports/spotbugs/main.xml> > Task :poi-examples:javadoc > Task :poi-examples:javadocJar > Task :poi-examples:assemble > Task :poi-examples:forbiddenApisMain FAILED Forbidden method invocation: java.nio.file.Files#createTempFile(java.lang.String,java.lang.String,java.nio.file.attribute.FileAttribute[]) [Specify a location for the temp file/directory instead.] in org.apache.poi.examples.xssf.usermodel.BigGridDemo (BigGridDemo.java:105) Scanned 157 class file(s) for forbidden API invocations (in 0.39s), 1 error(s). > Task :poi-scratchpad:javadoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hmef/HMEFMessage.java>:53: warning: no description for @throws * @throws IOException ^ > Task :poi-ooxml:compileTest9 > Task :poi-scratchpad:javadoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hemf/usermodel/HemfPicture.java>:211: warning: no description for @param * @param ctx ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hemf/usermodel/HemfPicture.java>:212: warning: no description for @param * @param graphicsBounds ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwmf/usermodel/HwmfPicture.java>:84: warning: no description for @param * @param inputStream ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwmf/usermodel/HwmfPicture.java>:85: warning: no description for @throws * @throws IOException ^ 8 warnings > Task :poi:javadoc 4 warnings FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi-examples:forbiddenApisMain'. > 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 BUILD FAILED in 5m 13s 93 actionable tasks: 91 executed, 2 up-to-date Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure [SpotBugs] Skipping execution of recorder since overall result is 'FAILURE' Archiving artifacts [Fast Archiver] Compressed 38.73 MB of artifacts by 13.1% relative to #182 Recording test results [Checks API] No suitable checks publisher found. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
