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

Changes:

[PJ Fanning] pptx test


------------------------------------------
[...truncated 287.73 KB...]
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-full:compileJava9

> 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-ooxml-full:cacheJava9 UP-TO-DATE
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar
> Task :poi-scratchpad:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; 
support was removed in 17.0

> Task :poi-ooxml:compileJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\model\ExternalLinksTable.java:100:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public CTExternalLink getCTExternalLink(){
                          ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xssf\usermodel\BaseXSSFEvaluationWorkbook.java:170:
 warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
F:\jenkins\jenkins-home\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-home\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-home\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-home\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-home\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-home\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-home\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-home\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-home\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 {
                  ^

> Task :poi-scratchpad:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; 
support was removed in 17.0

> Task :poi-ooxml-lite:compileJava

> Task :poi-ooxml:compileJava
F:\jenkins\jenkins-home\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-home\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: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:28:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
import java.security.AccessController;
                    ^

> Task :poi-ooxml-full:javadoc SKIPPED
> Task :poi-ooxml-full:javadocJar SKIPPED
> Task :poi-ooxml:compileJava9
> Task :poi-ooxml:cacheJava9 UP-TO-DATE
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar

> 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 :poi-ooxml-full:sourcesJar
> Task :poi-examples:compileJava
> Task :poi-examples:compileJava9
> Task :poi-examples:cacheJava9 UP-TO-DATE
> Task :allJavaDoc
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9 UP-TO-DATE
> Task :poi-excelant:classes

> Task :poi:javadoc
3 warnings

> 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:1362:
 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-examples:classes
> Task :poi-ooxml:compileTest9
> Task :poi-ooxml:cacheTest9
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9
> Task :poi-excelant:cacheTest9 UP-TO-DATE
> Task :poi:javadocJar
> Task :poi:assemble
> Task :poi:check
> Task :poi:build
> Task :poi-examples:jar
> Task :poi-excelant:jar
> Task :poi-ooxml-lite:compileJava9
F:\jenkins\jenkins-home\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-home\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-lite:compileJava9 FAILED
> Task :poi-integration:compileTestJava
> Task :zipJavadocs

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 15m 41s
99 actionable tasks: 90 executed, 9 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

Reply via email to