See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/303/display/redirect?page=changes>
Changes:
[github] Bump net.bytebuddy:byte-buddy-agent from 1.18.4 to 1.18.5 (#1009)
[PJ Fanning] Update security.xml
[github] check input stream read params (#1012)
[PJ Fanning] deprecate unnecessary constructor
[PJ Fanning] Update HSSFWorkbook.java
[PJ Fanning] Update OldExcelExtractor.java
[PJ Fanning] Update TestDocumentEncryption.java
[github] support reading HSSFWorkbook with password passed as param (#1016)
[PJ Fanning] Update TestRecordFactoryInputStream.java
[PJ Fanning] Update DocumentInputStream.java
[PJ Fanning] update tests
[PJ Fanning] Update RecordFactoryInputStream.java
[PJ Fanning] more HSSFEventFactory changes
[Dominik Stadler] Handle slightly broken file with empty BlipFill properly
[Dominik Stadler] Avoid NPE in HSSFShapeGroup.setShapeId()
[Dominik Stadler] Avoid NPE when updating cell-anchors
[Dominik Stadler] Avoid ClassCastException when reading headers of EMF files
[Dominik Stadler] Avoid NPE when handling diagrams in pptx
[Dominik Stadler] Avoid assertion when handling slightly corrupted emf-file
[Dominik Stadler] Avoid OOM with incorrect property sizes
------------------------------------------
[...truncated 639.32 KiB...]
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/ListFormatOverrideLevel.java>:44:
warning: [deprecation] ListLevel(byte[],int) in ListLevel has been deprecated
[exec] _lvl = new ListLevel( buf, offset );
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/DocumentProperties.java>:36:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
[exec] public DocumentProperties( byte[] tableStream, int offset )
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPBinTable.java>:69:
warning: [dep-ann] deprecated item is not annotated with @Deprecated
[exec] public CHPBinTable( byte[] documentStream, byte[] tableStream,
int offset,
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFOldDocument.java>:147:
warning: [deprecation] OldSectionTable(byte[],int,int,int,TextPieceTable) in
OldSectionTable has been deprecated
[exec] _st = new OldSectionTable(
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SinglentonTextPiece.java>:39:
warning: [deprecation] characterLength() in TextPiece has been deprecated
[exec] public int characterLength()
[exec] ^
[exec] 12 warnings
[exec]
[exec] > Task :poi-scratchpad:compileJava9 FROM-CACHE
[exec] > Task :poi-scratchpad:classes
[exec]
[exec] > Task :poi-ooxml:compileJava
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:170:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[exec] XSSFName nm = _uBook.getNameAt(i);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:214:
warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
[exec] int nameIdx = _uBook.getNameIndex(nameName);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:285:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[exec] XSSFName xname = _uBook.getNameAt(idx);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:340:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[exec] return _uBook.getNameAt(namePtg.getIndex()).getNameName();
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:345:
warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[exec] return new Name(_uBook.getNameAt(ix), ix, this);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:173:
warning: [deprecation] setCellType(CellType) in Cell has been deprecated
[exec] cell.setCellType(cellType);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/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
[exec] public Iterator getPrefixes(String val) {
[exec] ^
[exec] return type requires unchecked conversion from Iterator to
Iterator<String>
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java>:211:
warning: [deprecation] ZipFile(File) in ZipFile has been deprecated
[exec] super(file);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java>:221:
warning: [deprecation] ZipFile(String) in ZipFile has been deprecated
[exec] super(name);
[exec] ^
[exec]
[exec] > Task :poi-scratchpad:jar
[exec]
[exec] > Task :poi-ooxml:compileJava
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/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
[exec] super(NAME, 1d, NAME);
[exec] ^
[exec] 10 warnings
[exec]
[exec] > Task :poi-ooxml:compileJava9 FROM-CACHE
[exec] > Task :poi-ooxml:classes
[exec] > Task :poi-ooxml:jar
[exec] > Task :poi-excelant:compileJava
[exec] > Task :poi-excelant:compileJava9 FROM-CACHE
[exec] > Task :poi-excelant:classes
[exec] > Task :poi-excelant:jar
[exec]
[exec] > Task :poi-examples:compileJava
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/EmbeddedObjects.java>:51:
warning: [deprecation] HSSFWorkbook(DirectoryNode,POIFSFileSystem,boolean) in
HSSFWorkbook has been deprecated
[exec] document = new HSSFWorkbook(dn, fs, false);
[exec] ^
[exec] 1 warning
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190:
warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
[exec] assertEquals("First header column!\tMid header Right
header!\n", extractor1.getHeaderText());
[exec]
^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200:
warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
[exec] assertEquals("This is a simple header, with a \u20ac euro
symbol in it.\n\n", extractor2.getHeaderText());
[exec]
^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213:
warning: [deprecation] getFooterText() in WordExtractor has been deprecated
[exec] assertEquals("Footer Left\tFooter Middle Footer Right\n",
extractor1.getFooterText());
[exec]
^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223:
warning: [deprecation] getFooterText() in WordExtractor has been deprecated
[exec] assertEquals("The footer, with Moli\u00e8re, has Unicode in
it.\n", extractor2.getFooterText());
[exec]
^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
[exec] assertNotNull(extractor.getParagraphText());
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
[exec] for (String p : ex.getParagraphText()) {
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
[exec] for (String p : ex.getParagraphText()) {
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
[exec] for (String p : ex.getParagraphText()) {
[exec] ^
[exec]
[exec] > Task :poi-scratchpad:compileTestJava
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
[exec] assertEquals(expectedStyleLvl,
styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
[exec] ^
[exec]
[exec] > Task :poi-examples:compileJava9 FROM-CACHE
[exec] > Task :poi-examples:classes
[exec] > Task :poi-examples:jar
[exec]
[exec] > Task :poi-scratchpad:compileTestJava
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47:
warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
[exec] _fontTable.writeTo(fileSys);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestSectionTable.java>:50:
warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been
deprecated
[exec] sectionTable.writeTo(fileSys, 0);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestCHPBinTable.java>:53:
warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in
CHPBinTable has been deprecated
[exec] _cHPBinTable.writeTo(fileSys, 0, fakeTPT);
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:77:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
[exec] assertEquals(1,
hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
[exec] ^
[exec]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:80:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
[exec] assertEquals(1,
hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
[exec] ^
[exec] 14 warnings
[exec]
[exec] > Task :poi-scratchpad:compileTest9 FROM-CACHE
[exec] > Task :poi-scratchpad:testClasses
[exec] > Task :poi-scratchpad:testJar
[exec] javadoc: error - Error fetching URL:
https://javadoc.io/doc/org.apache.commons/commons-compress/1.27.1/
[exec]
[exec] > Task :poi-excelant:javadoc
[exec] 1 error
[exec]
[exec] > Task :poi-excelant:javadoc FAILED
[exec]
[exec] > Task :poi:javadoc
[exec] javadoc: error - Error fetching URL:
https://javadoc.io/doc/org.apache.commons/commons-compress/1.27.1/
[exec]
[exec] > Task :poi-ooxml-lite:compileJava
[exec]
[exec] > Task :poi-examples:javadoc FAILED
[exec] 1 error
[exec]
[exec] > Task :poi-ooxml:javadoc
[exec] javadoc: error - Error fetching URL:
https://javadoc.io/doc/org.apache.commons/commons-compress/1.27.1/
[exec] javadoc: error - Error fetching URL:
https://javadoc.io/doc/org.apache.commons/commons-compress/1.27.1/
[exec] 1 error
[exec]
[exec] > Task :poi-ooxml:javadoc FAILED
[exec]
[exec] > Task :poi-scratchpad:javadoc
[exec] javadoc: error - Error fetching URL:
https://javadoc.io/doc/org.apache.commons/commons-compress/1.27.1/
[exec] 1 error
[exec]
[exec] > Task :poi:javadoc FAILED
[exec] 1 error
[exec]
[exec] > Task :poi-scratchpad:javadoc FAILED
[exec]
[exec] [Incubating] Problems report is available at:
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/build/reports/problems/problems-report.html>
[exec]
[exec] Deprecated Gradle features were used in this build, making it
incompatible with Gradle 9.0.
[exec]
[exec] You can use '--warning-mode all' to show the individual deprecation
warnings and determine if they come from your own scripts or plugins.
[exec]
[exec] For more on this, please refer to
https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
[exec] 54 actionable tasks: 45 executed, 9 from cache
[exec]
[exec] FAILURE: Build completed with 5 failures.
[exec]
[exec] 1: Task failed with an exception.
[exec] -----------
[exec] * What went wrong:
[exec] Execution failed for task ':poi-excelant:javadoc'.
[exec] > Javadoc generation failed. Generated Javadoc options file (useful
for troubleshooting):
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-excelant/build/tmp/javadoc/javadoc.options'>
[exec]
[exec] * Try:
[exec] > Run with --stacktrace option to get the stack trace.
[exec] > Run with --info or --debug option to get more log output.
[exec] > Run with --scan to get full insights.
[exec] > Get more help at https://help.gradle.org.
[exec]
==============================================================================
[exec]
[exec] 2: Task failed with an exception.
[exec] -----------
[exec] * What went wrong:
[exec] Execution failed for task ':poi-examples:javadoc'.
[exec] > Javadoc generation failed. Generated Javadoc options file (useful
for troubleshooting):
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-examples/build/tmp/javadoc/javadoc.options'>
[exec]
[exec] * Try:
[exec] > Run with --stacktrace option to get the stack trace.
[exec] > Run with --info or --debug option to get more log output.
[exec] > Run with --scan to get full insights.
[exec] > Get more help at https://help.gradle.org.
[exec]
==============================================================================
[exec]
[exec] 3: Task failed with an exception.
[exec] -----------
[exec] * What went wrong:
[exec] Execution failed for task ':poi-ooxml:javadoc'.
[exec] > Javadoc generation failed. Generated Javadoc options file (useful
for troubleshooting):
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-ooxml/build/tmp/javadoc/javadoc.options'>
[exec]
[exec] * Try:
[exec] > Run with --stacktrace option to get the stack trace.
[exec] > Run with --info or --debug option to get more log output.
[exec] > Run with --scan to get full insights.
[exec] > Get more help at https://help.gradle.org.
[exec]
==============================================================================
[exec]
[exec] 4: Task failed with an exception.
[exec] -----------
[exec] * What went wrong:
[exec] Execution failed for task ':poi:javadoc'.
[exec] > Javadoc generation failed. Generated Javadoc options file (useful
for troubleshooting):
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi/build/tmp/javadoc/javadoc.options'>
[exec]
[exec] * Try:
[exec] > Run with --stacktrace option to get the stack trace.
[exec] > Run with --info or --debug option to get more log output.
[exec] > Run with --scan to get full insights.
[exec] > Get more help at https://help.gradle.org.
[exec]
==============================================================================
[exec]
[exec] 5: Task failed with an exception.
[exec] -----------
[exec] * What went wrong:
[exec] Execution failed for task ':poi-scratchpad:javadoc'.
[exec] > Javadoc generation failed. Generated Javadoc options file (useful
for troubleshooting):
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/build/distsourcebuild/apache-poi-6.0.0-SNAPSHOT/poi-scratchpad/build/tmp/javadoc/javadoc.options'>
[exec]
[exec] * Try:
[exec] > Run with --stacktrace option to get the stack trace.
[exec] > Run with --info or --debug option to get more log output.
[exec] > Run with --scan to get full insights.
[exec] > Get more help at https://help.gradle.org.
[exec]
==============================================================================
[exec]
[exec] BUILD FAILED in 3m 41s
BUILD FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-old-Xerces/ws/poi-integration/build.xml>:80:
exec returned: 1
Total time: 3 minutes 56 seconds
Build step 'Invoke Ant' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is '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]