See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/78/display/redirect?page=changes>
Changes: [PJ Fanning] safety check on throwable catch [PJ Fanning] safety check on throwable catch [PJ Fanning] revert accidental change [PJ Fanning] revert use of ExceptionUtil on caught exceptions (not useful) [PJ Fanning] use of ExceptionUtil in excelant [PJ Fanning] fix up use of ExceptionUtil in main poi-scratchpad module [PJ Fanning] fix up use of ExceptionUtil in main poi module [PJ Fanning] don't use ExceptionUtil in examples [PJ Fanning] add util code to rethrow fatal exceptions [PJ Fanning] upgrade cyclonedx plugin ------------------------------------------ [...truncated 383.81 KB...] > Task :poi-examples:javadoc warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the command-line options to suppress this warning. > Task :poi-excelant:forbiddenApisMain > Task :poi-excelant:getDeps > Task :poi-ooxml:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java>:1373: warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been deprecated CTExternalLink link = workbook2.getExternalLinksTable().get(0).getCTExternalLink(); ^ > Task :poi:spotbugsTest M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1231] M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1273] M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1336] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1293] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1625] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1608] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1598] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1577] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1559] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1532] M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1339] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1295] M D RV: Return value of POIFSMiniStore.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1275] M D RV: Return value of POIFSFileSystem.getBATBlockAndIndex(int) ignored, but method has no side effect At TestPOIFSStream.java:[line 1233] M P SS: Unread field: org.apache.poi.hssf.dev.TestFormulaViewer.doListFormula; should this field be static? At TestFormulaViewer.java:[line 51] M D UrF: Unread public/protected field: org.apache.poi.ss.usermodel.BaseTestRangeCopier.testDataProvider At TestHSSFRangeCopier.java:[line 32] M P SS: Unread field: org.apache.poi.hssf.usermodel.TestNonStandardWorkbookStreamNames.xlsB; should this field be static? At TestNonStandardWorkbookStreamNames.java:[line 38] M P UrF: Unread field: org.apache.poi.hssf.record.TestTableRecord.header At TestTableRecord.java:[line 32] M P SS: Unread field: org.apache.poi.hssf.usermodel.TestNonStandardWorkbookStreamNames.xlsA; should this field be static? At TestNonStandardWorkbookStreamNames.java:[line 37] SpotBugs ended with exit code 1 > Task :poi-examples:javadoc 1 warning > Task :poi-examples:javadocJar > Task :poi-examples:assemble > Task :poi-examples:forbiddenApisMain > Task :poi-scratchpad:javadoc warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the command-line options to suppress this warning. > Task :poi-examples:getDeps > Task :poi-ooxml:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java>:692: warning: [unchecked] getPrefixes(String) in XPathNSContext implements getPrefixes(String) in NamespaceContext public Iterator getPrefixes(String val) { ^ return type requires unchecked conversion from Iterator to Iterator<String> 16 warnings > Task :poi:javadoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:22: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal import java.security.AccessControlException; ^ > Task :poi-ooxml:compileTest9 > Task :poi-ooxml:testClasses > Task :poi-ooxml:testJar > Task :poi:javadoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:29: warning: [removal] AccessController in java.security has been deprecated and marked for removal import java.security.AccessController; ^ > Task :poi-examples:compileTestJava > Task :poi-examples:testClasses > Task :poi-excelant:compileTestJava > Task :poi-integration:compileTestJava > Task :poi-examples:forbiddenApisTest > Task :poi-examples:forbiddenApis > Task :poi-excelant:compileTest9 > Task :poi-excelant:testClasses > Task :poi-excelant:forbiddenApisTest > Task :poi-excelant:forbiddenApis > Task :poi-excelant:testJar > Task :poi-integration:compileTest9 > Task :poi-integration:testClasses > Task :poi-integration:forbiddenApisTest > Task :poi-integration:forbiddenApis > Task :poi-excelant:spotbugsMain M V EI2: org.apache.poi.ss.excelant.ExcelAntSet.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntSet.wbUtil At ExcelAntSet.java:[line 39] > Task :poi-integration:testJar > Task :poi:javadoc warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the command-line options to suppress this warning. > Task :allJavaDoc > Task :poi-excelant:spotbugsMain M V EI: org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.getWorkbook() may expose internal representation by returning ExcelAntWorkbookUtil.workbook At ExcelAntWorkbookUtil.java:[line 193] M V EI2: org.apache.poi.ss.excelant.ExcelAntTest.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntTest.workbookUtil At ExcelAntTest.java:[line 67] M D DCN: Do not catch NullPointerException like in org.apache.poi.ss.excelant.ExcelAntTest.execute() At ExcelAntTest.java:[line 180] M V EI2: org.apache.poi.ss.excelant.ExcelAntTask.addPrecision(ExcelAntPrecision) may expose internal representation by storing an externally mutable object into ExcelAntTask.precision At ExcelAntTask.java:[line 55] SpotBugs ended with exit code 1 > Task :poi-examples:test WARNING: Unknown module: org.junit.platform.commons specified to --add-exports WARNING: Unknown module: org.junit.platform.commons specified to --add-exports > Task :poi-examples:spotbugsMain > Task :poi-ooxml:javadoc > Task :poi-examples:spotbugsTest > Task :allJavaDoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java>:48: error: exception not thrown: java.lang.Throwable * @throws Throwable the input throwable if it is an <code>Error</code> or <code>RuntimeException</code>. ^ > Task :poi-examples:jacocoTestReport > Task :poi-ooxml:javadoc warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the command-line options to suppress this warning. > Task :poi-excelant:spotbugsTest > Task :poi-excelant:test > Task :poi-integration:spotbugsTest > Task :poi-integration:test > Task :poi:javadoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java>:48: error: exception not thrown: java.lang.Throwable * @throws Throwable the input throwable if it is an <code>Error</code> or <code>RuntimeException</code>. ^ > Task :poi-excelant:check > Task :poi-excelant:build > Task :poi-ooxml:javadoc warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was redirected to https://docs.oracle.com/en/java/javase/19/ -- Update the command-line options to suppress this warning. > Task :poi-excelant:jacocoTestReport > Task :poi-scratchpad:javadoc 1 warning > Task :poi-integration:spotbugsTest M V MS: org.apache.poi.stress.AbstractFileHandler.EXPECTED_EXTRACTOR_FAILURES is a mutable collection which should be package protected At AbstractFileHandler.java:[line 48] M V MS: org.apache.poi.stress.TestAllFiles.SCAN_EXCLUDES should be package protected At TestAllFiles.java:[line 85] M V MS: org.apache.poi.stress.TestAllFiles.SCAN_EXCLUDES_NOSCRATCHPAD should be package protected At TestAllFiles.java:[line 101] SpotBugs ended with exit code 1 > Task :poi-examples:spotbugsMain M V EI2: new org.apache.poi.examples.hwpf.Word2Forrest(HWPFDocument, OutputStream) may expose internal representation by storing an externally mutable object into Word2Forrest._doc At Word2Forrest.java:[line 46] > Task :poi-scratchpad:javadocJar > Task :poi-scratchpad:assemble > Task :poi-scratchpad:check > Task :poi-scratchpad:build > Task :poi-examples:spotbugsMain H B Nm: The class name org.apache.poi.examples.hssf.usermodel.AddDimensionedImage shadows the simple name of the superclass org.apache.poi.examples.ss.AddDimensionedImage At AddDimensionedImage.java:[line 29] M D RCN: Redundant nullcheck of wb which is known to be null in org.apache.poi.examples.ss.CellStyleDetails.main(String[]) Redundant null check at CellStyleDetails.java:[line 90] M D NP: Load of known null value in org.apache.poi.examples.ss.CellStyleDetails.main(String[]) At CellStyleDetails.java:[line 90] M V EI2: org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) may expose internal representation by storing an externally mutable object into EventExample.sstrec At EventExample.java:[line 80] M D SF: Switch statement found in org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) where default case is missing At EventExample.java:[lines 50-88] M D RCN: Redundant nullcheck of workbook which is known to be null in org.apache.poi.examples.ss.formula.UserDefinedFunctionExample.main(String[]) Redundant null check at UserDefinedFunctionExample.java:[line 82] M D NP: Load of known null value in org.apache.poi.examples.ss.formula.UserDefinedFunctionExample.main(String[]) At UserDefinedFunctionExample.java:[line 82] > Task :poi-ooxml-lite:compileJava9 > Task :poi-ooxml-lite:classes > Task :poi-examples:spotbugsMain M V EI2: new org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem, PrintStream, int) may expose internal representation by storing an externally mutable object into XLS2CSVmra.output At XLS2CSVmra.java:[line 92] M V EI2: org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.processRecord(Record) may expose internal representation by storing an externally mutable object into XLS2CSVmra.sstRecord At XLS2CSVmra.java:[line 172] M V EI2: new org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem, PrintStream, int) may expose internal representation by storing an externally mutable object into XLS2CSVmra.fs At XLS2CSVmra.java:[line 91] M C FL: Using floating-point loop counters can lead to unexpected behavior. At OfficeDrawingWithGraphics.java:[line 93] M V EI2: new org.apache.poi.examples.ss.html.HSSFHtmlHelper(HSSFWorkbook) may expose internal representation by storing an externally mutable object into HSSFHtmlHelper.wb At HSSFHtmlHelper.java:[line 38] M V EI: org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem.getLowerLevelItems() may expose internal representation by returning InCellLists$MultiLevelListItem.lowerLevelItems At InCellLists.java:[line 536] M V EI2: new org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem(String, List) may expose internal representation by storing an externally mutable object into InCellLists$MultiLevelListItem.lowerLevelItems At InCellLists.java:[line 516] M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage, PrintStream, int) may expose internal representation by storing an externally mutable object into XLSX2CSV.xlsxPackage At XLSX2CSV.java:[line 181] M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage, PrintStream, int) may expose internal representation by storing an externally mutable object into XLSX2CSV.output At XLSX2CSV.java:[line 182] M V EI2: new org.apache.poi.examples.ss.formula.CheckFunctionsSupported(Workbook) may expose internal representation by storing an externally mutable object into CheckFunctionsSupported.workbook At CheckFunctionsSupported.java:[line 103] M C UwF: Unwritten field: org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.workbookBuildingListener At XLS2CSVmra.java:[line 151] M P SS: Unread field: org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.outputFormulaValues; should this field be static? At XLS2CSVmra.java:[line 64] SpotBugs ended with exit code 1 > Task :poi-examples:check > Task :poi-examples:build > Task :poi-ooxml:javadoc 2 warnings > Task :poi:javadoc 1 error 3 warnings > Task :poi-ooxml:javadocJar > Task :poi-ooxml:assemble > Task :poi:javadoc FAILED > Task :poi-ooxml-lite:jar > Task :poi-ooxml:forbiddenApisMain > Task :allJavaDoc 1 error > Task :allJavaDoc FAILED FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':poi:javadoc'. > Javadoc generation failed. Generated Javadoc options file (useful for > troubleshooting): > '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/poi/build/tmp/javadoc/javadoc.options'> * 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 ':allJavaDoc'. > Javadoc generation failed. Generated Javadoc options file (useful for > troubleshooting): > '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.18/ws/build/tmp/allJavaDoc/javadoc.options'> * 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.6/userguide/command_line_interface.html#sec:command_line_warnings Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness. Please consult deprecation warnings for more details. BUILD FAILED in 12m 42s 129 actionable tasks: 128 executed, 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. [Checks API] No suitable checks publisher found. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
