See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/421/display/redirect?page=changes>
Changes:
[PJ Fanning] dev link
[PJ Fanning] dev link
[PJ Fanning] refactor XSSFReader to make it more extensible
[PJ Fanning] [bug-64137] increase max iterations for IRR
[PJ Fanning] [bug-64137] increase max iterations for IRR
[PJ Fanning] add test case for IRR function
[PJ Fanning] update changes
[PJ Fanning] update changes
[PJ Fanning] [bug-62040] quotient function does not support cell references
[PJ Fanning] imports
[PJ Fanning] [bug-65452] fix issue where WorkbookFactory.create(File, ...)
returns null if file type not recognised
[PJ Fanning] javadoc
[PJ Fanning] [bug-65306] try to fix broken test
[PJ Fanning] [bug-65306] change error message
------------------------------------------
[...truncated 32.89 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/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-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi-excelant:processResources
> Task :poi-excelant:classes
> 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/hslf/extractor/TestExtractor.java>:497:
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: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
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9
> Task :poi-excelant:cacheTest9
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-examples:classes
> Task :poi-examples:jar
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-integration:compileTestJava
> Task :poi-integration:compileTest9
> Task :poi-integration:cacheTest9
> Task :poi-integration:processTestResources
> Task :poi-integration:testClasses
> Task :poi-integration:testJar
> Task :poi-excelant:jar
> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:sourcesJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain
> Task :poi-excelant:processTestResources
> Task :poi-excelant:testClasses
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis
> Task :poi-excelant:testJar
> Task :poi-excelant:test
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
> Task :poi-excelant:spotbugsMain
4 SpotBugs violations were found. See the report at:
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/reports/spotbugs/main.xml>
> Task :poi-excelant:spotbugsTest
4 SpotBugs violations were found. See the report at:
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-excelant/build/reports/spotbugs/test.xml>
> Task :poi-excelant:check
> Task :poi-excelant:build
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:forbiddenApisTest
> Task :poi-integration:forbiddenApis
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:test
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
> Task :poi-integration:spotbugsTest
7 SpotBugs violations were found. See the report at:
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-integration/build/reports/spotbugs/test.xml>
> Task :poi-integration:check
> Task :poi-integration:build
> Task :poi-ooxml:javadoc
> Task :poi-ooxml:javadocJar
> Task :poi-ooxml:sourcesJar
> Task :poi-ooxml:assemble
> Task :poi-ooxml:forbiddenApisMain
> Task :poi-ooxml:forbiddenApisTest
> Task :poi-ooxml:forbiddenApis
> Task :poi-ooxml:test
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
> Task :poi-ooxml:spotbugsMain
> Task :poi-ooxml:spotbugsTest
97 SpotBugs violations were found. See the report at:
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/reports/spotbugs/test.xml>
> Task :poi-ooxml:spotbugsMain
588 SpotBugs violations were found. See the report at:
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/build/reports/spotbugs/main.xml>
> Task :poi-ooxml:test
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fa046242e4a, pid=18705, tid=18877
#
# JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.11+9) (build
11.0.11+9-LTS-194)
# Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.11+9-LTS-194, mixed
mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 33874 c2
com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(Lorg/w3c/dom/Node;ZZLjava/util/Map;)Lorg/w3c/dom/Node;
[email protected] (1032 bytes) @ 0x00007fa046242e4a
[0x00007fa046242000+0x0000000000000e4a]
#
# No core dump will be written. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
#
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/hs_err_pid18705.log>
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
> Task :poi-ooxml:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml:test'.
> Process 'Gradle Test Executor 5' finished with non-zero exit value 134
This problem might be caused by incorrect test process configuration.
Please refer to the test execution section in the User Manual at
https://docs.gradle.org/7.2/userguide/java_testing.html#sec:test_execution
* 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 30m 14s
91 actionable tasks: 90 executed, 1 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?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]