See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/425/display/redirect?page=changes>
Changes: [PJ Fanning] github config [PJ Fanning] missing license [PJ Fanning] [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278 [PJ Fanning] [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278 ------------------------------------------ [...truncated 53.69 KB...] > Task :poi-scratchpad:compileTest9 SKIPPED > Task :poi-scratchpad:cacheTest9 NO-SOURCE > Task :poi-scratchpad:javadocJar > Task :poi-scratchpad:assemble > Task :poi-scratchpad:forbiddenApisMain > Task :poi-scratchpad:forbiddenApisTest > Task :poi-scratchpad:forbiddenApis > Task :poi-scratchpad:spotbugsMain > Task :poi-scratchpad:spotbugsTest > 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-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.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); ^ > Task :poi:spotbugsTest 101 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-ooxml:compileJava <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: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: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-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-ooxml:compileTestJava 13 warnings > Task :poi-ooxml:testClasses > Task :poi-ooxml:testJar > Task :poi-excelant:compileTestJava > Task :poi-excelant:testClasses > Task :poi-examples:javadoc 2 warnings > Task :poi-excelant:spotbugsMain 4 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-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:javadocJar > Task :poi-excelant:compileTest9 SKIPPED > Task :poi-excelant:cacheTest9 NO-SOURCE > Task :poi-excelant:testJar > 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-examples:assemble > Task :poi-excelant:spotbugsTest > Task :poi-scratchpad:check > Task :poi-scratchpad:build > Task :poi-examples:forbiddenApisMain > Task :poi-examples:compileTestJava > Task :poi-examples:testClasses > Task :poi-examples:forbiddenApisTest > Task :poi-examples:forbiddenApis > Task :poi-ooxml:test > Task :allJavaDoc > Task :poi-integration:test > Task :poi-excelant:test > Task :poi-examples:spotbugsTest > Task :poi-examples:spotbugsMain > 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-excelant:check > Task :poi-excelant:build > Task :poi-excelant:jacocoTestReport > Task :poi:test 7105 tests completed, 2 failed, 26 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 24m 6s 91 actionable tasks: 89 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 45.98 MB of artifacts by 10.1% relative to #424 Recording test results [Checks API] No suitable checks publisher found. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
