See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/411/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 ------------------------------------------ [...truncated 443.09 KB...] > Task :poi-ooxml-full:assemble > Task :poi-ooxml-full:forbiddenApisMain > 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 > 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-scratchpad:forbiddenApisTest > Task :poi-scratchpad:forbiddenApis > Task :poi-scratchpad:spotbugsTest M B OS: org.apache.poi.hwpf.util.TestLittleEndianCP950Reader.assertCharEquals(char, byte[]) may fail to close stream At TestLittleEndianCP950Reader.java:[line 62] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.initDateFormat() At TestComment2000Atom.java:[line 58] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.testGetDate() At TestComment2000Atom.java:[line 73] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.testCreate() At TestComment2000Atom.java:[line 126] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000Atom.testChange() At TestComment2000Atom.java:[line 145] M D DMI: Hard coded reference to an absolute pathname in org.apache.poi.hwmf.TestHwmfParsing.testCyrillic() At TestHwmfParsing.java:[line 79] M D NP: Possible null pointer dereference in org.apache.poi.hssf.converter.TestExcelConverterSuite.files() due to return value of called method Method invoked at TestExcelConverterSuite.java:[line 55] M B RR: org.apache.poi.hslf.record.TestCurrentUserAtom.writeNormal() ignores result of java.io.InputStream.read(byte[]) At TestCurrentUserAtom.java:[line 82] M D DLS: Dead store to plc14 in org.apache.poi.hpbf.model.TestQuillContents.testComplexPLC() At TestQuillContents.java:[line 175] M D DLS: Dead store to plc15 in org.apache.poi.hpbf.model.TestQuillContents.testComplexPLC() At TestQuillContents.java:[line 176] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.initDateFormat() At TestSystemTimeUtils.java:[line 54] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testGetDateA() At TestSystemTimeUtils.java:[line 62] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testGetDateB() At TestSystemTimeUtils.java:[line 72] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testWriteDateA() At TestSystemTimeUtils.java:[line 80] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.util.TestSystemTimeUtils.testWriteDateB() At TestSystemTimeUtils.java:[line 95] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.initDateFormat() At TestComment2000.java:[line 98] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.testCommentAtom() At TestComment2000.java:[line 128] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.testCommentAtomB() At TestComment2000.java:[line 140] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hslf.record.TestComment2000.testChange() At TestComment2000.java:[line 176] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hsmf.TestFixedSizedProperties.initMapi() At TestFixedSizedProperties.java:[line 78] M M STCAL: Call to method of static java.text.DateFormat in org.apache.poi.hsmf.TestFixedSizedProperties.testClientSubmitTime() At TestFixedSizedProperties.java:[line 192] M D SF: Switch statement found in org.apache.poi.hslf.model.TestShapes.textBoxRead() where default case is missing At TestShapes.java:[lines 122-143] M D DLS: Dead store to p2r3 in org.apache.poi.hslf.model.TestShapes.testParagraphs() At TestShapes.java:[line 165] M B RR: org.apache.poi.hwpf.HWPFDocFixture.setUp() ignores result of org.apache.poi.poifs.filesystem.DocumentInputStream.read(byte[]) At HWPFDocFixture.java:[line 49] M D DLS: Dead store to fcMin in org.apache.poi.hwpf.model.TestCHPBinTable.testReadWrite() At TestCHPBinTable.java:[line 47] M P Dm: org.apache.poi.hwpf.model.TestPlexOfCps.testWriteRead() uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient At TestPlexOfCps.java:[line 39] M D SF: Switch statement found in org.apache.poi.hslf.model.TestSlideMaster.testTitleMaster() where default case is missing At TestSlideMaster.java:[lines 156-167] M D DLS: Dead store to s7rtr0 in org.apache.poi.hslf.usermodel.TestRichTextRun.testParagraphStylesShorterTheCharStylesWrite() At TestRichTextRun.java:[line 330] M D DLS: Dead store to mainOut in org.apache.poi.hwpf.model.TestStyleSheet.testReadWrite() At TestStyleSheet.java:[line 42] M D DLS: Dead store to mainStream in org.apache.poi.hwpf.model.TestStyleSheet.setUp() At TestStyleSheet.java:[line 73] M P SS: Unread field: org.apache.poi.hslf.record.TestTextBytesAtom.alt_text; should this field be static? At TestTextBytesAtom.java:[line 41] M P UrF: Unread field: org.apache.poi.hslf.usermodel.TestRecordSetup.ss At TestRecordSetup.java:[line 42] M P SS: Unread field: org.apache.poi.hdgf.streams.TestStreamComplex.trailerPointerAt; should this field be static? At TestStreamComplex.java:[line 41] M P SS: Unread field: org.apache.poi.hslf.record.TestTextCharsAtom.alt_text; should this field be static? At TestTextCharsAtom.java:[line 37] M P SS: Unread field: org.apache.poi.hdgf.streams.TestStreamComplex.trailerDataAt; should this field be static? At TestStreamComplex.java:[line 42] M P SS: Unread field: org.apache.poi.hdgf.extractor.TestVisioExtractor.defTextChunks; should this field be static? At TestVisioExtractor.java:[line 37] M P SS: Unread field: org.apache.poi.hdgf.extractor.TestVisioExtractor.defFilename; should this field be static? At TestVisioExtractor.java:[line 36] M P SS: Unread field: org.apache.poi.hslf.record.TestTextCharsAtom.data_text; should this field be static? At TestTextCharsAtom.java:[line 34] M P SS: Unread field: org.apache.poi.hslf.record.TestStyleTextPropAtom.data_c_text_len; should this field be static? At TestStyleTextPropAtom.java:[line 134] M V MS: org.apache.poi.hdgf.TestHDGFLZW.testTrailerComp should be package protected At TestHDGFLZW.java:[line 29] M V MS: org.apache.poi.hdgf.TestHDGFLZW.testTrailerDecomp should be package protected At TestHDGFLZW.java:[line 79] SpotBugs ended with exit code 1 > Task :poi-scratchpad:test OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0 OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0 > Task :poi:test WARNING: A terminally deprecated method in java.lang.System has been called WARNING: System::setSecurityManager has been called by org.apache.poi.poifs.dev.TestPOIFSDump (file:/F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/classes/java/test/) WARNING: Please consider reporting this to the maintainers of org.apache.poi.poifs.dev.TestPOIFSDump WARNING: System::setSecurityManager will be removed in a future release > Task :poi-ooxml:compileJava9 > Task :poi-ooxml:classes > Task :poi-ooxml:jar > Task :allJavaDoc F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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:compileJava > Task :poi-excelant:compileJava9 > Task :poi-excelant:classes > Task :poi-examples:compileJava > Task :poi-examples:compileJava9 > Task :poi-examples:classes > Task :poi-examples:jar > Task :poi:javadoc F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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; ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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; ^ 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. F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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 :allJavaDoc 1 error > Task :poi-ooxml:compileTestJava F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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.*; ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xddf\usermodel\chart\TestXDDFChartRemoveSeries.java:126: warning: [deprecation] getSeries() in XDDFChartData has been deprecated assertThrows(UnsupportedOperationException.class, () -> chartData.getSeries().remove(0)); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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> F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFSheet.java:288: warning: [deprecation] createSplitPane(int,int,int,int,int) in XSSFSheet has been deprecated sheet.createSplitPane(4, 8, 12, 12, PaneInformation.PANE_LOWER_RIGHT + 1); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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(); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:204: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(7, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:212: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(25, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:592: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:595: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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 - 1, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:604: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(Short.MAX_VALUE + 1, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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 - 1, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:610: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(Integer.MAX_VALUE, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:613: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:661: warning: [deprecation] getFontSize() in XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ 16 warnings > Task :poi-ooxml:compileTest9 > Task :poi-ooxml:testClasses > Task :poi-ooxml:testJar > Task :poi-excelant:compileTestJava > Task :poi-excelant:compileTest9 > Task :poi:javadoc 1 error 3 warnings > Task :poi-integration:compileTestJava > Task :poi-integration:compileTest9 > 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. 1 warning > Task :poi-ooxml-lite:compileJava9 > Task :poi-examples:javadocJar > Task :poi-examples:assemble > Task :poi-examples:forbiddenApisMain > Task :poi-examples:compileTestJava > Task :poi-examples:testClasses > Task :poi-examples:forbiddenApisTest > Task :poi-examples:forbiddenApis > Task :poi:javadoc FAILED > Task :poi-examples:spotbugsMain > Task :allJavaDoc FAILED > 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] 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] 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 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): > 'F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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): > 'F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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 15m 56s 100 actionable tasks: 99 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: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org