See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/94/display/redirect?page=changes>
Changes: [Dominik Stadler] Avoid race-condition with sample-file being changed/empty Also improve output EmptyfileException [Dominik Stadler] Add more output to test to try to see why it fails now with JDK 23 [Dominik Stadler] Update spotbugs to check if this adds support for JDK 24 [Dominik Stadler] Add test which populates cells with null string [Dominik Stadler] Delete one more outdated jar-file [Dominik Stadler] Update to latest supported JDK version of forbiddenapis ------------------------------------------ [...truncated 47.98 KiB...] CellUtil.BORDER_TOP)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:470: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:474: warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated CellUtil.BORDER_BOTTOM)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:473: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:477: warning: [deprecation] BORDER_LEFT in CellUtil has been deprecated CellUtil.BORDER_LEFT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:476: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:480: warning: [deprecation] BORDER_RIGHT in CellUtil has been deprecated CellUtil.BORDER_RIGHT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:479: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:484: warning: [deprecation] BORDER_TOP in CellUtil has been deprecated CellUtil.BORDER_TOP)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:483: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:487: warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated CellUtil.BORDER_BOTTOM)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:486: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:490: warning: [deprecation] BORDER_LEFT in CellUtil has been deprecated CellUtil.BORDER_LEFT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:489: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:493: warning: [deprecation] BORDER_RIGHT in CellUtil has been deprecated CellUtil.BORDER_RIGHT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:492: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:499: warning: [deprecation] BORDER_TOP in CellUtil has been deprecated CellUtil.BORDER_TOP)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:498: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:502: warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated CellUtil.BORDER_BOTTOM)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:501: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:505: warning: [deprecation] BORDER_LEFT in CellUtil has been deprecated CellUtil.BORDER_LEFT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:504: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:508: warning: [deprecation] BORDER_RIGHT in CellUtil has been deprecated CellUtil.BORDER_RIGHT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:507: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:512: warning: [deprecation] BORDER_TOP in CellUtil has been deprecated CellUtil.BORDER_TOP)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:511: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:515: warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated CellUtil.BORDER_BOTTOM)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:514: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:518: warning: [deprecation] BORDER_LEFT in CellUtil has been deprecated CellUtil.BORDER_LEFT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:517: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:521: warning: [deprecation] BORDER_RIGHT in CellUtil has been deprecated CellUtil.BORDER_RIGHT)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:520: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:525: warning: [deprecation] BORDER_TOP in CellUtil has been deprecated CellUtil.BORDER_TOP)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:524: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:528: warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated CellUtil.BORDER_BOTTOM)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi/src/test/java/org/apache/poi/ss/util/TestPropertyTemplate.java>:527: warning: [deprecation] getBorderStyle(int,int,String) in PropertyTemplate has been deprecated pt.getBorderStyle(i, j, ^ Note: Some input files additionally use or override a deprecated API. Note: Some input files additionally use or override a deprecated API that is marked for removal. 100 warnings > Task :poi-ooxml-full:compileJava FROM-CACHE > Task :poi-ooxml-full:compileJava9 FROM-CACHE > Task :poi-ooxml-full:processResources NO-SOURCE > Task :poi-ooxml-full:classes > Task :poi:compileTest9 FROM-CACHE > Task :poi:jar > Task :poi:processTestResources > Task :poi:testClasses > Task :poi-scratchpad:compileJava FROM-CACHE > Task :poi-scratchpad:compileJava9 FROM-CACHE > Task :poi-scratchpad:classes > Task :poi-scratchpad:jar > Task :poi-ooxml-full:sourceJar > Task :poi:testJar > Task :poi:sourcesJar > Task :poi-scratchpad:forbiddenApisMain > Task :poi:forbiddenApisMain > Task :poi:forbiddenApisTest FAILED Forbidden method invocation: java.net.URL#<init>(java.lang.String) [Deprecated in Java 23] in org.apache.poi.hssf.usermodel.TestBugs (TestBugs.java:2324) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.usermodel.TestDataFormatter (TestDataFormatter.java:940) Forbidden method invocation: java.util.Locale#<init>(java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.util.TestDateFormatConverter (TestDateFormatConverter.java:133) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.formula.functions.TestNumericFunction (TestNumericFunction.java:72) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.formula.functions.TestNumericFunction (TestNumericFunction.java:92) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.formula.functions.TestNumericFunction (TestNumericFunction.java:107) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.formula.functions.TestNumericFunction (TestNumericFunction.java:122) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.formula.functions.TestNumericFunction (TestNumericFunction.java:138) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter (TestExcelStyleDateFormatter.java:104) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter (TestExcelStyleDateFormatter.java:104) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter (TestExcelStyleDateFormatter.java:104) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter (TestExcelStyleDateFormatter.java:104) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter (TestExcelStyleDateFormatter.java:112) Forbidden method invocation: java.util.Locale#<init>(java.lang.String,java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.usermodel.TestExcelStyleDateFormatter (TestExcelStyleDateFormatter.java:112) Forbidden class/interface use: java.lang.ThreadDeath [Deprecated in Java 23] in org.apache.poi.util.ExceptionUtilTest (ExceptionUtilTest.java:48) Forbidden method invocation: java.net.URL#<init>(java.lang.String) [Deprecated in Java 23] in org.apache.poi.ss.formula.function.ExcelFileFormatDocFunctionExtractor (ExcelFileFormatDocFunctionExtractor.java:580) Scanned 674 class file(s) for forbidden API invocations (in 0.78s), 16 error(s). > Task :poi-scratchpad:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java>:498: warning: [deprecation] getCodepoints(String,Boolean,Boolean) in SlideShowExtractor has been deprecated BitSet l1 = ppt.getCodepoints(font, null, null); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestPictures.java>:276: warning: [deprecation] URL(String) in URL has been deprecated URL url = new URL("http://www.cs.sfu.ca/~anoop/courses/CMPT-882-Fall-2002/chris.ppt"); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated assertNotNull(extractor.getParagraphText()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated assertEquals("First header column!\tMid header Right header!\n", extractor1.getHeaderText()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated assertEquals("This is a simple header, with a \u20ac euro symbol in it.\n\n", extractor2.getHeaderText()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213: warning: [deprecation] getFooterText() in WordExtractor has been deprecated assertEquals("Footer Left\tFooter Middle Footer Right\n", extractor1.getFooterText()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223: warning: [deprecation] getFooterText() in WordExtractor has been deprecated assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n", extractor2.getFooterText()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestCHPBinTable.java>:53: warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in CHPBinTable has been deprecated _cHPBinTable.writeTo(fileSys, 0, fakeTPT); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47: warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated _fontTable.writeTo(fileSys); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestSectionTable.java>:50: warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been deprecated sectionTable.writeTo(fileSys, 0); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:77: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated assertEquals(1, hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:80: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated assertEquals(1, hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated for (String p : ex.getParagraphText()) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated for (String p : ex.getParagraphText()) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated for (String p : ex.getParagraphText()) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated assertEquals(expectedStyleLvl, styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl()); ^ [ant:checksum] 16 warnings > Task :poi-ooxml-full:jar > Task :poi-ooxml-lite:compileOoxmlLite [Incubating] Problems report is available at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/build/reports/problems/problems-report.html> FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi:forbiddenApisTest'. > 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. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 1m 12s 56 actionable tasks: 47 executed, 8 from cache, 1 up-to-date Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. Archiving artifacts ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. Recording test results ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org