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

Changes:

[PJ Fanning] don't run integration tests in Java 8 (they hang on 
https://ci-builds.apache.org/)

[PJ Fanning] use MarlinRenderingEngine


------------------------------------------
[...truncated 1.20 MB...]
org.apache.poi.ss.util.TestSheetUtil 
testCanComputeWidthHSSF() PASSED
org.apache.poi.ss.util.TestSheetUtil 
testGetCellWidthBoolean() PASSED
org.apache.poi.ss.util.TestSheetUtil 
testGetColumnWidthString() PASSED
org.apache.poi.ss.util.TestSheetUtil 
testGetColumnWidthemptyString() PASSED
org.apache.poi.ss.util.TestSheetUtil testGetCellWidthEmpty() 
PASSED
org.apache.poi.ss.util.TestSheetUtil 
testGetColumnWidthBlankCell() PASSED
org.apache.poi.ss.util.TestSheetUtil testGetCellWidthNumber() 
PASSED
org.apache.poi.ss.util.TestSheetUtil testGetCellWidthString() 
PASSED
org.apache.poi.ss.util.TestSheetUtil testCellWithMerges() 
PASSED
org.apache.poi.ss.util.TestSheetUtil 
testGetColumnWidthNullString() PASSED
org.apache.poi.util.TestBitField testSetBoolean() PASSED
org.apache.poi.util.TestBitField testGetValue() PASSED
org.apache.poi.util.TestBitField testClearShort() PASSED
org.apache.poi.util.TestBitField testSet() PASSED
org.apache.poi.util.TestBitField testClear() PASSED
org.apache.poi.util.TestBitField testIsSet() PASSED
org.apache.poi.util.TestBitField testByte() PASSED
org.apache.poi.util.TestBitField testGetShortValue() PASSED
org.apache.poi.util.TestBitField testSetLargeValues() 
PASSED
org.apache.poi.util.TestBitField testSetShortBoolean() 
PASSED
org.apache.poi.util.TestBitField testSetShortValue() PASSED
org.apache.poi.util.TestBitField testIsAllSet() PASSED
org.apache.poi.util.TestBitField testGetShortRawValue() 
PASSED
org.apache.poi.util.TestBitField testGetRawValue() PASSED
org.apache.poi.util.TestBitField testSetShort() PASSED
org.apache.poi.util.TestBitField testSetValue() PASSED
org.apache.poi.util.TestCodepointsUtil 
testPrimitiveIterator() PASSED
org.apache.poi.util.TestCodepointsUtil testIterator() 
PASSED
org.apache.poi.util.TestIOUtils testChecksum() PASSED
org.apache.poi.util.TestIOUtils testSetMaxOverrideLimit() 
PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayByteBufferNonArray() PASSED
org.apache.poi.util.TestIOUtils testSafelyCloneData() 
PASSED
org.apache.poi.util.TestIOUtils testSafelyCloneNull() 
PASSED
org.apache.poi.util.TestIOUtils 
testReadFullyChannelEOFException() PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayNegativeLength() PASSED
org.apache.poi.util.TestIOUtils 
testSetMaxOverrideOverLimitWithLength() PASSED
org.apache.poi.util.TestIOUtils testCopyToFile() PASSED
org.apache.poi.util.TestIOUtils testSkipFullyGtIntMax() 
PASSED
org.apache.poi.util.TestIOUtils testSkipFully() PASSED
org.apache.poi.util.TestIOUtils 
testPeekFirst8BytesTooLessAvailable() PASSED
org.apache.poi.util.TestIOUtils testPeekFirst8Bytes() 
PASSED
org.apache.poi.util.TestIOUtils testSkipZero() PASSED
org.apache.poi.util.TestIOUtils testSkipFullyByteArray() 
PASSED
org.apache.poi.util.TestIOUtils testSetMaxOverride() PASSED
org.apache.poi.util.TestIOUtils 
testSetMaxOverrideLimitWithLength() PASSED
org.apache.poi.util.TestIOUtils testReadFullyOffset() 
PASSED
org.apache.poi.util.TestIOUtils testReadFullySimple() 
PASSED
org.apache.poi.util.TestIOUtils testSafelyCloneEmpty() 
PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayByteBufferToSmall() PASSED
org.apache.poi.util.TestIOUtils 
testSkipFullyByteArrayGtIntMax() PASSED
org.apache.poi.util.TestIOUtils testReadFullyChannel() 
PASSED
org.apache.poi.util.TestIOUtils testChecksumStream() PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayNegativeMaxLength() PASSED
org.apache.poi.util.TestIOUtils testReadFully() PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayMaxLengthWithByteArrayInitLenLong() PASSED
org.apache.poi.util.TestIOUtils testSafelyAllocate() PASSED
org.apache.poi.util.TestIOUtils testSetMaxOverrideOverLimit() 
PASSED
org.apache.poi.util.TestIOUtils testReadFullyChannelSimple() 
PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayMaxLengthTooSmall() PASSED
org.apache.poi.util.TestIOUtils testToByteArrayTooSmall() 
PASSED
org.apache.poi.util.TestIOUtils testSkipFullyBug61294() 
PASSED
org.apache.poi.util.TestIOUtils testMaxLengthIgnored() 
PASSED
org.apache.poi.util.TestIOUtils testToByteArrayByteBuffer() 
PASSED
org.apache.poi.util.TestIOUtils 
testCalculateByteArrayInitLength() PASSED
org.apache.poi.util.TestIOUtils testMaxLengthInvalid() 
PASSED
org.apache.poi.util.TestIOUtils testReadFullyEOFZero() 
PASSED
org.apache.poi.util.TestIOUtils 
testPeekFirst8BytesWithPushbackInputStream() PASSED
org.apache.poi.util.TestIOUtils testSafelyCloneInvalid() 
PASSED
org.apache.poi.util.TestIOUtils 
testSafelyCloneDataHugeLength() PASSED
org.apache.poi.util.TestIOUtils testSafelyAllocateLimit() 
PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayMaxLengthWithByteArrayInitLenShort() PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayMaxLengthShorterThanArrayWithByteArrayOverride() PASSED
org.apache.poi.util.TestIOUtils testReadFullyEOF() PASSED
org.apache.poi.util.TestIOUtils testToByteArray() PASSED
org.apache.poi.util.TestIOUtils testSkipNegative() PASSED
org.apache.poi.util.TestIOUtils testReadFullyAtLength() 
PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayMaxLengthShorterThanArray() PASSED
org.apache.poi.util.TestIOUtils testWonkyInputStream() 
PASSED
org.apache.poi.util.TestIOUtils 
testSetMaxOverrideWithLength() PASSED
org.apache.poi.util.TestIOUtils testCopyToInvalidFile() 
PASSED
org.apache.poi.util.TestIOUtils 
testToByteArrayMaxLengthLongerThanArray() PASSED
org.apache.poi.util.TestIOUtils testZeroByte() PASSED
org.apache.poi.util.TestIOUtils testMaxLengthTooLong() 
PASSED
org.apache.poi.util.TestIOUtils 
testSafelyCloneDataButLengthLimit() PASSED
org.apache.poi.util.TestIOUtils testToByteArrayMaxLength() 
PASSED
org.apache.poi.util.TestIOUtils testReadFullyChannelEOF() 
PASSED
org.apache.poi.util.TestIOUtils testPeekFirst8BytesEmpty() 
PASSED
org.apache.poi.util.TestIntegerField testWriteToBytes() 
PASSED
org.apache.poi.util.TestIntegerField testSet() PASSED
org.apache.poi.util.TestIntegerField testConstructors() 
PASSED
org.apache.poi.util.TestIntegerField testReadFromBytes() 
PASSED
org.apache.poi.util.TestIntegerField testReadFromStream() 
PASSED
org.apache.poi.util.TestLittleEndianInputStream empty() 
PASSED
org.apache.poi.util.TestLittleEndianInputStream formatRun() 
PASSED
org.apache.poi.util.TestLocaleUtil localeCalendar() PASSED
org.apache.poi.util.TestLocaleUtil userLocale() PASSED
org.apache.poi.util.TestLocaleUtil userTimeZone() PASSED
org.apache.poi.util.TestRLEDecompressingInputStream 
maximumCompressionExample() PASSED
org.apache.poi.util.TestRLEDecompressingInputStream 
noCompressionExample() PASSED
org.apache.poi.util.TestRLEDecompressingInputStream 
decompress() PASSED
org.apache.poi.util.TestRLEDecompressingInputStream 
normalCompressionExample() PASSED
org.apache.poi.util.TestStringUtil 
testGetFromUnicodeHighSymbolsWithCodesMoreThan127() PASSED
org.apache.poi.util.TestStringUtil 
testPutUncompressedUnicode() PASSED
org.apache.poi.util.TestStringUtil endsWithIgnoreCase() 
PASSED
org.apache.poi.util.TestStringUtil join() PASSED
org.apache.poi.util.TestStringUtil count() PASSED
org.apache.poi.util.TestStringUtil testPutCompressedUnicode() 
PASSED
org.apache.poi.util.TestStringUtil startsWithIgnoreCase() 
PASSED
org.apache.poi.util.TestThreadLocalUtil 
testClearThreadLocalsWithData() PASSED
org.apache.poi.util.TestThreadLocalUtil 
testClearThreadLocalsNoData() PASSED

SUCCESS: Executed 6982 tests in 5m 37s (29 skipped)


> Task :poi-examples: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
org.apache.poi.integration.TestXLSX2CSV testInvalidFile() 
PASSED
org.apache.poi.integration.TestXLSX2CSV testNoArgument() 
PASSED
org.apache.poi.integration.TestXLSX2CSV testSampleFile() 
PASSED (11.6s)

> Task :poi:javadoc FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/extractor/SlideShowExtractor.java>:63:
 error: unmappable character (0xE2) for encoding US-ASCII
    private static final String SLIDE_NUMBER_PH = "???#???";
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/extractor/SlideShowExtractor.java>:63:
 error: unmappable character (0x80) for encoding US-ASCII
    private static final String SLIDE_NUMBER_PH = "???#???";
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/extractor/SlideShowExtractor.java>:63:
 error: unmappable character (0xB9) for encoding US-ASCII
    private static final String SLIDE_NUMBER_PH = "???#???";
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/extractor/SlideShowExtractor.java>:63:
 error: unmappable character (0xE2) for encoding US-ASCII
    private static final String SLIDE_NUMBER_PH = "???#???";
                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/extractor/SlideShowExtractor.java>:63:
 error: unmappable character (0x80) for encoding US-ASCII
    private static final String SLIDE_NUMBER_PH = "???#???";
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/extractor/SlideShowExtractor.java>:63:
 error: unmappable character (0xBA) for encoding US-ASCII
    private static final String SLIDE_NUMBER_PH = "???#???";
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xC2) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xB0) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xC2) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xB0) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xC2) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                                                
 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xB0) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                                                
  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xC2) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                                                
      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/draw/geom/ArcToCommand.java>:140:
 error: unmappable character (0xB0) for encoding US-ASCII
        // because of tangens nature, the values left [90??-270??] and right 
[270??-90??] of the axis are mirrored/the same
                                                                                
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/atp/Switch.java>:37:
 error: unmappable character (0xE2) for encoding US-ASCII
 * <b>SWITCH</b>SWITCH(expression, value1, result1, [default or value2, 
result2],???[default or value3, result3])
                                                                                
 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/atp/Switch.java>:37:
 error: unmappable character (0x80) for encoding US-ASCII
 * <b>SWITCH</b>SWITCH(expression, value1, result1, [default or value2, 
result2],???[default or value3, result3])
                                                                                
  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/atp/Switch.java>:37:
 error: unmappable character (0xA6) for encoding US-ASCII
 * <b>SWITCH</b>SWITCH(expression, value1, result1, [default or value2, 
result2],???[default or value3, result3])
                                                                                
   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/atp/Ifs.java>:33:
 error: unmappable character (0xE2) for encoding US-ASCII
 * <b>IFS</b>(IFS([Something is True1, Value if True1, [Something is True2, 
Value if True2],???[Something is True127, Value if True127]))
                                                                                
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/atp/Ifs.java>:33:
 error: unmappable character (0x80) for encoding US-ASCII
 * <b>IFS</b>(IFS([Something is True1, Value if True1, [Something is True2, 
Value if True2],???[Something is True127, Value if True127]))
                                                                                
             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/atp/Ifs.java>:33:
 error: unmappable character (0xA6) for encoding US-ASCII
 * <b>IFS</b>(IFS([Something is True1, Value if True1, [Something is True2, 
Value if True2],???[Something is True127, Value if True127]))
                                                                                
              ^
20 errors

> Task :poi-examples:spotbugsMain
M V EI2: new org.apache.poi.examples.hwpf.Word2Forrest(HWPFDocument, 
OutputStream) may expose internal representation by storing an externally 
mutable object into Word2Forrest._doc  At Word2Forrest.java:[line 46]

> Task :poi-examples:test
org.apache.poi.integration.TestXLSX2CSV testMinColumns() 
PASSED

SUCCESS: Executed 4 tests in 21.3s


> Task :poi-examples:spotbugsMain
H B Nm: The class name 
org.apache.poi.examples.hssf.usermodel.AddDimensionedImage shadows the simple 
name of the superclass org.apache.poi.examples.ss.AddDimensionedImage  At 
AddDimensionedImage.java:[line 29]
M D RCN: Redundant nullcheck of wb which is known to be null in 
org.apache.poi.examples.ss.CellStyleDetails.main(String[])  Redundant null 
check at CellStyleDetails.java:[line 90]
M D NP: Load of known null value in 
org.apache.poi.examples.ss.CellStyleDetails.main(String[])  At 
CellStyleDetails.java:[line 90]
M V EI2: 
org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) may 
expose internal representation by storing an externally mutable object into 
EventExample.sstrec  At EventExample.java:[line 80]
M D SF: Switch statement found in 
org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) where 
default case is missing  At EventExample.java:[lines 50-88]
M D RCN: Redundant nullcheck of workbook which is known to be null in 
org.apache.poi.examples.ss.formula.UserDefinedFunctionExample.main(String[])  
Redundant null check at UserDefinedFunctionExample.java:[line 82]
M D NP: Load of known null value in 
org.apache.poi.examples.ss.formula.UserDefinedFunctionExample.main(String[])  
At UserDefinedFunctionExample.java:[line 82]
M V EI2: new 
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem, 
PrintStream, int) may expose internal representation by storing an externally 
mutable object into XLS2CSVmra.output  At XLS2CSVmra.java:[line 92]
M V EI2: 
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.processRecord(Record) 
may expose internal representation by storing an externally mutable object into 
XLS2CSVmra.sstRecord  At XLS2CSVmra.java:[line 172]
M V EI2: new 
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem, 
PrintStream, int) may expose internal representation by storing an externally 
mutable object into XLS2CSVmra.fs  At XLS2CSVmra.java:[line 91]
M C FL: Using floating-point loop counters can lead to unexpected behavior.  At 
OfficeDrawingWithGraphics.java:[line 93]
M V EI2: new org.apache.poi.examples.ss.html.HSSFHtmlHelper(HSSFWorkbook) may 
expose internal representation by storing an externally mutable object into 
HSSFHtmlHelper.wb  At HSSFHtmlHelper.java:[line 38]
M V EI: 
org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem.getLowerLevelItems()
 may expose internal representation by returning 
InCellLists$MultiLevelListItem.lowerLevelItems  At InCellLists.java:[line 536]
M V EI2: new 
org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem(String, 
List) may expose internal representation by storing an externally mutable 
object into InCellLists$MultiLevelListItem.lowerLevelItems  At 
InCellLists.java:[line 516]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage, 
PrintStream, int) may expose internal representation by storing an externally 
mutable object into XLSX2CSV.xlsxPackage  At XLSX2CSV.java:[line 181]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage, 
PrintStream, int) may expose internal representation by storing an externally 
mutable object into XLSX2CSV.output  At XLSX2CSV.java:[line 182]
M V EI2: new 
org.apache.poi.examples.ss.formula.CheckFunctionsSupported(Workbook) may expose 
internal representation by storing an externally mutable object into 
CheckFunctionsSupported.workbook  At CheckFunctionsSupported.java:[line 103]
M C UwF: Unwritten field: 
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.workbookBuildingListener 
 At XLS2CSVmra.java:[line 151]
M P SS: Unread field: 
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.outputFormulaValues; 
should this field be static?  At XLS2CSVmra.java:[line 64]
SpotBugs ended with exit code 1

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for 
> troubleshooting): 
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/tmp/javadoc/javadoc.options'>

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

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

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 9.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/8.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 9m 27s
87 actionable tasks: 86 executed, 1 up-to-date
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'
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]

Reply via email to