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 2021/11/20 07:29:05 UTC
Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #453
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/453/display/redirect?page=changes>
Changes:
[PJ Fanning] expose VMLDrawing in SXSSF code
[PJ Fanning] try to make CommentsTable more extensible
[PJ Fanning] try to make CommentsTable more extensible
[PJ Fanning] try to make CommentsTable more extensible
[PJ Fanning] try to make CommentsTable more extensible
------------------------------------------
[...truncated 27.17 KB...]
> Task :poi:compileJava9
> Task :poi:cacheJava9
> Task :poi:processResources
> Task :poi:classes
> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java>:212: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:277: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
scell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:287: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
IllegalStateException e = assertThrows(IllegalStateException.class, () -> mcell.setCellType(CellType.NUMERIC));
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCode() in CellType has been deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCachedResultType() in FormulaRecord has been deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestBugs.java>:2362: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:385: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:389: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:391: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:394: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:398: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:399: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:400: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.ERROR);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:401: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:403: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
15 warnings
> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:jar
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi-ooxml-full:compileJava
> Task :poi:forbiddenApisMain
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis
> Task :poi-scratchpad:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java>:330: warning: [deprecation] PicturesTable(HWPFDocument,byte[],byte[],FSPATable,OfficeArtContent) in PicturesTable has been deprecated
_pictures = new PicturesTable(this, _dataStream, _mainStream, _fspaMain, officeArtContent);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:208: warning: [deprecation] getCharacterStyle(int) in StyleSheet has been deprecated
CharacterProperties base = _styleSheet.getCharacterStyle( styleIndex );
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:226: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
ParagraphProperties base = _styleSheet.getParagraphStyle( styleIndex );
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/ListFormatOverrideLevel.java>:44: warning: [deprecation] ListLevel(byte[],int) in ListLevel has been deprecated
_lvl = new ListLevel( buf, offset );
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked method invocation: constructor <init> in class PropertyNode is applied to given types
super(other);
^
required: PropertyNode<T>
found: BytePropertyNode
where T is a type-variable:
T extends PropertyNode<T> declared in class PropertyNode
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked conversion
super(other);
^
required: PropertyNode<T>
found: BytePropertyNode
where T is a type-variable:
T extends PropertyNode<T> declared in class PropertyNode
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>:89: warning: [deprecation] TYPE_TABLE in Range has been deprecated
return TYPE_TABLE;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Section.java>:238: warning: [deprecation] TYPE_SECTION in Range has been deprecated
return TYPE_SECTION;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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
_st = new OldSectionTable(
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SinglentonTextPiece.java>:39: warning: [deprecation] characterLength() in TextPiece has been deprecated
public int characterLength()
^
10 warnings
> Task :poi:spotbugsMain
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:compileJava9
> Task :poi-scratchpad:cacheJava9
> Task :poi-scratchpad:classes
> Task :poi:spotbugsTest
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:jar
> Task :poi:test
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
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
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
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
TestReadAllFiles > readDocumentSummaryInformation(File) > org.apache.poi.hpsf.basic.TestReadAllFiles.readDocumentSummaryInformation(File)[3] FAILED
org.apache.poi.EmptyFileException at TestReadAllFiles.java:146
> Task :poi-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java>:498: warning: [deprecation] getCodepoints(String,Boolean,Boolean) in SlideShowExtractor has been deprecated
BitSet l1 = ppt.getCodepoints(font, null, null);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:77: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1, hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:80: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1, hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
assertNotNull(extractor.getParagraphText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("First header column!\tMid header Right header!\n", extractor1.getHeaderText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("This is a simple header, with a \u20ac euro symbol in it.\n\n", extractor2.getHeaderText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213: warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("Footer Left\tFooter Middle Footer Right\n", extractor1.getFooterText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223: warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n", extractor2.getFooterText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(expectedStyleLvl, styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestCHPBinTable.java>:53: warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in CHPBinTable has been deprecated
_cHPBinTable.writeTo(fileSys, 0, fakeTPT);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestSectionTable.java>:50: warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been deprecated
sectionTable.writeTo(fileSys, 0);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47: warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
_fontTable.writeTo(fileSys);
^
15 warnings
> Task :poi-scratchpad:compileTest9
> Task :poi-scratchpad:cacheTest9
> Task :poi-scratchpad:testClasses
> Task :poi-scratchpad:testJar
> Task :poi-scratchpad:forbiddenApisMain
> Task :poi-scratchpad:forbiddenApisTest
> Task :poi-scratchpad:forbiddenApis
> Task :poi-scratchpad:spotbugsTest
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:spotbugsMain
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:test
> Task :poi-scratchpad:spotbugsTest
41 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/453/artifact/poi-scratchpad/build/reports/spotbugs/test.xml>
> Task :poi:test
6708 tests completed, 1 failed, 25 skipped
> Task :poi:test FAILED
> Task :poi-scratchpad:jacocoTestReport
> Task :poi:spotbugsTest
447 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/453/artifact/poi/build/reports/spotbugs/test.xml>
> Task :poi:spotbugsMain
442 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/453/artifact/poi/build/reports/spotbugs/main.xml>
> Task :poi-scratchpad:spotbugsMain
668 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/453/artifact/poi-scratchpad/build/reports/spotbugs/main.xml>
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi:test'.
> There were failing tests. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/453/artifact/poi/build/reports/tests/test/index.html>
* 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
BUILD FAILED in 4m 11s
58 actionable tasks: 55 executed, 3 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
Archiving artifacts
[Fast Archiver] Compressed 28.52 MB of artifacts by 81.9% relative to #452
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-SonarQube-Gradle #455
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/455/display/redirect?page=changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #454
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/454/display/redirect?page=changes>
Changes:
[PJ Fanning] fix broken test
[PJ Fanning] remove comment iterator
[PJ Fanning] reduce use of comment iterator
[PJ Fanning] javadoc
[PJ Fanning] add shape data to comments in iterator
[PJ Fanning] use try block to close input streams
[PJ Fanning] use try block to close input streams
[PJ Fanning] use try block to close output streams
[PJ Fanning] use try block to close output streams
------------------------------------------
[...truncated 29.69 KB...]
> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java>:212: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:277: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
scell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:287: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
IllegalStateException e = assertThrows(IllegalStateException.class, () -> mcell.setCellType(CellType.NUMERIC));
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCode() in CellType has been deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCachedResultType() in FormulaRecord has been deprecated
assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestBugs.java>:2362: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:385: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:389: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:391: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:394: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:398: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.BOOLEAN);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:399: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:400: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.ERROR);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:401: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:403: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
cell.setCellType(CellType.STRING);
^
15 warnings
> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:jar
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi-ooxml-full:compileJava
> Task :poi:forbiddenApisMain
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis
> Task :poi-scratchpad:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java>:330: warning: [deprecation] PicturesTable(HWPFDocument,byte[],byte[],FSPATable,OfficeArtContent) in PicturesTable has been deprecated
_pictures = new PicturesTable(this, _dataStream, _mainStream, _fspaMain, officeArtContent);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:208: warning: [deprecation] getCharacterStyle(int) in StyleSheet has been deprecated
CharacterProperties base = _styleSheet.getCharacterStyle( styleIndex );
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:226: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
ParagraphProperties base = _styleSheet.getParagraphStyle( styleIndex );
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/ListFormatOverrideLevel.java>:44: warning: [deprecation] ListLevel(byte[],int) in ListLevel has been deprecated
_lvl = new ListLevel( buf, offset );
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked method invocation: constructor <init> in class PropertyNode is applied to given types
super(other);
^
required: PropertyNode<T>
found: BytePropertyNode
where T is a type-variable:
T extends PropertyNode<T> declared in class PropertyNode
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked conversion
super(other);
^
required: PropertyNode<T>
found: BytePropertyNode
where T is a type-variable:
T extends PropertyNode<T> declared in class PropertyNode
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>:89: warning: [deprecation] TYPE_TABLE in Range has been deprecated
return TYPE_TABLE;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Section.java>:238: warning: [deprecation] TYPE_SECTION in Range has been deprecated
return TYPE_SECTION;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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
_st = new OldSectionTable(
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SinglentonTextPiece.java>:39: warning: [deprecation] characterLength() in TextPiece has been deprecated
public int characterLength()
^
10 warnings
> Task :poi:spotbugsMain
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:compileJava9
> Task :poi-scratchpad:cacheJava9
> Task :poi:spotbugsTest
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:classes
> Task :poi:test
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
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
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
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-scratchpad:jar
> Task :poi:test
TestReadAllFiles > readDocumentSummaryInformation(File) > org.apache.poi.hpsf.basic.TestReadAllFiles.readDocumentSummaryInformation(File)[3] FAILED
org.apache.poi.EmptyFileException at TestReadAllFiles.java:146
> Task :poi-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java>:498: warning: [deprecation] getCodepoints(String,Boolean,Boolean) in SlideShowExtractor has been deprecated
BitSet l1 = ppt.getCodepoints(font, null, null);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:77: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1, hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:80: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1, hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
assertNotNull(extractor.getParagraphText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("First header column!\tMid header Right header!\n", extractor1.getHeaderText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200: warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("This is a simple header, with a \u20ac euro symbol in it.\n\n", extractor2.getHeaderText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213: warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("Footer Left\tFooter Middle Footer Right\n", extractor1.getFooterText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223: warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n", extractor2.getFooterText());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(expectedStyleLvl, styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestCHPBinTable.java>:53: warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in CHPBinTable has been deprecated
_cHPBinTable.writeTo(fileSys, 0, fakeTPT);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestSectionTable.java>:50: warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been deprecated
sectionTable.writeTo(fileSys, 0);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47: warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
_fontTable.writeTo(fileSys);
^
15 warnings
> Task :poi-scratchpad:compileTest9
> Task :poi-scratchpad:cacheTest9
> Task :poi-scratchpad:testClasses
> Task :poi-scratchpad:testJar
> Task :poi-scratchpad:forbiddenApisMain
> Task :poi-scratchpad:forbiddenApisTest
> Task :poi-scratchpad:forbiddenApis
> Task :poi-scratchpad:spotbugsMain
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:spotbugsTest
-output option and -outputFile option are deprecated. Set file path to each option for reporter.
> Task :poi-scratchpad:test
> Task :poi-scratchpad:spotbugsTest
41 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/454/artifact/poi-scratchpad/build/reports/spotbugs/test.xml>
> Task :poi-scratchpad:jacocoTestReport
> Task :poi:test
6708 tests completed, 1 failed, 25 skipped
> Task :poi:test FAILED
> Task :poi:spotbugsTest
447 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/454/artifact/poi/build/reports/spotbugs/test.xml>
> Task :poi:spotbugsMain
442 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/454/artifact/poi/build/reports/spotbugs/main.xml>
> Task :poi-scratchpad:spotbugsMain
668 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/454/artifact/poi-scratchpad/build/reports/spotbugs/main.xml>
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi:test'.
> There were failing tests. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/454/artifact/poi/build/reports/tests/test/index.html>
* 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
BUILD FAILED in 4m 3s
58 actionable tasks: 55 executed, 3 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
Archiving artifacts
[Fast Archiver] Compressed 28.52 MB of artifacts by 81.4% relative to #452
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