You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/09/17 12:38:26 UTC

Build failed in Jenkins: POI » POI-DSL-Windows-1.17 #334

See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/334/display/redirect?page=changes>

Changes:

[PJ Fanning] log4j release


------------------------------------------
[...truncated 295.42 KB...]
            XSSFName nm = _uBook.getNameAt(i);
                                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:214: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:285: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:340: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:345: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFFormulaEvaluator.java:137: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\poifs\crypt\dsig\SignaturePart.java:211: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\poifs\crypt\dsig\services\RelationshipTransformService.java:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\SheetDataWriter.java:98: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public File createTempFile() throws IOException {
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\SheetDataWriter.java:110: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\StreamingSheetWriter.java:53: warning: [deprecation] createTempFile() in SheetDataWriter has been deprecated
    public File createTempFile() throws IOException {
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\streaming\StreamingSheetWriter.java:58: warning: [deprecation] createWriter(File) in SheetDataWriter has been deprecated
    public Writer createWriter(File fd) throws IOException {
                  ^
13 warnings

> Task :poi-scratchpad:spotbugsTest
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:getDeps
> Task :poi-ooxml:compileJava9
> Task :poi-ooxml:cacheJava9 UP-TO-DATE
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9 UP-TO-DATE
> Task :poi-excelant:classes
> Task :poi-excelant:jar
> Task :poi-ooxml-full:getDeps
> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain UP-TO-DATE
> Task :poi:jacocoTestReport
> Task :allJavaDoc
> Task :poi-examples:compileJava
> Task :poi-ooxml:compileTestJava
> Task :poi-scratchpad:javadoc
> Task :poi-excelant:spotbugsMain

> Task :poi-ooxml:compileTestJava
F:\jenkins\jenkins-slave\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-slave\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-slave\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-slave\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-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFWorkbook.java:1362: warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been deprecated
                CTExternalLink link = workbook2.getExternalLinksTable().get(0).getCTExternalLink();
                                                                              ^
F:\jenkins\jenkins-slave\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-slave\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-slave\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-slave\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-slave\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-slave\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-slave\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-slave\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-slave\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-slave\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-slave\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-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]
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:javadoc
F:\jenkins\jenkins-slave\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-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\main\java\org\apache\poi\poifs\nio\CleanerUtil.java:28: warning: [removal] AccessController in java.security has been deprecated and marked for removal
import java.security.AccessController;
                    ^

> Task :poi-excelant:getDeps
> Task :poi-ooxml:compileTest9
> Task :poi-ooxml:cacheTest9 UP-TO-DATE
> Task :poi-ooxml:testClasses
> Task :poi-scratchpad:javadocJar
> Task :poi-scratchpad:assemble
> Task :poi-scratchpad:check
> Task :poi-scratchpad:build
> Task :poi-ooxml:testJar
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9
> Task :poi-excelant:cacheTest9 UP-TO-DATE
> Task :poi-excelant:testClasses
> Task :poi-excelant:forbiddenApisTest UP-TO-DATE
> Task :poi-excelant:forbiddenApis UP-TO-DATE

> Task :poi:javadoc
2 warnings

> Task :poi-scratchpad:jacocoTestReport
> Task :poi-ooxml:javadoc
> Task :poi-excelant:spotbugsTest
> Task :poi-ooxml-full:jacocoTestReport SKIPPED
> Task :poi-excelant:testJar
> Task :poi-examples:compileJava9
> Task :poi-examples:cacheJava9 UP-TO-DATE
> Task :poi-examples:classes

> Task :poi-excelant: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
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-excelant:check
> Task :poi-excelant:build
> Task :poi-excelant:jacocoTestReport
> Task :poi-ooxml:javadocJar
> Task :poi-ooxml:assemble
> Task :poi-examples:jar

> Task :poi-ooxml-lite:compileJava9 FAILED
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26: error: <identifier> expected
    exports <<<<<<< .mine;
           ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml-lite\src\main\java9\module-info.java:26: error: package is empty or does not exist: <error>
    exports <<<<<<< .mine;
            ^
2 errors

> Task :poi-ooxml:forbiddenApisMain

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml-lite:compileJava9'.
> Compilation failed; see the compiler error output for details.

* 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.5.1/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 11m 16s
116 actionable tasks: 98 executed, 18 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-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Jenkins build is back to normal : POI » POI-DSL-Windows-1.17 #335

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/335/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org