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

Changes:

[Dominik Stadler] Remove one unnecessary exclude

It seems the problem when cloning was fixed in the meantime

[Dominik Stadler] Exclude one more file when running tests without 
poi-scratchpad

[Dominik Stadler] Add more output when integration-tests do not fail with the 
expected exception

[Dominik Stadler] Adjust thread-names when running integration

This allows to identify in thread-dumps which
file is taking a long time or is causing issues

[Dominik Stadler] Don't create an error-log when slightly broken spreadsheets 
contain an empty value for attribute "s"

[Dominik Stadler] Don't add main classes to *-test.jar files

Better to only provide them once to avoid very strange
errors if they differ for some reason

[Dominik Stadler] Avoid log-spam when using SXSSFWorkbook with auto-sizing

[Dominik Stadler] Fix invalid comparison and optimize construction of CellStyle 
objects for comparison

Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".

Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().

[Dominik Stadler] Adjust one more version-number in the osgi-pom.xml

[Dominik Stadler] Introduce an OldVisioFormatException similar to other 
file-types

[Dominik Stadler] Improve error-message, include some details why processing 
the file fails

[Dominik Stadler] Make all text-extractors always return a non-null String

This changes the expected exception of some test-files

[Dominik Stadler] Avoid stackoverflow exception that can be caused by a 
corrupted slideshow file

[Dominik Stadler] Add test-dependency on slf4j-simple to include all logs in 
captured test-output


------------------------------------------
[...truncated 56.45 KB...]
            cell.setCellType(CellType.BOOLEAN);
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^

> Task :poi-scratchpad:compileJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hslf\usermodel\HSLFSlide.java:492:
 warning: [deprecation] getDisplayPlaceholder(Placeholder) in Slide has been 
deprecated
    public boolean getDisplayPlaceholder(final Placeholder placeholder) {
                   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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;
               ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hwpf\HWPFDocument.java:337:
 warning: [deprecation] 
PicturesTable(HWPFDocument,byte[],byte[],FSPATable,OfficeArtContent) in 
PicturesTable has been deprecated
        _pictures = new PicturesTable(this, _dataStream, _mainStream, 
_fspaMain, officeArtContent);
                    ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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;
               ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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 );
                                              ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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 );
                                              ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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 );
                   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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(
              ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\main\java\org\apache\poi\hwpf\model\SinglentonTextPiece.java:39:
 warning: [deprecation] characterLength() in TextPiece has been deprecated
    public int characterLength()
               ^
11 warnings

> Task :poi-scratchpad:compileJava9
> Task :poi-scratchpad:cacheJava9
> Task :poi-scratchpad:classes
> Task :poi-scratchpad:jar

> Task :poi:compileTestJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                 ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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));
                                                                                
               ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:158:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
        SecurityManager sm = System.getSecurityManager();
        ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:158:
 warning: [removal] getSecurityManager() in System has been deprecated and 
marked for removal
        SecurityManager sm = System.getSecurityManager();
                                   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:160:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
            System.setSecurityManager(new SecurityManager() {
                                          ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:160:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
            System.setSecurityManager(new SecurityManager() {
                  ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:174:
 warning: [removal] setSecurityManager(SecurityManager) in System has been 
deprecated and marked for removal
            System.setSecurityManager(sm);
                  ^

> Task :poi-scratchpad:forbiddenApisMain

> Task :poi:compileTestJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
27 warnings

> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi:sourcesJar
> Task :poi-ooxml-full:compileJava
> Task :poi:forbiddenApisMain
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis

> Task :poi: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

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-scratchpad:compileTestJava
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                               ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                                
   ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                                
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                            ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                                
      ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractorBugs.java:56:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
                assertNotNull(extractor.getParagraphText());
                                       ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
              ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                        ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                             ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                             ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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()) {
                          ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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()) {
                          ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\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()) {
                          ^
15 warnings

> Task :poi-scratchpad:compileTest9 FAILED
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java9\module-info.java:24:
 error: cannot find symbol
    uses org.apache.poi.sl.usermodel.MetroShapeProvider;
                                    ^
  symbol:   class MetroShapeProvider
  location: package org.apache.poi.sl.usermodel
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java9\module-info.java:26:
 error: package org.apache.poi.extractor does not exist
    provides org.apache.poi.extractor.ExtractorProvider with 
org.apache.poi.extractor.ole2.OLE2ScratchpadExtractorFactory;
                                     ^
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java9\module-info.java:27:
 error: cannot find symbol
    provides org.apache.poi.sl.usermodel.SlideShowProvider with 
org.apache.poi.hslf.usermodel.HSLFSlideShowFactory;
                                        ^
  symbol:   class SlideShowProvider
  location: package org.apache.poi.sl.usermodel
F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java9\module-info.java:28:
 error: package org.apache.poi.sl.draw does not exist
    provides org.apache.poi.sl.draw.ImageRenderer with 
org.apache.poi.hwmf.draw.HwmfImageRenderer, 
org.apache.poi.hemf.draw.HemfImageRenderer;
                                   ^
4 errors

> Task :poi: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

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-scratchpad:spotbugsMain

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi:spotbugsMain
> Task :poi:spotbugsTest

> Task :poi-scratchpad:spotbugsMain
670 SpotBugs violations were found.See the report at: 
file:///F:/jenkins/jenkins-slave/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi-scratchpad/build/reports/spotbugs/main.xml

> Task :poi:spotbugsMain
442 SpotBugs violations were found.See the report at: 
file:///F:/jenkins/jenkins-slave/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/reports/spotbugs/main.xml

> Task :poi:spotbugsTest
447 SpotBugs violations were found.See the report at: 
file:///F:/jenkins/jenkins-slave/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/reports/spotbugs/test.xml

> Task :poi:test
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
org.apache.poi.poifs.dev.TestPOIFSDump 
(file:/F:/jenkins/jenkins-slave/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/classes/java/test/)
WARNING: Please consider reporting this to the maintainers of 
org.apache.poi.poifs.dev.TestPOIFSDump
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
org.apache.poi.poifs.dev.TestPOIFSDump 
(file:/F:/jenkins/jenkins-slave/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/classes/java/test/)
WARNING: Please consider reporting this to the maintainers of 
org.apache.poi.poifs.dev.TestPOIFSDump
WARNING: System::setSecurityManager will be removed in a future release

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-scratchpad:compileTest9'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 43s
57 actionable tasks: 57 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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to