See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/276/display/redirect?page=changes>
Changes:
[PJ Fanning] add getPictureTypeEnum
[PJ Fanning] test issue
[PJ Fanning] test issue
[PJ Fanning] [bug-55330] add setMargin(PageMargin, double)
[PJ Fanning] [bug-55330] add getMargin(PageMargin)
[PJ Fanning] [bug-66173] add new XSSFSheet createSplitPane method to avoid bug
in existing method
[PJ Fanning] [bug-66173] add new XSSFSheet createSplitPane method to avoid bug
in existing method
[PJ Fanning] update changes
[PJ Fanning] [bug-66173] add new XSSFSheet createSplitPane method to avoid bug
in existing method
------------------------------------------
[...truncated 318.78 KB...]
return new Name(_uBook.getNameAt(ix), ix, this);
^
> Task :poi-ooxml-full:compileTestJava NO-SOURCE
> 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
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn;
support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
> 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-ooxml:compileJava
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 {
^
> Task :poi-ooxml-lite:compileJava
> Task :poi:getDeps
> 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
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
> Task :poi-ooxml-full:getDeps
> Task :poi-ooxml:compileJava
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:jacocoTestReport
> Task :poi-ooxml:compileJava9 SKIPPED
> Task :poi-ooxml:cacheJava9 NO-SOURCE
> Task :poi-ooxml:classes
> Task :poi-ooxml:jar
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9 SKIPPED
> Task :poi-excelant:cacheJava9 NO-SOURCE
> Task :poi-excelant:classes
> 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:127:
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:203:
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:211:
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:589:
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:592:
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:595:
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:598:
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:601:
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:604:
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:607:
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:610:
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:658:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(10, run.getFontSize());
^
16 warnings
> Task :allJavaDoc
> Task :poi-examples:compileJava
> Task :poi-ooxml:compileTest9 SKIPPED
> Task :poi-ooxml:cacheTest9 NO-SOURCE
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-excelant:jar
> Task :poi-ooxml:javadoc
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xwpf\usermodel\XWPFPictureData.java:150:
error: unexpected content
* @see {@link #getPictureTypeEnum()}
^
> 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;
^
2 warnings
> Task :poi-ooxml:javadoc
1 error
> Task :poi-ooxml:javadoc FAILED
> Task :allJavaDoc
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\main\java\org\apache\poi\xwpf\usermodel\XWPFPictureData.java:150:
error: unexpected content
* @see {@link #getPictureTypeEnum()}
^
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-ooxml:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for
> troubleshooting):
> 'F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\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-slave\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.5/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 13m 2s
75 actionable tasks: 75 executed
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: [email protected]
For additional commands, e-mail: [email protected]