See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/351/display/redirect?page=changes>

Changes:

[Andreas Beeker] try to fix new custom Junit Annotation module dependency

[PJ Fanning] revert commons-compress change due to build failure

[PJ Fanning] add explicit commons-io dependency to poi-ooxml. This closes #237


------------------------------------------
[...truncated 456.52 KB...]
        _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/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/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/HWPFDocument.java>:315:
 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/model/SinglentonTextPiece.java>:39:
 warning: [deprecation] characterLength() in TextPiece has been deprecated
    public int characterLength()
               ^
10 warnings

> Task :poi-scratchpad:compileJava9
> Task :poi-scratchpad:cacheJava9
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:classes
> Task :poi-scratchpad:jar
> Task :poi-examples:compileJava
> Task :poi-examples:compileJava9
> Task :poi-examples:cacheJava9
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-examples:classes
> Task :poi-examples:forbiddenApisMain
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9
> Task :poi-ooxml-lite-agent:cacheJava9
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar

> 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/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/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/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/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/model/TestFontTable.java>:47:
 warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
    _fontTable.writeTo(fileSys);
              ^
<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/hslf/extractor/TestExtractor.java>:497:
 warning: [deprecation] getCodepoints(String,Boolean,Boolean) in 
SlideShowExtractor has been deprecated
                BitSet l1 = ppt.getCodepoints(font, null, null);
                               ^
15 warnings

> Task :poi-scratchpad:compileTest9
> Task :poi-scratchpad:cacheTest9
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-scratchpad:testClasses
> Task :poi-scratchpad:testJar

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/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());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129:
 warning: [deprecation] getSeries() in XDDFChartData has been deprecated
        assertThrows(UnsupportedOperationException.class, () -> 
chartData.getSeries().remove(0));
                                                                         ^
12 warnings

> Task :poi-ooxml:compileTest9
> Task :poi-ooxml:cacheTest9
> Task :poi-ooxml:processTestResources NO-SOURCE
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-examples:compileTestJava
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-examples:testClasses
> Task :poi-examples:forbiddenApisTest
> Task :poi-examples:forbiddenApis
> Task :poi-examples:test NO-SOURCE
> Task :poi-examples:check
> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9
> Task :poi-excelant:processResources
> Task :poi-excelant:classes
> Task :poi-excelant:forbiddenApisMain
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9
> Task :poi-excelant:cacheTest9
> Task :poi-excelant:processTestResources
> Task :poi-excelant:testClasses
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis
> Task :poi-excelant:testJar
> Task :poi-excelant:test NO-SOURCE
> Task :poi-excelant:check
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-examples:jar
> Task :poi-integration:compileTestJava
> Task :poi-integration:compileTest9
> Task :poi-integration:cacheTest9
> Task :poi-integration:processTestResources
> Task :poi-integration:testClasses
> Task :poi-integration:forbiddenApisTest
> Task :poi-integration:forbiddenApis
> Task :poi-integration:testJar
> Task :poi-integration:test NO-SOURCE
> Task :poi-integration:check
> Task :poi-ooxml:forbiddenApisMain
> Task :poi-ooxml:forbiddenApisTest
> Task :poi-ooxml:forbiddenApis

> Task :poi-ooxml:test

TestSignatureInfo > testSignatureImage() FAILED
    org.junit.jupiter.engine.execution.ConditionEvaluationException at 
ConditionEvaluator.java:81
        Caused by: java.lang.NullPointerException at Matcher.java:1770

TestSignatureInfo > bug58630() FAILED
    org.junit.jupiter.engine.execution.ConditionEvaluationException at 
ConditionEvaluator.java:81
        Caused by: java.lang.NullPointerException at Matcher.java:1770

TestSignatureInfo > bug65214() FAILED
    org.junit.jupiter.engine.execution.ConditionEvaluationException at 
ConditionEvaluator.java:81
        Caused by: java.lang.NullPointerException at Matcher.java:1770

TestSignatureInfo > testSignSpreadsheetWithSignatureInfo() FAILED
    org.junit.jupiter.engine.execution.ConditionEvaluationException at 
ConditionEvaluator.java:81
        Caused by: java.lang.NullPointerException at Matcher.java:1770

TestSignatureInfo > testSignEnvelopingDocument() FAILED
    org.junit.jupiter.engine.execution.ConditionEvaluationException at 
ConditionEvaluator.java:81
        Caused by: java.lang.NullPointerException at Matcher.java:1770

TestSignatureInfo > testNonSha1() FAILED
    org.junit.jupiter.engine.execution.ConditionEvaluationException at 
ConditionEvaluator.java:81
        Caused by: java.lang.NullPointerException at Matcher.java:1770

30 tests completed, 6 failed, 2 skipped

> Task :poi-ooxml:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:test'.
> There were failing tests. See the report at: 
> file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/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

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.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 31s
70 actionable tasks: 70 executed
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?

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

Reply via email to