See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/427/display/redirect?page=changes>
Changes: [PJ Fanning] spotbugs upgrade ------------------------------------------ [...truncated 52.74 KB...] > Task :poi-scratchpad:test > Task :poi-ooxml-full:processResources NO-SOURCE > Task :poi-ooxml-full:classes > Task :poi-ooxml-full:sourceJar > 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.8/ws/poi-scratchpad/build/reports/spotbugs/test.xml> > Task :poi-ooxml-full:jar > Task :poi-ooxml-full:compileJava9 SKIPPED > Task :poi-ooxml-full:cacheJava9 NO-SOURCE > Task :poi-ooxml-full:javadoc SKIPPED > Task :poi-ooxml-full:javadocJar SKIPPED > Task :poi-ooxml-full:sourcesJar > Task :poi-ooxml-full:assemble > Task :poi-ooxml:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:170: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated XSSFName nm = _uBook.getNameAt(i); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:214: warning: [deprecation] getNameIndex(java.lang.String) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated int nameIdx = _uBook.getNameIndex(nameName); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:285: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated XSSFName xname = _uBook.getNameAt(idx); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:340: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated return _uBook.getNameAt(namePtg.getIndex()).getNameName(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:345: warning: [deprecation] getNameAt(int) in org.apache.poi.xssf.usermodel.XSSFWorkbook has been deprecated return new Name(_uBook.getNameAt(ix), ix, this); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated cell.setCellType(cellType); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:52: warning: [deprecation] createTempFile() in org.apache.poi.xssf.streaming.SheetDataWriter has been deprecated public File createTempFile() throws IOException { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/StreamingSheetWriter.java>:57: warning: [deprecation] createWriter(java.io.File) in org.apache.poi.xssf.streaming.SheetDataWriter has been deprecated public Writer createWriter(File fd) throws IOException { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/GZIPSheetDataWriter.java>:54: warning: [deprecation] createTempFile() in org.apache.poi.xssf.streaming.SheetDataWriter has been deprecated public File createTempFile() throws IOException { ^ 9 warnings > Task :poi-scratchpad:jacocoTestReport > Task :poi-ooxml:classes > Task :poi-ooxml:jar > Task :poi-excelant:compileJava > Task :poi-excelant:compileJava9 SKIPPED > Task :poi-excelant:cacheJava9 NO-SOURCE > Task :poi-excelant:classes > Task :poi-excelant:jar > Task :poi-ooxml:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFFont.java>:20: warning: [deprecation] org.apache.poi.ss.usermodel.FontCharset in org.apache.poi.ss.usermodel has been deprecated import static org.apache.poi.ss.usermodel.FontCharset.*; ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129: warning: [deprecation] getSeries() in org.apache.poi.xddf.usermodel.chart.XDDFChartData has been deprecated assertThrows(UnsupportedOperationException.class, () -> chartData.getSeries().remove(0)); ^ > Task :poi-examples:compileJava > Task :poi-examples:compileJava9 SKIPPED > Task :poi-examples:cacheJava9 NO-SOURCE > Task :poi-examples:classes > Task :poi-examples:jar > Task :poi-ooxml:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:203: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(7, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:211: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(25, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:589: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Short.MAX_VALUE - 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:598: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Short.MAX_VALUE, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:601: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Short.MAX_VALUE + 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Integer.MAX_VALUE - 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:607: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Integer.MAX_VALUE, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:658: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ > Task :poi:spotbugsTest 106 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build/reports/spotbugs/test.xml> > Task :poi-excelant:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ 1 warning > Task :poi-excelant:javadocJar > Task :poi-excelant:assemble > Task :poi-excelant:forbiddenApisMain > Task :poi-examples:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/BigGridDemo.java>:75: warning - Tag @see: missing final '>': "<a href="https://poi.apache.org/spreadsheet/how-to.html#sxssf">SXSSF (Streaming Usermodel API)</a>." > Task :poi-scratchpad:spotbugsMain 668 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/build/reports/spotbugs/main.xml> > Task :poi-scratchpad:check > Task :poi-scratchpad:build > Task :poi-ooxml:compileTestJava 13 warnings > Task :poi-ooxml:testClasses > Task :poi-excelant:spotbugsMain -output option and -outputFile option are deprecated. Set file path to each option for reporter. > Task :poi-ooxml:testJar > Task :poi-examples:javadoc 2 warnings > Task :poi-examples:javadocJar > Task :poi-examples:assemble > 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.8/ws/poi-excelant/build/reports/spotbugs/main.xml> > Task :poi-excelant:compileTestJava > Task :poi-excelant:testClasses > Task :poi-examples:forbiddenApisMain > Task :poi-integration:compileTestJava > Task :poi-integration:compileTest9 SKIPPED > Task :poi-integration:cacheTest9 NO-SOURCE > Task :poi-integration:testClasses > Task :poi-integration:testJar > Task :poi-excelant:forbiddenApisTest > Task :poi-excelant:forbiddenApis > Task :poi-examples:compileTestJava > Task :poi-examples:testClasses > Task :poi:spotbugsMain 439 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build/reports/spotbugs/main.xml> > Task :poi-examples:forbiddenApisTest > Task :poi-excelant:compileTest9 SKIPPED > Task :poi-excelant:cacheTest9 NO-SOURCE > Task :poi-excelant:testJar > Task :poi-excelant:spotbugsTest -output option and -outputFile option are deprecated. Set file path to each option for reporter. > Task :poi-ooxml-full:forbiddenApisMain > Task :poi-examples:forbiddenApis > Task :poi-examples:spotbugsMain -output option and -outputFile option are deprecated. Set file path to each option for reporter. > 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-examples:spotbugsTest -output option and -outputFile option are deprecated. Set file path to each option for reporter. > 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-full:jacocoTestReport SKIPPED > Task :poi-ooxml:test > Task :allJavaDoc > Task :poi-integration:test > Task :poi-excelant:test > Task :poi-examples:test > Task :poi-examples:jacocoTestReport > Task :poi-examples:spotbugsMain 30 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-examples/build/reports/spotbugs/main.xml> > Task :poi-examples:check > Task :poi-examples:build > Task :poi:test 6708 tests completed, 1 failed, 25 skipped > Task :poi:test FAILED > Task :allJavaDoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/Bitmap.java>:49: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/DIB.java>:46: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/EMF.java>:49: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/JPEG.java>:43: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PICT.java>:54: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PNG.java>:39: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/WMF.java>:49: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java>:200: warning - Tag @see: missing '#': "POIFSFileSystem(FileChannel, boolean, boolean) this constructor gives more control over whether to close the provided channel" <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java>:220: warning - Tag @see: missing '#': "POIFSFileSystem(FileChannel, boolean, boolean) this constructor gives more control over whether to close the provided channel" <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:119: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:261: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow 11 warnings FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi:test'. > There were failing tests. See the report at: > file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/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.2/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 23m 33s 90 actionable tasks: 89 executed, 1 up-to-date Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure [SpotBugs] Skipping execution of recorder since overall result is 'FAILURE' Archiving artifacts Recording test results [Checks API] No suitable checks publisher found. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
