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/09/05 07:29:09 UTC

Build failed in Jenkins: POI » POI-DSL-SonarQube-Gradle #390

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

Changes:

[PJ Fanning] 5.1.1-SNAPSHOT

[PJ Fanning] 5.1.1-SNAPSHOT

[PJ Fanning] poi-ooxml-lite dependency on poi-ooxml-full

[PJ Fanning] gradle 7.2

[PJ Fanning] slf4j 1.7.32

[PJ Fanning] slf4j 1.7.32

[PJ Fanning] POI 5.1.0

[PJ Fanning] POI 5.1.0

[PJ Fanning] POI 5.1.0


------------------------------------------
[...truncated 10.62 KB...]
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.32.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-72-generic
     [echo] Building Apache POI version 5.1.1-SNAPSHOT and RC: RC1, isJava8: false
     [echo] Compiling for Java 9+

BUILD SUCCESSFUL
Total time: 2 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
Downloading https://services.gradle.org/distributions/gradle-7.2-bin.zip
..........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.2!

Here are the highlights of this release:
 - Toolchain support for Scala
 - More cache hits when Java source files have platform-specific line endings
 - More resilient remote HTTP build cache behavior

For more details see https://docs.gradle.org/7.2/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:131: warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/format/CellNumberFormatter.java>:726: warning: [unchecked] Possible heap pollution from parameterized vararg type List<Special>
    private static boolean hasChar(char ch, List<Special>... numSpecials) {
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
7 warnings

> 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>:89: 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>:89: 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-ooxml:fixBatik
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-full:generate_beans
> Task :poi-ooxml-full:compileJava
> Task :poi-ooxml-full:compileJava9
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
9 warnings

> Task :poi-ooxml:compileJava9 FAILED
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 14s
18 actionable tasks: 18 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #398

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/398/display/redirect>

Changes:


------------------------------------------
[...truncated 6.26 KB...]
which java
+ which java
/home/jenkins/tools/java/latest16/bin/java
+ java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest16/bin/javac
+ javac -version
javac 16.0.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 23 jenkins jenkins   4096 Sep 14 21:00 .
drwxr-xr-x  3 jenkins jenkins   4096 Sep  7 10:43 ..
drwxr-xr-x  7 jenkins jenkins   4096 Aug 26 07:55 build
-rw-r--r--  1 jenkins jenkins  26771 Sep 14 20:43 build.gradle
-rw-r--r--  1 jenkins jenkins 168928 Sep 11 07:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Aug 26 07:28 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3014 Aug 26 07:28 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 26 07:28 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 26 07:28 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 .github
-rw-r--r--  1 jenkins jenkins    523 Aug 26 07:28 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Sep 14 20:45 .gradle
-rw-r--r--  1 jenkins jenkins    154 Aug 26 07:28 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5766 Aug 26 07:28 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Aug 26 07:28 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep 14 20:43 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Aug 26 07:28 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 legal
drwxr-xr-x 10 jenkins jenkins   4096 Aug 26 07:29 lib
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Sep  5 07:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 26 07:28 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Sep 14 20:43 poi
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 20:43 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 20:43 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 20:43 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Sep 14 20:43 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Aug 26 07:28 README.rst
-rw-r--r--  1 jenkins jenkins    197 Aug 26 07:28 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug 26 07:28 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 21:00 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug 26 07:28 test-data
-rw-r--r--  1 jenkins jenkins    426 Aug 26 07:28 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 16 in: /usr/local/asfpackages/java/openjdk-16-16.0.1
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 16/16.0.1
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 16.0.1

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:131: warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/format/CellNumberFormatter.java>:726: warning: [unchecked] Possible heap pollution from parameterized vararg type List<Special>
    private static boolean hasChar(char ch, List<Special>... numSpecials) {
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
7 warnings

> Task :poi:compileJava9
> Task :poi:cacheJava9
> Task :poi:processResources UP-TO-DATE
> 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>:89: 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>:89: 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-ooxml:fixBatik UP-TO-DATE
> Task :poi-ooxml-full:copy_xsds UP-TO-DATE
> Task :poi-ooxml-full:generate_beans UP-TO-DATE
> Task :poi-ooxml-full:compileJava
> Task :poi-ooxml-full:compileJava9
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar UP-TO-DATE
> Task :poi-ooxml-full:jar

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESSignatureFacet.java>:284: warning: [deprecation] getIssuerDN() in X509Certificate has been deprecated
            issuerName = certificate.getIssuerDN().getName().replace(",", ", ");
                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java>:201: warning: [deprecation] getIssuerDN() in X509CRL has been deprecated
                String issuerName = crl.getIssuerDN().getName().replace(",", ", ");
                                       ^
11 warnings

> Task :poi-ooxml:compileJava9 FAILED
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 2m 56s
18 actionable tasks: 13 executed, 5 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #397

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/397/display/redirect>

Changes:


------------------------------------------
[...truncated 6.56 KB...]
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jcmd
-rwxr-xr-x 1 root root  12912 Mar 18 17:50 jconsole
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdb
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdeprscan
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdeps
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jfr
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jhsdb
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jimage
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jinfo
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jjs
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jlink
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jmap
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jmod
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jps
-rwxr-xr-x 1 root root  12904 Mar 18 17:50 jrunscript
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jshell
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jstack
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstat
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstatd
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 keytool
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 pack200
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmic
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmid
-rwxr-xr-x 1 root root  12872 Mar 18 17:50 rmiregistry
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 serialver
-rwxr-xr-x 1 root root 121568 Mar 18 17:50 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.11
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 23 jenkins jenkins   4096 Sep 14 20:43 .
drwxr-xr-x  3 jenkins jenkins   4096 Sep  7 10:43 ..
drwxr-xr-x  7 jenkins jenkins   4096 Aug 26 07:55 build
-rw-r--r--  1 jenkins jenkins  26771 Sep 14 20:43 build.gradle
-rw-r--r--  1 jenkins jenkins 168928 Sep 11 07:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Aug 26 07:28 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3014 Aug 26 07:28 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 26 07:28 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 26 07:28 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 .github
-rw-r--r--  1 jenkins jenkins    523 Aug 26 07:28 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Sep  5 07:25 .gradle
-rw-r--r--  1 jenkins jenkins    154 Aug 26 07:28 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5766 Aug 26 07:28 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Aug 26 07:28 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep 14 20:43 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Aug 26 07:28 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 legal
drwxr-xr-x 10 jenkins jenkins   4096 Aug 26 07:29 lib
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Sep  5 07:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 26 07:28 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Sep 14 20:43 poi
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 20:43 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 20:43 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 20:43 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Sep 14 20:43 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Aug 26 07:28 README.rst
-rw-r--r--  1 jenkins jenkins    197 Aug 26 07:28 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug 26 07:28 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep 14 20:43 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug 26 07:28 test-data
-rw-r--r--  1 jenkins jenkins    426 Aug 26 07:28 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava UP-TO-DATE
> Task :poi:compileJava9
> Task :poi:cacheJava9
> Task :poi:processResources UP-TO-DATE
> 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>:89: 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>:89: 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-ooxml:fixBatik UP-TO-DATE
> Task :poi-ooxml-full:copy_xsds UP-TO-DATE
> Task :poi-ooxml-full:generate_beans UP-TO-DATE
> Task :poi-ooxml-full:compileJava UP-TO-DATE
> Task :poi-ooxml-full:compileJava9 UP-TO-DATE
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
9 warnings

> Task :poi-ooxml:compileJava9 FAILED
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 1m 58s
18 actionable tasks: 11 executed, 7 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #396

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/396/display/redirect?page=changes>

Changes:

[Andreas Beeker] comment out obsolete builds

[Andreas Beeker] XmlSec/BouncyCastle and Batik are now optional

disable SonarQube build based on ant
remove sonar and maven directory, because POMs are now created via Gradle
remove maven section from seed-build

fix duplicated maven dependencies on POM export


------------------------------------------
[...truncated 7.49 KB...]
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jmap
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jmod
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jps
-rwxr-xr-x 1 root root  12904 Mar 18 17:50 jrunscript
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jshell
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jstack
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstat
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstatd
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 keytool
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 pack200
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmic
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmid
-rwxr-xr-x 1 root root  12872 Mar 18 17:50 rmiregistry
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 serialver
-rwxr-xr-x 1 root root 121568 Mar 18 17:50 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.11
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 23 jenkins jenkins   4096 Sep 13 07:25 .
drwxr-xr-x  6 jenkins jenkins   4096 Sep 11 10:11 ..
drwxr-xr-x  7 jenkins jenkins   4096 Aug 24 07:47 build
-rw-r--r--  1 jenkins jenkins  26771 Sep 13 07:25 build.gradle
-rw-r--r--  1 jenkins jenkins 168928 Sep 13 07:25 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Aug 24 07:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3014 Aug 24 07:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 24 07:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 24 07:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug 24 07:25 .github
-rw-r--r--  1 jenkins jenkins    523 Aug 24 07:25 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 24 07:25 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Sep  6 07:27 .gradle
-rw-r--r--  1 jenkins jenkins    154 Aug 24 07:25 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5766 Aug 24 07:25 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Aug 24 07:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep 13 07:25 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Aug 24 07:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 24 07:25 legal
drwxr-xr-x 10 jenkins jenkins   4096 Aug 24 07:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Aug 24 07:25 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Sep  6 07:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 24 07:25 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Sep 13 07:25 poi
drwxr-xr-x  4 jenkins jenkins   4096 Sep  6 07:24 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Sep 13 07:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Sep 13 07:25 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Sep 13 07:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Sep  6 07:24 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Sep  6 07:24 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Sep  6 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Sep 13 07:25 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Aug 24 07:25 README.rst
-rw-r--r--  1 jenkins jenkins    197 Aug 24 07:25 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug 24 07:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep 13 07:25 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug 24 07:25 test-data
-rw-r--r--  1 jenkins jenkins    426 Aug 24 07:25 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.1/xmlbeans-5.0.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.1.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.32.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-147-generic
     [echo] Building Apache POI version 5.1.1-SNAPSHOT and RC: RC1, isJava8: false
     [echo] Compiling for Java 9+

BUILD SUCCESSFUL
Total time: 2 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
2 warnings

> Task :poi:compileJava9
> Task :poi:cacheJava9
> Task :poi:processResources UP-TO-DATE
> Task :poi:classes
> Task :poi:compileTestJava
> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:jar
> Task :poi-ooxml:fixBatik UP-TO-DATE
> Task :poi-ooxml-full:copy_xsds UP-TO-DATE
> Task :poi-ooxml-full:generate_beans UP-TO-DATE
> Task :poi-ooxml-full:compileJava UP-TO-DATE
> Task :poi-ooxml-full:compileJava9 UP-TO-DATE
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
9 warnings

> Task :poi-ooxml:compileJava9 FAILED
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 2m 54s
18 actionable tasks: 12 executed, 6 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #395

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/395/display/redirect?page=changes>

Changes:

[PJ Fanning] tabs to spaces


------------------------------------------
[...truncated 4.98 KB...]
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jarsigner
-rwxr-xr-x 1 root root  12848 Mar 18 17:50 java
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 javac
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 javadoc
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 javap
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jcmd
-rwxr-xr-x 1 root root  12912 Mar 18 17:50 jconsole
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdb
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdeprscan
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdeps
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jfr
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jhsdb
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jimage
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jinfo
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jjs
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jlink
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jmap
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jmod
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jps
-rwxr-xr-x 1 root root  12904 Mar 18 17:50 jrunscript
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jshell
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jstack
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstat
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstatd
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 keytool
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 pack200
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmic
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmid
-rwxr-xr-x 1 root root  12872 Mar 18 17:50 rmiregistry
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 serialver
-rwxr-xr-x 1 root root 121568 Mar 18 17:50 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.11
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 528
drwxr-xr-x 25 jenkins jenkins   4096 Sep 11 07:24 .
drwxr-xr-x  3 jenkins jenkins   4096 Sep  7 10:43 ..
drwxr-xr-x  7 jenkins jenkins   4096 Aug 26 07:55 build
-rw-r--r--  1 jenkins jenkins  24939 Sep  8 07:25 build.gradle
-rw-r--r--  1 jenkins jenkins 168928 Sep 11 07:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Aug 26 07:28 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3014 Aug 26 07:28 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 26 07:28 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 26 07:28 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 .github
-rw-r--r--  1 jenkins jenkins    523 Aug 26 07:28 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Sep  5 07:25 .gradle
-rw-r--r--  1 jenkins jenkins    154 Aug 26 07:28 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5766 Aug 26 07:28 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Aug 26 07:28 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep  4 07:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Aug 26 07:28 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 legal
drwxr-xr-x 10 jenkins jenkins   4096 Aug 26 07:29 lib
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 lib.stored
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 maven
drwxr-xr-x  3 jenkins jenkins   4096 Sep  5 07:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 26 07:28 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Sep  4 07:24 poi
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Aug 26 07:29 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Aug 26 07:28 README.rst
-rw-r--r--  1 jenkins jenkins    197 Aug 26 07:28 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Sep  4 07:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Aug 26 07:28 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep 11 07:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug 26 07:28 test-data
-rw-r--r--  1 jenkins jenkins    426 Aug 26 07:28 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.1/xmlbeans-5.0.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.1.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.32.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-72-generic
     [echo] Building Apache POI version 5.1.1-SNAPSHOT and RC: RC1, isJava8: false
     [echo] Compiling for Java 9+

BUILD SUCCESSFUL
Total time: 2 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava UP-TO-DATE
> Task :poi:compileJava9 UP-TO-DATE
> Task :poi:cacheJava9
> Task :poi:processResources UP-TO-DATE
> Task :poi:classes
> Task :poi:compileTestJava UP-TO-DATE
> Task :poi:compileTest9 UP-TO-DATE
> Task :poi:cacheTest9
> Task :poi:jar UP-TO-DATE
> Task :poi-ooxml:fixBatik UP-TO-DATE
> Task :poi-ooxml-full:copy_xsds UP-TO-DATE
> Task :poi-ooxml-full:generate_beans UP-TO-DATE
> Task :poi-ooxml-full:compileJava UP-TO-DATE
> Task :poi-ooxml-full:compileJava9 UP-TO-DATE
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar UP-TO-DATE
> Task :poi-ooxml-full:jar UP-TO-DATE

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
6 warnings

> Task :poi-ooxml:compileJava9 FAILED
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 1m 27s
18 actionable tasks: 5 executed, 13 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #394

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/394/display/redirect?page=changes>

Changes:

[Dominik Stadler] Improve error messages when charting data is not valid

[Dominik Stadler] Adjust imports and apply some IDE suggestions

[Dominik Stadler] Update XmlBeans to 5.0.1 also in Ant build

[Dominik Stadler] Add missing test-classpath

[PJ Fanning] fix spelling of quiet

[PJ Fanning] fix error message


------------------------------------------
[...truncated 16.42 KB...]
drwxr-xr-x  4 jenkins jenkins   4096 Sep 10 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Sep  2 07:25 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Sep  2 07:25 README.rst
-rw-r--r--  1 jenkins jenkins    197 Sep  2 07:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Sep 10 07:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Sep  2 07:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep 10 07:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Sep  2 07:25 test-data
-rw-r--r--  1 jenkins jenkins    426 Sep  2 07:25 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.1/xmlbeans-5.0.1.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.1.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.32.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
     [echo] Building Apache POI version 5.1.1-SNAPSHOT and RC: RC1, isJava8: false
     [echo] Compiling for Java 9+

BUILD SUCCESSFUL
Total time: 2 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:131: warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/format/CellNumberFormatter.java>:726: warning: [unchecked] Possible heap pollution from parameterized vararg type List<Special>
    private static boolean hasChar(char ch, List<Special>... numSpecials) {
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
7 warnings

> 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>:89: 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>:89: 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/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);
                ^
<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);
                ^
15 warnings

> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:jar
> Task :poi-ooxml:fixBatik
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-full:generate_beans
> Task :poi-ooxml-full:compileJava
> Task :poi-ooxml-full:compileJava9
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
9 warnings

> Task :poi-ooxml:compileJava9 FAILED
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 3m 47s
18 actionable tasks: 18 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #393

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/393/display/redirect?page=changes>

Changes:

[PJ Fanning] minor text issues

[PJ Fanning] minor text issues


------------------------------------------
[...truncated 4.20 KB...]
drwxr-xr-x 73 root root 4096 Jun 16 09:07 legal
drwxr-xr-x  6 root root 4096 Jun 16 09:07 lib
-r--r--r--  1 root root  160 Mar 18 17:50 README.html
-rw-r--r--  1 root root 1281 Mar 18 17:50 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Jun 16 09:07 .
drwxrwxr-x 9 root root   4096 Jun 16 09:07 ..
-rwxr-xr-x 1 root root  12984 Mar 18 17:50 jaotc
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jar
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jarsigner
-rwxr-xr-x 1 root root  12848 Mar 18 17:50 java
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 javac
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 javadoc
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 javap
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jcmd
-rwxr-xr-x 1 root root  12912 Mar 18 17:50 jconsole
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdb
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdeprscan
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jdeps
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jfr
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jhsdb
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jimage
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jinfo
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jjs
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jlink
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jmap
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jmod
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jps
-rwxr-xr-x 1 root root  12904 Mar 18 17:50 jrunscript
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jshell
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jstack
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstat
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstatd
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 keytool
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 pack200
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmic
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmid
-rwxr-xr-x 1 root root  12872 Mar 18 17:50 rmiregistry
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 serialver
-rwxr-xr-x 1 root root 121568 Mar 18 17:50 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.11
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 528
drwxr-xr-x 25 jenkins jenkins   4096 Sep  9 07:24 .
drwxr-xr-x  3 jenkins jenkins   4096 Sep  7 10:43 ..
drwxr-xr-x  7 jenkins jenkins   4096 Aug 26 07:55 build
-rw-r--r--  1 jenkins jenkins  24939 Sep  8 07:25 build.gradle
-rw-r--r--  1 jenkins jenkins 168861 Sep  5 07:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Aug 26 07:28 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3014 Aug 26 07:28 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 26 07:28 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 26 07:28 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 .github
-rw-r--r--  1 jenkins jenkins    523 Aug 26 07:28 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Sep  5 07:25 .gradle
-rw-r--r--  1 jenkins jenkins    154 Aug 26 07:28 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5766 Aug 26 07:28 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Aug 26 07:28 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep  4 07:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Aug 26 07:28 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 legal
drwxr-xr-x 10 jenkins jenkins   4096 Aug 26 07:29 lib
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 lib.stored
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 maven
drwxr-xr-x  3 jenkins jenkins   4096 Sep  5 07:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 26 07:28 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Sep  4 07:24 poi
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Aug 26 07:29 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Aug 26 07:28 README.rst
-rw-r--r--  1 jenkins jenkins    197 Aug 26 07:28 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Sep  4 07:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Aug 26 07:28 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep  9 07:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug 26 07:28 test-data
-rw-r--r--  1 jenkins jenkins    426 Aug 26 07:28 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.32.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-72-generic
     [echo] Building Apache POI version 5.1.1-SNAPSHOT and RC: RC1, isJava8: false
     [echo] Compiling for Java 9+

BUILD SUCCESSFUL
Total time: 3 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
2 warnings

> Task :poi:compileJava9 UP-TO-DATE
> Task :poi:cacheJava9
> Task :poi:processResources UP-TO-DATE
> Task :poi:classes
> Task :poi:compileTestJava UP-TO-DATE
> Task :poi:compileTest9 UP-TO-DATE
> Task :poi:cacheTest9
> Task :poi:jar UP-TO-DATE
> Task :poi-ooxml:fixBatik UP-TO-DATE
> Task :poi-ooxml-full:copy_xsds UP-TO-DATE
> Task :poi-ooxml-full:generate_beans UP-TO-DATE
> Task :poi-ooxml-full:compileJava UP-TO-DATE
> Task :poi-ooxml-full:compileJava9 UP-TO-DATE
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar UP-TO-DATE
> Task :poi-ooxml-full:jar UP-TO-DATE
> Task :poi-ooxml:compileJava

> Task :poi-ooxml:compileJava9
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

> Task :poi-ooxml:compileJava9 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 1m 17s
18 actionable tasks: 6 executed, 12 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #392

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/392/display/redirect?page=changes>

Changes:

[PJ Fanning] don't allow SAX parser to accept DTDs


------------------------------------------
[...truncated 6.68 KB...]
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jshell
-rwxr-xr-x 1 root root  12896 Mar 18 17:50 jstack
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstat
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 jstatd
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 keytool
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 pack200
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmic
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 rmid
-rwxr-xr-x 1 root root  12872 Mar 18 17:50 rmiregistry
-rwxr-xr-x 1 root root  12864 Mar 18 17:50 serialver
-rwxr-xr-x 1 root root 121568 Mar 18 17:50 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.11
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 528
drwxr-xr-x 25 jenkins jenkins   4096 Sep  8 07:25 .
drwxr-xr-x  3 jenkins jenkins   4096 Sep  7 10:43 ..
drwxr-xr-x  7 jenkins jenkins   4096 Aug 26 07:55 build
-rw-r--r--  1 jenkins jenkins  24939 Sep  8 07:25 build.gradle
-rw-r--r--  1 jenkins jenkins 168861 Sep  5 07:24 build.xml
-rw-r--r--  1 jenkins jenkins   6325 Aug 26 07:28 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3014 Aug 26 07:28 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug 26 07:28 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug 26 07:28 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 .github
-rw-r--r--  1 jenkins jenkins    523 Aug 26 07:28 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug 26 07:28 gradle
drwxr-xr-x  7 jenkins jenkins   4096 Sep  5 07:25 .gradle
-rw-r--r--  1 jenkins jenkins    154 Aug 26 07:28 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   5766 Aug 26 07:28 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Aug 26 07:28 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Sep  4 07:24 jenkins
-rw-r--r--  1 jenkins jenkins 167281 Aug 26 07:28 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 legal
drwxr-xr-x 10 jenkins jenkins   4096 Aug 26 07:29 lib
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 lib.stored
drwxr-xr-x  2 jenkins jenkins   4096 Aug 26 07:28 maven
drwxr-xr-x  3 jenkins jenkins   4096 Sep  5 07:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug 26 07:28 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Sep  4 07:24 poi
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Sep  4 07:24 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Aug 26 07:29 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4328 Aug 26 07:28 README.rst
-rw-r--r--  1 jenkins jenkins    197 Aug 26 07:28 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Sep  4 07:24 sonar
drwxr-xr-x  4 jenkins jenkins   4096 Aug 26 07:28 src
drwxr-xr-x  4 jenkins jenkins   4096 Sep  8 07:25 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug 26 07:28 test-data
-rw-r--r--  1 jenkins jenkins    426 Aug 26 07:28 .travis.yml
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.32.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-72-generic
     [echo] Building Apache POI version 5.1.1-SNAPSHOT and RC: RC1, isJava8: false
     [echo] Compiling for Java 9+

BUILD SUCCESSFUL
Total time: 3 seconds
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
2 warnings

> Task :poi:compileJava9 UP-TO-DATE
> Task :poi:cacheJava9
> Task :poi:processResources UP-TO-DATE
> Task :poi:classes
> Task :poi:compileTestJava UP-TO-DATE
> Task :poi:compileTest9 UP-TO-DATE
> Task :poi:cacheTest9
> Task :poi:jar
> Task :poi-ooxml:fixBatik UP-TO-DATE
> Task :poi-ooxml-full:copy_xsds UP-TO-DATE
> Task :poi-ooxml-full:generate_beans UP-TO-DATE
> Task :poi-ooxml-full:compileJava UP-TO-DATE
> Task :poi-ooxml-full:compileJava9 UP-TO-DATE
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
9 warnings

> Task :poi-ooxml:compileJava9
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

> Task :poi-ooxml:compileJava9 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 3m 34s
18 actionable tasks: 9 executed, 9 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
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 #391

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/391/display/redirect?page=changes>

Changes:

[PJ Fanning] more specific exception instead of NPE

[PJ Fanning] still hacking the build

[PJ Fanning] still hacking the build

[PJ Fanning] still hacking the build

[PJ Fanning] still hacking the build

[PJ Fanning] still hacking the build

[PJ Fanning] still hacking the build

[PJ Fanning] still hacking the build 

[PJ Fanning] try not to have poi-ooxml-full in pom (still need to work out how to add poi-ooxml-lite instead)

[PJ Fanning] try not to have poi-integration in pom

[PJ Fanning] gradle 7.2


------------------------------------------
[...truncated 22.63 KB...]
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 11/11.0.11
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 11.0.11

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[POI-DSL-SonarQube-Gradle] $ /home/jenkins/tools/ant/latest1.10/bin/ant init
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.xml>

check-jars:

fetch-jars:

check-ooxml-jars:

fetch-ooxml-jars:
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/curvesapi-1.06.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/5.0.0/xmlbeans-5.0.0.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/xmlbeans-5.0.0.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml/commons-compress-1.21.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/reflections-0.9.12.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/guava-30.1-jre.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/javassist-3.27.0-GA.jar>
      [get] Getting: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar
      [get] To: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-tests/slf4j-api-1.7.32.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-anim-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-awt-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-bridge-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-codec-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-constants-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-css-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-ext-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-gvt-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-i18n-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-parser-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-script-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-shared-resources-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svg-dom-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svggen-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-svgrasterizer-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-transcoder-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-util-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/batik-xml-1.14.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xml-apis-ext-1.3.04.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-batik/xmlgraphics-commons-2.4.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/pdfbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/fontbox-2.0.24.jar>
      [get] Destination already exists (skipping): <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/lib/ooxml-provided/graphics2d-0.32.jar>

init:
     [echo] Using Ant: Apache Ant(TM) version 1.10.10 compiled on April 12 2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 11 (may be different than actual Java sometimes...)
     [echo] Using Java: 11.0.11/11.0.11+9-LTS-194/11.0.11+9-LTS-194/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-147-generic
     [echo] Building Apache POI version 5.1.1-SNAPSHOT and RC: RC1, isJava8: false
     [echo] Compiling for Java 9+

BUILD SUCCESSFUL
Total time: 1 second
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
Downloading https://services.gradle.org/distributions/gradle-7.2-bin.zip
..........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.2!

Here are the highlights of this release:
 - Toolchain support for Scala
 - More cache hits when Java source files have platform-specific line endings
 - More resilient remote HTTP build cache behavior

For more details see https://docs.gradle.org/7.2/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
Enabling Sonar support
Trying to override old definition of datatype junit

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:131: warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/format/CellNumberFormatter.java>:726: warning: [unchecked] Possible heap pollution from parameterized vararg type List<Special>
    private static boolean hasChar(char ch, List<Special>... numSpecials) {
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
7 warnings

> 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/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/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/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);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:89: 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>:89: warning: [deprecation] getCachedResultType() in FormulaRecord has been deprecated
        assertEquals(CellType.ERROR.getCode(), record.getCachedResultType());
                                                     ^
15 warnings

> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:jar
> Task :poi-ooxml:fixBatik
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-full:generate_beans
> Task :poi-ooxml-full:compileJava
> Task :poi-ooxml-full:compileJava9
> Task :poi-ooxml-full:cacheJava9
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-ooxml-full:sourceJar
> Task :poi-ooxml-full:jar

> Task :poi-ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
            XSSFName nm = _uBook.getNameAt(i);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
            int nameIdx = _uBook.getNameIndex(nameName);
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        XSSFName xname = _uBook.getNameAt(idx);
                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return _uBook.getNameAt(namePtg.getIndex()).getNameName();
                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
        return new Name(_uBook.getNameAt(ix), ix, this);
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(cellType);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated
    protected void finalize() throws Throwable {
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated
            super(NAME, 1d, NAME);
            ^
9 warnings

> Task :poi-ooxml:compileJava9 FAILED
error: duplicate module on application module path
  module in org.apache.poi.poi
error: duplicate module on application module path
  module in poi.ooxml.full
error: duplicate module on application module path
  module in org.apache.poi.ooxml.schemas
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> 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 2m 44s
18 actionable tasks: 18 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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