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

classic Classic list List threaded Threaded
44 messages Options
123
Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Andreas Beeker] include batik in poi-bin artifact

[Andreas Beeker] add batik to forbidden-apis-check classpath


------------------------------------------
[...truncated 379.34 KB...]
A         src/documentation/sitemap.xmap
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1886863

At revision 1886863

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins7274373739821846338.sh
+ svn status
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:05 .
drwxr-xr-x 43 root root 4096 Feb 16 14:30 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:05 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:05 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:05 include
drwxr-xr-x  2 root root 4096 Dec  7 23:05 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:05 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:05 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:05 .
drwxr-xr-x 8 root root   4096 Dec  7 23:05 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 468
drwxr-xr-x 13 jenkins jenkins   4096 Feb 23 23:00 .
drwxr-xr-x  8 jenkins jenkins   4096 Feb 23 22:59 ..
-rw-r--r--  1 jenkins jenkins  15388 Feb 23 22:59 build.gradle
-rw-r--r--  1 jenkins jenkins 165630 Feb 23 22:59 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 23 22:59 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 23 23:00 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 23 23:00 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 23 23:00 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 23 23:00 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 23 22:59 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 23 22:59 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 23 23:00 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 23 23:00 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 23 23:00 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 23 23:00 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 23 23:00 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 23 22:59 legal
drwxr-xr-x  2 jenkins jenkins   4096 Feb 23 22:59 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 23 22:59 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 23 23:00 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 23 23:00 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 23 23:00 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 23 23:00 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 23 23:00 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 23 22:59 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 23 23:00 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 23 23:00 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 23 23:00 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 23 23:00 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.6/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.9.14 compiled on March 12 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-74-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds

> Task :ooxml:ant-compile-ooxml-xsds
SchemaCompiler  Metadata LOAD:org/apache/xmlbeans/metadata GEN:org/apache/poi/schemas/ooxml
Time to build schema type system: 2.833 seconds
Time to generate code: 5.127 seconds
[ant:javac] Ignoring source, target and bootclasspath as release has been set

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources
> Task :scratchpad:classes
> Task :scratchpad:jar

> Task :ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPageContents.java>:47: error: cannot access DocumentFactory
                _pageContents = PageContentsDocument.Factory.parse(getPackagePart().getInputStream()).getPageContents();
                                                            ^
  class file for org.apache.xmlbeans.impl.schema.DocumentFactory not found
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:117: error: recursive constructor invocation
    public XSSFColor(byte[] rgb, IndexedColorMap colorMap) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFHyperlink.java>:29: error: recursive constructor invocation
    public XDDFHyperlink(String id) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFLineProperties.java>:42: error: recursive constructor invocation
    public XDDFLineProperties(XDDFFillProperties fill) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFPresetLineDash.java>:28: error: recursive constructor invocation
    public XDDFPresetLineDash(PresetLineDash dash) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:468: error: cannot access SimpleTypeFactory
            STHexColorAuto hexColor = STHexColorAuto.Factory.newInstance();
                                                            ^
  class file for org.apache.xmlbeans.impl.schema.SimpleTypeFactory not found
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFSolidFillProperties.java>:38: error: recursive constructor invocation
    public XDDFSolidFillProperties(XDDFColor color) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFBulletSizePoints.java>:28: error: recursive constructor invocation
    public XDDFBulletSizePoints(double value) {
           ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> 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 5s
14 actionable tasks: 14 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[PJ Fanning] missing ooxml-schemas-lite classes


------------------------------------------
[...truncated 1.93 KB...]
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins2946364967934384897.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 22 00:24 .
drwxr-xr-x  4 jenkins jenkins   4096 Feb 21 22:30 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 18:51 build
-rw-r--r--  1 jenkins jenkins  15388 Feb 22 00:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 22 00:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 24 21:39 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 22 00:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 18:39 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 18:39 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 18:39 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 18:39 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 22 00:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 18:40 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 18:39 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 18:39 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 18:39 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 00:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 22 00:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 22 00:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 18:39 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 18:39 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 18:39 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 18:39 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 22 00:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 18:39 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 24 21:39 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 18:39 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 18:39 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds
> Task :scratchpad:compileJava UP-TO-DATE
> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes UP-TO-DATE
> Task :scratchpad:jar UP-TO-DATE
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE
> Task :main:compileTestJava UP-TO-DATE
> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses UP-TO-DATE
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava UP-TO-DATE
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses UP-TO-DATE
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 51s
27 actionable tasks: 11 executed, 16 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[PJ Fanning] xmlsec version


------------------------------------------
[...truncated 19.49 KB...]
U         src/scratchpad/src/org/apache/poi/hwmf/record/HwmfBitmapDib.java
U         src/scratchpad/src/org/apache/poi/hwmf/record/HwmfText.java
U         src/scratchpad/src/org/apache/poi/hwmf/usermodel/HwmfPicture.java
U         src/scratchpad/src/org/apache/poi/hwpf/HWPFOldDocument.java
U         src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java
U         src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordUtils.java
U         src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoConverter.java
U         src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java
U         src/scratchpad/src/org/apache/poi/hwpf/converter/WordToTextConverter.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/BookmarksTables.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FIBFieldHandler.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FileInformationBlock.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FontTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/ListLevel.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/ListTables.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/NilPICFAndBinData.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/OldFfn.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/OldFontTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PAPBinTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PlfLfo.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PropertyNode.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/SectionTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/Sttb.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/StyleDescription.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/Xstz.java
U         src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
U         src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java
U         src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java
U         src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/Picture.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableRow.java
U         src/scratchpad/src/org/apache/poi/hwpf/util/LittleEndianCP950Reader.java
D         src/scratchpad/testcases/log4j.properties
D         src/scratchpad/testcases/commons-logging.properties
U         src/scratchpad/testcases/org/apache/poi/hwpf/HWPFTestDataSamples.java
U         src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java
U         src/testcases/org/apache/poi/hpsf/basic/TestWrite.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormat.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestMatrixFormulasFromBinarySpreadsheet.java
U         src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
U         src/testcases/org/apache/poi/ss/usermodel/BaseTestBugzillaIssues.java
U         src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java
D         src/testcases/org/apache/poi/util/TestPOILogger.java
D         src/testcases/org/apache/poi/util/DummyPOILogger.java
U         build.xml
U         .classpath
U         .gitignore
U         legal/LICENSE
U         maven/poi.pom
U         osgi/README.md
U         osgi/pom.xml
U         sonar/excelant/pom.xml
U         sonar/integration-test/pom.xml
U         sonar/main/pom.xml
U         sonar/ooxml/pom.xml
U         sonar/pom.xml
U         sonar/scratchpad/pom.xml

<-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/forrest.properties'>
At revision 1886894


<-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/documentation'>
U         src/documentation/content/xdocs/changes.xml
At revision 1886894

At revision 1886894

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins559183801036052995.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 22:54 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:54 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:54 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:54 include
drwxr-xr-x  2 root root 4096 Dec  7 22:54 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:54 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:54 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:54 .
drwxr-xr-x 8 root root   4096 Dec  7 22:54 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 476
drwxr-xr-x 14 jenkins jenkins   4096 Feb 24 21:54 .
drwxr-xr-x  7 jenkins jenkins   4096 Feb 21 22:30 ..
-rw-r--r--  1 jenkins jenkins  15388 Feb 24 21:54 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 17 15:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 24 21:54 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 24 21:54 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 15 15:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 15 15:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 15 15:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 15 15:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 15 15:24 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 24 21:54 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 15 15:25 gradle
drwxr-xr-x  4 jenkins jenkins   4096 Feb 15 15:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 15 15:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 15 15:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 15 15:25 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 15 15:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 15 15:25 legal
drwxr-xr-x  2 jenkins jenkins   4096 Feb 24 21:54 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 24 21:54 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 15 15:25 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 15 15:25 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 15 15:25 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 15 15:25 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 15 15:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 24 21:54 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 15 15:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 24 21:54 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 15 15:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 15 15: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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/lib/gradle/4.10.3/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

> Configure project :
Enabling Sonar support

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 45

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Could not get unknown property 'Bundling' for {} of type org.gradle.api.internal.attributes.DefaultMutableAttributeContainer.

* 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 10s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Enable parallel tests from Gradle

Parallel tests are already enabled from Ant. This does the same for Gradle users.


------------------------------------------
[...truncated 3.25 KB...]
drwxr-xr-x  3 root root 4096 Dec  7 23:10 include
drwxr-xr-x  2 root root 4096 Dec  7 23:10 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:10 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:10 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:10 .
drwxr-xr-x 8 root root   4096 Dec  7 23:10 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 21:11 .
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 20:32 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 21:29 build
-rw-r--r--  1 jenkins jenkins  15467 Feb 26 21:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 21 21:10 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 26 21:24 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 21 21:09 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 21:10 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 21:10 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 21:10 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 21:10 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:09 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 21 21:09 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:10 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 21:10 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 21:10 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 21:10 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:10 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 21:10 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:09 legal
drwxr-xr-x  9 jenkins jenkins   4096 Feb 21 21:11 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:09 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 21:10 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 21:10 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 21:10 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:10 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 21:10 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 21 21:09 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 21:10 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 26 21:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 21:10 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 21:10 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-76-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar UP-TO-DATE

> Task :ooxml:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes
> Task :ooxml:jar
> Task :examples:compileJava
> Task :examples:processResources NO-SOURCE
> Task :examples:classes
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes

> Task :main:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShow.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 51s
27 actionable tasks: 18 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Remove the integrationTest task from the Gradle integrationtest project

This task adds no additional configuration over the regular test task.

[Marius Volkhart] Remove the test exclusion for RecordStresser and RecordsStresser from Gradle integration tests

These classes don't exist.


------------------------------------------
[...truncated 1.58 KB...]

At revision 1886961

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins1450577275911249333.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:10 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:10 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:10 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:10 include
drwxr-xr-x  2 root root 4096 Dec  7 23:10 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:10 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:10 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:10 .
drwxr-xr-x 8 root root   4096 Dec  7 23:10 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 21:11 .
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 20:32 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 21:29 build
-rw-r--r--  1 jenkins jenkins  15222 Feb 26 22:09 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 26 21:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 26 21:24 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 21 21:09 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 21:10 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 21:10 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 21:10 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 21:10 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:09 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 21 21:09 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:10 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 21:10 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 21:10 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 21:10 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:10 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 21:10 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:09 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 26 21:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:09 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 21:10 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 21:10 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 21:10 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:10 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 21:10 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 21 21:09 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 21:10 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 26 22:09 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 21:10 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 21:10 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava UP-TO-DATE
> Task :main:processResources UP-TO-DATE
> Task :main:classes UP-TO-DATE
> Task :main:jar UP-TO-DATE
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-76-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds
> Task :scratchpad:compileJava UP-TO-DATE
> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes UP-TO-DATE
> Task :scratchpad:jar UP-TO-DATE
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE
> Task :main:compileTestJava UP-TO-DATE
> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses UP-TO-DATE
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava UP-TO-DATE
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses UP-TO-DATE
> Task :excelant:test UP-TO-DATE
> Task :excelant:check UP-TO-DATE
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 37s
27 actionable tasks: 8 executed, 19 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Enable running more integration tests from Gradle.

This is particularly relevant for developers who import the Gradle project into their IDE and run tests using the Gradle test runner. Those developers were previously unable to debug integration tests.


------------------------------------------
[...truncated 375.10 KB...]
AU        src/documentation/resources/images/logoRandyStanard01.png
AU        src/documentation/resources/images/logoRandyStanard02.png
AU        src/documentation/resources/images/POIFSWriteArchive.gif
AU        src/documentation/resources/images/logoRandyStanard03.png
AU        src/documentation/resources/images/logoRandyStanard04.png
AU        src/documentation/resources/images/logoRandyStanard05.png
AU        src/documentation/resources/images/POIFSWriteFilesystem.gif
AU        src/documentation/resources/images/logoRandyStanard06.png
AU        src/documentation/resources/images/logoRandyStanard07.png
AU        src/documentation/resources/images/built-with-forrest-button.png
AU        src/documentation/resources/images/logoRandyStanard08.png
AU        src/documentation/resources/images/timesheet.jpg
AU        src/documentation/resources/images/poi-logo.png
AU        src/documentation/resources/images/unknown.jpg
AU        src/documentation/resources/images/logoKarmokar1s.png
AU        src/documentation/resources/images/POIFSRootPropertyPreWrite.gif
AU        src/documentation/resources/images/logoWendyWise.png
AU        src/documentation/resources/images/POIFSPropertyTablePreWrite.gif
AU        src/documentation/resources/images/logoKarmokar5s.png
AU        src/documentation/resources/images/ss-features.png
AU        src/documentation/resources/images/businessplan.jpg
AU        src/documentation/resources/images/logoJanssen1.png
AU        src/documentation/resources/images/logoJanssen2.png
AU        src/documentation/resources/images/calendar.jpg
AU        src/documentation/resources/images/loancalc.jpg
AU        src/documentation/resources/images/usermodel.gif
AU        src/documentation/resources/images/logoLoicLefevre.png
AU        src/documentation/resources/images/simple-xls-with-function.jpg
AU        src/documentation/resources/images/logoRaPiGmbH1.png
AU        src/documentation/resources/images/PropertySet.jpg
AU        src/documentation/resources/images/logoRaPiGmbH2.png
AU        src/documentation/resources/images/vba-example.jpg
AU        src/documentation/resources/images/logoKarmokar2s.png
AU        src/documentation/resources/images/logoRaPiGmbH5.png
AU        src/documentation/resources/images/logoRaPiGmbH6.png
AU        src/documentation/resources/images/logoKarmokar6s.png
AU        src/documentation/resources/images/logoRaPiGmbH7.png
AU        src/documentation/resources/images/logoRaPiGmbH8.png
AU        src/documentation/resources/images/logoRaPiGmbH9.png
AU        src/documentation/resources/images/logoDanielFernandez.png
AU        src/documentation/resources/images/logoAndrewClements2.png
AU        src/documentation/resources/images/hslf_shapes.gif
AU        src/documentation/resources/images/logoWendyWise2.png
AU        src/documentation/resources/images/POIFSLifeCycle.gif
AU        src/documentation/resources/images/logoAdria1.png
AU        src/documentation/resources/images/logoAdria2.png
AU        src/documentation/resources/images/logoAdria3.png
AU        src/documentation/resources/images/remove.jpg
AU        src/documentation/resources/images/logoKarmokar3s.png
AU        src/documentation/resources/images/logoGlenStampoutlzis.png
AU        src/documentation/resources/images/logoKarmokar1.png
AU        src/documentation/resources/images/POIFSInitialization.gif
AU        src/documentation/resources/images/logoKarmokar2.png
AU        src/documentation/resources/images/logoRaPiGmbH10.png
AU        src/documentation/resources/images/logoKarmokar3.png
AU        src/documentation/resources/images/logoRaPiGmbH11.png
AU        src/documentation/resources/images/logoMichaelMosmann.png
AU        src/documentation/resources/images/logoKarmokar4.png
AU        src/documentation/resources/images/logoRaPiGmbH12.png
AU        src/documentation/resources/images/logoKarmokar5.png
AU        src/documentation/resources/images/logoKarmokar6.png
AU        src/documentation/resources/images/ApacheConEu08.jpg
AU        src/documentation/resources/images/BlockClassDiagram.gif
AU        src/documentation/resources/images/calculatePayment.jpg
AU        src/documentation/resources/images/PropertyTableClassDiagram.gif
AU        src/documentation/resources/images/logoRussellBeattie1.png
AU        src/documentation/resources/images/logoRussellBeattie2.png
AU        src/documentation/resources/images/logoRussellBeattie3.png
A         src/documentation/sitemap.xmap
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1886962

At revision 1886962

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins3925671814247027596.sh
+ svn status
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 22:57 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:57 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:57 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:57 include
drwxr-xr-x  2 root root 4096 Dec  7 22:57 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:57 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:57 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:57 .
drwxr-xr-x 8 root root   4096 Dec  7 22:57 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 468
drwxr-xr-x 13 jenkins jenkins   4096 Feb 26 22:25 .
drwxr-xr-x 10 jenkins jenkins   4096 Feb 26 22:24 ..
-rw-r--r--  1 jenkins jenkins  15182 Feb 26 22:24 build.gradle
-rw-r--r--  1 jenkins jenkins 165630 Feb 26 22:24 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 26 22:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 26 22:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 26 22:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 26 22:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 26 22:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:24 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 26 22:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:25 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 26 22:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 26 22:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:25 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 26 22:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:24 legal
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 26 22:25 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 26 22:25 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 26 22:25 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:25 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 26 22:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 26 22:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 26 22:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 26 22:25 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 26 22:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 26 22: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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/lib/gradle/4.10.3/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

> Configure project :
Enabling Sonar support

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 45

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Could not get unknown property 'Bundling' for {} of type org.gradle.api.internal.attributes.DefaultMutableAttributeContainer.

* 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 14s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Fix bug with record indexes for HSSF Workbooks

We have encountered workbooks that do not have a TabIdRecord (see 55982.xls). However, the WorkbookRecordList#updateRecordPos() method would still increment the position of the TabIdRecord for such workbooks. Changing the default position of the record from 0 to -1 indicates that the record position has now been set.

This bug was discovered while adding support for editing pictures in HSSF documents.


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content
LANG=en_US.UTF-8
FORREST_HOME=/home/jenkins/tools/forrest/latest

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on H42 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2021-02-27T00:54:11.674 +0000'
U         src/java/org/apache/poi/hssf/model/InternalWorkbook.java
U         src/java/org/apache/poi/hssf/model/WorkbookRecordList.java
AU        src/testcases/org/apache/poi/hssf/model/TestWorkbookRecordList.java

<-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/forrest.properties'>
At revision 1886964


<-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/documentation'>
At revision 1886964

At revision 1886964

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins3526796861004551053.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 22:57 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:57 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:57 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:57 include
drwxr-xr-x  2 root root 4096 Dec  7 22:57 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:57 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:57 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:57 .
drwxr-xr-x 8 root root   4096 Dec  7 22:57 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 476
drwxr-xr-x 14 jenkins jenkins   4096 Feb 26 22:25 .
drwxr-xr-x  9 jenkins jenkins   4096 Feb 27 00:32 ..
-rw-r--r--  1 jenkins jenkins  15182 Feb 26 22:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 26 22:25 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 26 22:24 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 26 22:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 26 22:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 26 22:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 26 22:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 26 22:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:24 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 26 22:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:25 gradle
drwxr-xr-x  4 jenkins jenkins   4096 Feb 26 22:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 26 22:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 26 22:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:25 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 26 22:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:24 legal
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 26 22:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 26 22:25 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 26 22:25 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 26 22:25 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:25 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 26 22:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 26 22:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 26 22:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 27 00:54 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 26 22:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 26 22: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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/lib/gradle/4.10.3/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

> Configure project :
Enabling Sonar support

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 45

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Could not get unknown property 'Bundling' for {} of type org.gradle.api.internal.attributes.DefaultMutableAttributeContainer.

* 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 3s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[PJ Fanning] add missing license


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content
LANG=en_US.UTF-8
FORREST_HOME=/home/jenkins/tools/forrest/latest

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on H33 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2021-02-27T01:39:11.767 +0000'
AU        src/testcases/org/apache/poi/hssf/model/TestWorkbookRecordList.java
U         src/java/org/apache/poi/hssf/model/InternalWorkbook.java
U         src/java/org/apache/poi/hssf/model/WorkbookRecordList.java
U         src/integrationtest/org/apache/poi/stress/TestAllFiles.java
U         build.gradle

<-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/forrest.properties'>
At revision 1886965


<-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/documentation'>
At revision 1886965

At revision 1886965

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins8798143283086499872.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 22:54 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:54 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:54 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:54 include
drwxr-xr-x  2 root root 4096 Dec  7 22:54 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:54 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:54 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:54 .
drwxr-xr-x 8 root root   4096 Dec  7 22:54 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 476
drwxr-xr-x 14 jenkins jenkins   4096 Feb 24 21:54 .
drwxr-xr-x  6 jenkins jenkins   4096 Feb 26 22:50 ..
-rw-r--r--  1 jenkins jenkins  15182 Feb 27 01:39 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 24 21:54 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 24 21:54 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 24 21:54 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 15 15:25 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 15 15:25 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 15 15:25 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 15 15:25 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 15 15:24 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 24 21:54 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 15 15:25 gradle
drwxr-xr-x  4 jenkins jenkins   4096 Feb 15 15:25 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 15 15:25 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 15 15:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 15 15:25 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 15 15:25 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 15 15:25 legal
drwxr-xr-x  2 jenkins jenkins   4096 Feb 24 21:54 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 24 21:54 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 15 15:25 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 15 15:25 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 15 15:25 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 15 15:25 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 15 15:25 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 24 21:54 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 15 15:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 27 01:39 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 15 15:25 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 15 15: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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -PenableSonar -Dsonar.login=**** -Dsonar.organization=apache -Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io check jacocoTestReport sonarqube
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/lib/gradle/4.10.3/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

> Configure project :
Enabling Sonar support

FAILURE: Build failed with an exception.

* Where:
Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.gradle'> line: 45

* What went wrong:
A problem occurred evaluating root project 'poi'.
> Could not get unknown property 'Bundling' for {} of type org.gradle.api.internal.attributes.DefaultMutableAttributeContainer.

* 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 9s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Replace magic constant use of EscherBSERecord type ID with reference

Instead of referring to the magic constant 0xF007, reference the value in the EscherRecordTypes enum.


------------------------------------------
[...truncated 2.85 KB...]
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 22 00:24 .
drwxr-xr-x  4 jenkins jenkins   4096 Feb 21 22:30 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 18:51 build
-rw-r--r--  1 jenkins jenkins  15182 Feb 27 18:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 24 21:39 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 24 21:39 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 22 00:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 18:39 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 18:39 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 18:39 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 18:39 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 22 00:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 18:40 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 18:39 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 18:39 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 18:39 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 00:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 22 00:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 22 00:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 18:39 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 18:39 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 18:39 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 18:39 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 22 00:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 18:39 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 27 18:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 18:39 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 18:39 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE

> Task :main:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShow.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses
> Task :main:testJar
> Task :excelant:compileTestJava
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 15s
27 actionable tasks: 16 executed, 11 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Replace magic constant use of Escher Blip End type ID with reference

Instead of referring to the magic constant 0xF117, reference the value in the EscherRecordTypes enum.

[Marius Volkhart] Replace magic constant use of Escher Blip Start type ID with reference

Instead of referring to the magic constant 0xF018, reference the value in the EscherRecordTypes enum.


------------------------------------------
[...truncated 2.32 KB...]

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 22 00:24 .
drwxr-xr-x  4 jenkins jenkins   4096 Feb 21 22:30 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 18:51 build
-rw-r--r--  1 jenkins jenkins  15182 Feb 27 18:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 27 18:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 24 21:39 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 22 00:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 18:39 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 18:39 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 18:39 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 18:39 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 22 00:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 18:40 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 18:39 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 18:39 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 18:39 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 00:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 22 00:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 22 00:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 18:39 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 18:39 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 18:39 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 18:39 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 22 00:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 18:39 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 27 18:39 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 18:39 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 18:39 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE
> Task :main:compileTestJava UP-TO-DATE
> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses UP-TO-DATE
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava UP-TO-DATE
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses UP-TO-DATE
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 49s
27 actionable tasks: 13 executed, 14 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Revert "Replace magic constant with reference" changes

Reverts r1886986, r1886987 and r1886988. Incorrect conversion between int and shorts led to incorrect logic.


------------------------------------------
[...truncated 2.11 KB...]
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins2407447183042512539.sh
+ svn status
?       build.javacheck.xml
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 22 00:24 .
drwxr-xr-x  4 jenkins jenkins   4096 Feb 21 22:30 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 18:51 build
-rw-r--r--  1 jenkins jenkins  15182 Feb 27 18:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 27 18:39 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 24 21:39 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 22 00:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 18:39 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 18:39 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 18:39 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 18:39 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 22 00:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 18:40 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 18:39 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 18:39 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 18:39 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 00:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 22 00:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 22 00:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 18:39 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 18:39 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 18:39 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 18:39 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 22 00:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 18:39 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 27 19:09 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 18:39 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 18:39 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava UP-TO-DATE
> Task :main:processResources UP-TO-DATE
> Task :main:classes UP-TO-DATE
> Task :main:jar UP-TO-DATE
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE
> Task :main:compileTestJava UP-TO-DATE
> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses UP-TO-DATE
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava UP-TO-DATE
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses UP-TO-DATE
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 39s
27 actionable tasks: 11 executed, 16 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Add documentation for HWPF FileInformationBlock DggInfo methods

This documentation comes from [MS-DOC] - v20191119.


------------------------------------------
[...truncated 2.84 KB...]
drwxr-xr-x  8 root root 4096 Dec  7 23:10 .
drwxr-xr-x 43 root root 4096 Feb 16 14:45 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:10 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:10 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:10 include
drwxr-xr-x  2 root root 4096 Dec  7 23:10 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:10 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:10 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:10 .
drwxr-xr-x 8 root root   4096 Dec  7 23:10 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 21:11 .
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 20:32 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 21:29 build
-rw-r--r--  1 jenkins jenkins  15182 Feb 28 15:09 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 26 22:09 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 26 21:24 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 21 21:09 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 21:10 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 21:10 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 21:10 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 21:10 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:09 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 21 21:09 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:10 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 21:10 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 21:10 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 21:10 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:10 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 21:10 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:09 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 26 21:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:09 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 21:09 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 21:10 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 21:10 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 21:10 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 21:10 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 21:10 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 21 21:09 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 21:10 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 28 15:09 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 21:10 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 21:10 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-76-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar
> Task :ooxml:compileJava UP-TO-DATE
> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes UP-TO-DATE
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava UP-TO-DATE
> Task :examples:processResources NO-SOURCE
> Task :examples:classes UP-TO-DATE
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava UP-TO-DATE
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes UP-TO-DATE

> Task :main:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShow.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses
> Task :main:testJar
> Task :excelant:compileTestJava
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 33s
27 actionable tasks: 16 executed, 11 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Simplify initialization of HWPF EscherRecordHolder


------------------------------------------
[...truncated 3.28 KB...]
drwxr-xr-x  2 root root 4096 Dec  7 22:56 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:56 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:56 include
drwxr-xr-x  2 root root 4096 Dec  7 22:56 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:56 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:56 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:56 .
drwxr-xr-x 8 root root   4096 Dec  7 22:56 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 22 18:39 .
drwxr-xr-x 10 jenkins jenkins   4096 Feb 28 05:17 ..
drwxr-xr-x 31 jenkins jenkins   4096 Dec  4 05:21 build
-rw-r--r--  1 jenkins jenkins  15182 Feb 28 16:54 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 22 18:39 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 28 16:54 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 22 18:39 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Jan 23 23:09 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Jan 23 23:09 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec  4 05:11 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec  4 05:11 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Dec 28 14:54 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 22 18:39 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec  4 05:11 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Dec  4 05:11 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Jan 23 23:09 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Jan 23 23:09 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Dec 28 14:54 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Dec  4 05:11 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 05:11 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 18:40 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 22 18:39 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 22 18:39 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec  4 05:11 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Dec  4 05:11 .project
-rw-r--r--  1 jenkins jenkins   4278 Dec 13 18:46 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Dec  4 05:11 .settings
-rw-r--r--  1 jenkins jenkins    556 Dec  4 05:11 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 22 18:39 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Dec  4 05:11 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 28 16:54 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Jan 23 23:09 test-data
-rw-r--r--  1 jenkins jenkins    419 Dec 10 18:24 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.6/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.9.14 compiled on March 12 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-74-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar

> Task :ooxml:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava
> Task :examples:processResources NO-SOURCE
> Task :examples:classes
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes

> Task :main:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShow.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses
> Task :main:testJar
> Task :excelant:compileTestJava
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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 15s
27 actionable tasks: 19 executed, 8 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Rework EscherRecordHolder parsing

Modify the parsing done by EscherRecordHolder to be more deterministic. The format of the OfficeArtContent structure, which the EscherRecordHolder represents, is well defined in the MS-DOC spec. A clear class structure makes it easier to reason about the availability of data.

[Marius Volkhart] Add documentation to EscherRecordTypes#DG_CONTAINER


------------------------------------------
[...truncated 2.32 KB...]
Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 23:00 .
drwxr-xr-x 43 root root 4096 Feb 16 14:44 ..
drwxr-xr-x  2 root root 4096 Dec  7 23:00 bin
drwxr-xr-x  4 root root 4096 Dec  7 23:00 conf
drwxr-xr-x  3 root root 4096 Dec  7 23:00 include
drwxr-xr-x  2 root root 4096 Dec  7 23:00 jmods
drwxr-xr-x 73 root root 4096 Dec  7 23:00 legal
drwxr-xr-x  6 root root 4096 Dec  7 23:00 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 23:00 .
drwxr-xr-x 8 root root   4096 Dec  7 23:00 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 484
drwxr-xr-x 16 jenkins jenkins   4096 Feb 22 00:24 .
drwxr-xr-x  4 jenkins jenkins   4096 Feb 21 22:30 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 18:51 build
-rw-r--r--  1 jenkins jenkins  15182 Feb 27 18:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 27 19:09 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165630 Feb 24 21:39 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 22 00:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 21 18:39 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 21 18:39 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 21 18:39 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 21 18:39 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 22 00:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 21 18:39 gradle
drwxr-xr-x  6 jenkins jenkins   4096 Feb 21 18:40 .gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 21 18:39 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 21 18:39 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 21 18:39 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 22 00:25 lib
drwxr-xr-x  2 jenkins jenkins   4096 Feb 22 00:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 22 00:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 21 18:39 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 21 18:39 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 21 18:39 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 21 18:39 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 21 18:39 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 22 00:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 21 18:39 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 28 18:54 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 21 18:39 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 21 18:39 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
> Task :main:processResources UP-TO-DATE
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-99-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds
> Task :ooxml:ant-compile-ooxml-xsds

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources UP-TO-DATE
> Task :scratchpad:classes
> Task :scratchpad:jar

> Task :ooxml:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :ooxml:processResources UP-TO-DATE
> Task :ooxml:classes
> Task :ooxml:jar UP-TO-DATE
> Task :examples:compileJava
> Task :examples:processResources NO-SOURCE
> Task :examples:classes
> Task :examples:compileTestJava NO-SOURCE
> Task :examples:processTestResources NO-SOURCE
> Task :examples:testClasses UP-TO-DATE
> Task :examples:test NO-SOURCE
> Task :examples:check UP-TO-DATE
> Task :excelant:compileJava
> Task :excelant:processResources UP-TO-DATE
> Task :excelant:classes
> Task :main:compileTestJava UP-TO-DATE
> Task :main:processTestResources UP-TO-DATE
> Task :main:testClasses UP-TO-DATE
> Task :main:testJar UP-TO-DATE
> Task :excelant:compileTestJava
> Task :excelant:processTestResources UP-TO-DATE
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar UP-TO-DATE
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

> Task :ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:23: error: cannot find symbol
import org.apache.xmlbeans.impl.schema.DocumentFactory;
                                      ^
  symbol:   class DocumentFactory
  location: package org.apache.xmlbeans.impl.schema
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
        ^
  symbol:   class DocumentFactory
  location: class TestNecessaryOOXMLClasses
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/testcases/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:31: error: cannot find symbol
        DocumentFactory<AlternateContentDocument> factory = AlternateContentDocument.Factory;
                                                                                    ^
  symbol:   variable Factory
  location: interface AlternateContentDocument
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :ooxml:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileTestJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 52s
27 actionable tasks: 17 executed, 10 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Rename EscherRecordHolder to OfficeArtContent

While the class does indeed hold EscherRecords, due to recent refactoring it is much more structured now than it was before. The contents of the class now closely resemble the OfficeArtContent structure referenced in the MS-DOC spec. Naming the class after the specification structure makes it easier to find and understand.


------------------------------------------
[...truncated 379.53 KB...]
A         src/documentation/sitemap.xmap
A         src/documentation/cli.xconf
AU        src/documentation/RELEASE-NOTES.txt
AU        src/documentation/README.txt
A         src/documentation/classes
A         src/documentation/classes/CatalogManager.properties
At revision 1887009

At revision 1887009

No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build
No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build
Injecting SonarQube environment variables using the configuration: sonarcloud.io
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins2312012239526683121.sh
+ svn status
    X   forrest.properties
X       src/documentation

Performing status on external item at 'src/documentation':
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 40
drwxr-xr-x  8 root root 4096 Dec  7 22:43 .
drwxr-xr-x 43 root root 4096 Feb 16 14:31 ..
drwxr-xr-x  2 root root 4096 Dec  7 22:43 bin
drwxr-xr-x  4 root root 4096 Dec  7 22:43 conf
drwxr-xr-x  3 root root 4096 Dec  7 22:43 include
drwxr-xr-x  2 root root 4096 Dec  7 22:43 jmods
drwxr-xr-x 73 root root 4096 Dec  7 22:43 legal
drwxr-xr-x  6 root root 4096 Dec  7 22:43 lib
-r--r--r--  1 root root  160 Sep 15 15:56 README.html
-rw-r--r--  1 root root 1278 Sep 15 15:56 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 640
drwxr-xr-x 2 root root   4096 Dec  7 22:43 .
drwxr-xr-x 8 root root   4096 Dec  7 22:43 ..
-rwxr-xr-x 1 root root  12984 Sep 15 15:56 jaotc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jar
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jarsigner
-rwxr-xr-x 1 root root  12848 Sep 15 15:56 java
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javac
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 javadoc
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 javap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jcmd
-rwxr-xr-x 1 root root  12912 Sep 15 15:56 jconsole
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeprscan
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jdeps
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jfr
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jhsdb
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jimage
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jinfo
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jjs
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jlink
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jmap
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jmod
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jps
-rwxr-xr-x 1 root root  12904 Sep 15 15:56 jrunscript
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jshell
-rwxr-xr-x 1 root root  12896 Sep 15 15:56 jstack
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstat
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 jstatd
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 keytool
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 pack200
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmic
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 rmid
-rwxr-xr-x 1 root root  12872 Sep 15 15:56 rmiregistry
-rwxr-xr-x 1 root root  12864 Sep 15 15:56 serialver
-rwxr-xr-x 1 root root 121568 Sep 15 15:56 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.9
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 468
drwxr-xr-x 13 jenkins jenkins   4096 Feb 28 19:24 .
drwxr-xr-x 10 jenkins jenkins   4096 Feb 28 19:24 ..
-rw-r--r--  1 jenkins jenkins  15182 Feb 28 19:24 build.gradle
-rw-r--r--  1 jenkins jenkins 165630 Feb 28 19:24 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Feb 28 19:24 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Feb 28 19:24 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Feb 28 19:24 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Feb 28 19:24 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Feb 28 19:24 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Feb 28 19:24 .github
-rw-r--r--  1 jenkins jenkins    475 Feb 28 19:24 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Feb 28 19:24 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Feb 28 19:24 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Feb 28 19:24 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Feb 28 19:24 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Feb 28 19:24 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 28 19:24 legal
drwxr-xr-x  2 jenkins jenkins   4096 Feb 28 19:24 maven
drwxr-xr-x  3 jenkins jenkins   4096 Feb 28 19:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Feb 28 19:24 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Feb 28 19:24 .project
-rw-r--r--  1 jenkins jenkins   4278 Feb 28 19:24 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Feb 28 19:24 .settings
-rw-r--r--  1 jenkins jenkins    556 Feb 28 19:24 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Feb 28 19:24 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 28 19:24 src
drwxr-xr-x  4 jenkins jenkins   4096 Feb 28 19:24 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Feb 28 19:24 test-data
-rw-r--r--  1 jenkins jenkins    419 Feb 28 19:24 .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.9
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.9
     [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.9

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
[POI-DSL-SonarQube-Gradle] $ gradle -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 new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.6/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

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

> Task :main:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :main:processResources
> Task :main:classes
> Task :main:jar
> Task :ooxml:ant-check-jars
> Task :ooxml:ant-fetch-jars
> Task :ooxml:ant-check-ooxml-jars
> Task :ooxml:ant-fetch-ooxml-jars

> Task :ooxml:ant-init
[ant:echo] Using Ant: Apache Ant(TM) version 1.9.14 compiled on March 12 2019 from ${ant.home}, Ant detected Java 11 (may be different than actual Java sometimes...)
[ant:echo] Using Java: 11.0.9/11.0.9+7-LTS/11.0.9+7-LTS/Java HotSpot(TM) 64-Bit Server VM from Oracle Corporation on Linux: 4.15.0-58-generic
[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

> Task :ooxml:ant-check-compiled-ooxml-xsds

> Task :ooxml:ant-compile-ooxml-xsds
SchemaCompiler  Metadata LOAD:org/apache/xmlbeans/metadata GEN:org/apache/poi/schemas/ooxml
Time to build schema type system: 2.66 seconds
Time to generate code: 4.762 seconds
[ant:javac] Ignoring source, target and bootclasspath as release has been set

> Task :scratchpad:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :scratchpad:processResources
> Task :scratchpad:classes
> Task :scratchpad:jar

> Task :ooxml:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFPageContents.java>:47: error: cannot access DocumentFactory
                _pageContents = PageContentsDocument.Factory.parse(getPackagePart().getInputStream()).getPageContents();
                                                            ^
  class file for org.apache.xmlbeans.impl.schema.DocumentFactory not found
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:468: error: cannot access SimpleTypeFactory
            STHexColorAuto hexColor = STHexColorAuto.Factory.newInstance();
                                                            ^
  class file for org.apache.xmlbeans.impl.schema.SimpleTypeFactory not found
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:117: error: recursive constructor invocation
    public XSSFColor(byte[] rgb, IndexedColorMap colorMap) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFHyperlink.java>:29: error: recursive constructor invocation
    public XDDFHyperlink(String id) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFLineProperties.java>:42: error: recursive constructor invocation
    public XDDFLineProperties(XDDFFillProperties fill) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFPresetLineDash.java>:28: error: recursive constructor invocation
    public XDDFPresetLineDash(PresetLineDash dash) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFSolidFillProperties.java>:38: error: recursive constructor invocation
    public XDDFSolidFillProperties(XDDFColor color) {
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFBulletSizePoints.java>:28: error: recursive constructor invocation
    public XDDFBulletSizePoints(double value) {
           ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> 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 47s
14 actionable tasks: 14 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[PJ Fanning] change gradle build to get unreleased xmlbeans jar from ci-builds (like ant build does)


------------------------------------------
[...truncated 24.30 KB...]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.java>:53: error: incompatible types: XmlObject cannot be converted to CTFill
        _fill = CTFill.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.java>:75: error: incompatible types: XmlObject cannot be converted to CTBorder
        this(CTBorder.Factory.newInstance(), null, null);
                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:359: error: incompatible types: XmlObject cannot be converted to WorkbookDocument
            WorkbookDocument doc = WorkbookDocument.Factory.parse(getPackagePart().getInputStream(), DEFAULT_XML_OPTIONS);
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:452: error: incompatible types: XmlObject cannot be converted to CTWorkbook
        workbook = CTWorkbook.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:784: error: incompatible types: XmlString cannot be converted to CTDefinedName
        CTDefinedName ctName = CTDefinedName.Factory.newInstance();
                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:1678: error: incompatible types: XmlObject cannot be converted to CTDefinedNames
            CTDefinedNames names = CTDefinedNames.Factory.newInstance();
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:108: error: incompatible types: XmlObject cannot be converted to CTXf
        _cellXf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:160: error: incompatible types: XmlObject cannot be converted to CTXf
                  _cellXf = CTXf.Factory.parse(
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:165: error: incompatible types: XmlObject cannot be converted to CTFill
                  CTFill fill = CTFill.Factory.parse(
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:171: error: incompatible types: XmlObject cannot be converted to CTBorder
                  CTBorder border = CTBorder.Factory.parse(
                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:190: error: incompatible types: XmlObject cannot be converted to CTFont
                  CTFont ctFont = CTFont.Factory.parse(
                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:750: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:860: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:895: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:912: error: incompatible types: XmlObject cannot be converted to CTFill
            ct = CTFill.Factory.newInstance();
                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:946: error: incompatible types: XmlObject cannot be converted to CTBorder
            ct = CTBorder.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:1022: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:1077: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:1134: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:1257: error: incompatible types: XmlObject cannot be converted to CTCellAlignment
            _cellXf.setAlignment(CTCellAlignment.Factory.newInstance());
                                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:81: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
        pivotTableDefinition = CTPivotTableDefinition.Factory.newInstance();
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:107: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
            pivotTableDefinition = CTPivotTableDefinition.Factory.parse(is, options);
                                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:261: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:310: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:455: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:482: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:189: error: cannot find symbol
            worksheet = WorksheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS).getWorksheet();
                                                                                ^
  symbol:   method getWorksheet()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:274: error: incompatible types: XmlObject cannot be converted to CTWorksheet
        CTWorksheet worksheet = CTWorksheet.Factory.newInstance();
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1019: error: incompatible types: bad type in conditional expression
        CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr();
                                                                                                ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1079: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1085: error: incompatible types: XmlObject cannot be converted to CTSheetPr
            worksheet.setSheetPr(CTSheetPr.Factory.newInstance());
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1092: error: incompatible types: XmlObject cannot be converted to CTHeaderFooter
            worksheet.setHeaderFooter(CTHeaderFooter.Factory.newInstance());
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1559: error: incompatible types: bad type in conditional expression
                ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance();
                                                                          ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1636: error: incompatible types: XmlObject cannot be converted to CTCol
        CTCol ctCol=CTCol.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2109: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2194: error: incompatible types: XmlObject cannot be converted to CTCol
            CTCol nci = CTCol.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4671: error: incompatible types: XmlObject cannot be converted to CTOleObjects
                        CTOleObjects coos = CTOleObjects.Factory.parse(reader);
                                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:102: error: incompatible types: XmlObject cannot be converted to SstDocument
        _sstDoc = SstDocument.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:123: error: incompatible types: XmlObject cannot be converted to SstDocument
            _sstDoc = SstDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/CalculationChain.java>:43: error: incompatible types: XmlObject cannot be converted to CTCalcChain
        chain = CTCalcChain.Factory.newInstance();
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/CalculationChain.java>:56: error: incompatible types: XmlObject cannot be converted to CalcChainDocument
            CalcChainDocument doc = CalcChainDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/CalculationChain.java>:63: error: incompatible types: XmlObject cannot be converted to CalcChainDocument
        CalcChainDocument doc = CalcChainDocument.Factory.newInstance();
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:48: error: incompatible types: XmlObject cannot be converted to CTExternalLink
        link = CTExternalLink.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:62: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
            ExternalLinkDocument doc = ExternalLinkDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:69: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
        ExternalLinkDocument doc = ExternalLinkDocument.Factory.newInstance();
                                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/MapInfo.java>:59: error: incompatible types: XmlObject cannot be converted to CTMapInfo
                mapInfo = CTMapInfo.Factory.newInstance();
                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/MapInfo.java>:73: error: incompatible types: XmlObject cannot be converted to MapInfoDocument
                        MapInfoDocument doc = MapInfoDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/MapInfo.java>:148: error: incompatible types: XmlObject cannot be converted to MapInfoDocument
                MapInfoDocument doc = MapInfoDocument.Factory.newInstance();
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCreationHelper.java>:57: error: incompatible types: XmlObject cannot be converted to CTColor
        return XSSFColor.from(CTColor.Factory.newInstance(), workbook.getStylesSource().getIndexedColors());
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:39: error: incompatible types: XmlObject cannot be converted to CTDialogsheet
        this.dialogsheet = CTDialogsheet.Factory.newInstance();
                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:40: error: incompatible types: XmlObject cannot be converted to CTWorksheet
        this.worksheet = CTWorksheet.Factory.newInstance();
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:49: error: incompatible types: XmlObject cannot be converted to CTHeaderFooter
            dialogsheet.setHeaderFooter(CTHeaderFooter.Factory.newInstance());
                                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:56: error: incompatible types: XmlObject cannot be converted to CTSheetPr
            dialogsheet.setSheetPr(CTSheetPr.Factory.newInstance());
                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:67: error: incompatible types: XmlObject cannot be converted to CTSheetFormatPr
            dialogsheet.setSheetFormatPr(CTSheetFormatPr.Factory.newInstance());
                                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:74: error: incompatible types: XmlObject cannot be converted to CTPageMargins
            dialogsheet.setPageMargins(CTPageMargins.Factory.newInstance());
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:85: error: incompatible types: XmlObject cannot be converted to CTSheetViews
            dialogsheet.setSheetViews(CTSheetViews.Factory.newInstance());
                                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:93: error: incompatible types: XmlObject cannot be converted to CTPrintOptions
            dialogsheet.setPrintOptions(CTPrintOptions.Factory.newInstance());
                                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDialogsheet.java>:100: error: incompatible types: XmlObject cannot be converted to CTSheetProtection
            dialogsheet.setSheetProtection(CTSheetProtection.Factory.newInstance());
                                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:564: error: incompatible types: XmlString cannot be converted to CTCellFormula
            f = CTCellFormula.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:881: error: incompatible types: XmlObject cannot be converted to CTCell
        CTCell blank = CTCell.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:937: error: incompatible types: XmlString cannot be converted to CTCellFormula
                    CTCellFormula f =  CTCellFormula.Factory.newInstance();
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java>:80: error: incompatible types: XmlObject cannot be converted to CTTable
        ctTable = CTTable.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java>:100: error: incompatible types: XmlObject cannot be converted to TableDocument
            TableDocument doc = TableDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java>:122: error: incompatible types: XmlObject cannot be converted to TableDocument
        TableDocument doc = TableDocument.Factory.newInstance();
                                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SingleXmlCells.java>:53: error: incompatible types: XmlObject cannot be converted to CTSingleXmlCells
                singleXMLCells = CTSingleXmlCells.Factory.newInstance();
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SingleXmlCells.java>:67: error: incompatible types: XmlObject cannot be converted to SingleXmlCellsDocument
                        SingleXmlCellsDocument doc = SingleXmlCellsDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SingleXmlCells.java>:79: error: incompatible types: XmlObject cannot be converted to SingleXmlCellsDocument
                SingleXmlCellsDocument doc = SingleXmlCellsDocument.Factory.newInstance();
                                                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFHyperlink.java>:49: error: incompatible types: XmlObject cannot be converted to CTHyperlink
        _ctHyperlink = CTHyperlink.Factory.newInstance();
                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFHyperlink.java>:120: error: incompatible types: XmlObject cannot be converted to CTHyperlink
            _ctHyperlink = CTHyperlink.Factory.newInstance();
                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/CommentsTable.java>:58: error: incompatible types: XmlObject cannot be converted to CTComments
        comments = CTComments.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/CommentsTable.java>:73: error: incompatible types: XmlObject cannot be converted to CommentsDocument
            CommentsDocument doc = CommentsDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/CommentsTable.java>:81: error: incompatible types: XmlObject cannot be converted to CommentsDocument
        CommentsDocument doc = CommentsDocument.Factory.newInstance();
                                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFClientAnchor.java>:43: error: incompatible types: XmlObject cannot be converted to CTMarker
    private static final CTMarker EMPTY_MARKER = CTMarker.Factory.newInstance();
                                                                             ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> 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 36s
14 actionable tasks: 12 executed, 2 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[PJ Fanning] change gradle build to get unreleased xmlbeans jar from ci-builds (like ant build does)

[Marius Volkhart] Simplify OfficeArtContent#getBStoreContainer method

Due to the new structure of the class, we can be more specific about how we load the BStore.


------------------------------------------
[...truncated 24.36 KB...]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:248: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:270: error: incompatible types: XmlObject cannot be converted to CTGroupShape
        CTGroupShape grpShp = CTGroupShape.Factory.newInstance();
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:134: error: incompatible types: XmlObject cannot be converted to CTChartSpace
        chartSpace = CTChartSpace.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:150: error: cannot find symbol
        chartSpace = ChartSpaceDocument.Factory.parse(part.getInputStream(), DEFAULT_XML_OPTIONS).getChartSpace();
                                                                                                 ^
  symbol:   method getChartSpace()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:218: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setPlotVisOnly(CTBoolean.Factory.newInstance());
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:225: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setFloor(CTSurface.Factory.newInstance());
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:232: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setBackWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:239: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setSideWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:246: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setAutoTitleDeleted(CTBoolean.Factory.newInstance());
                                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFChart.java>:118: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:359: error: incompatible types: XmlObject cannot be converted to WorkbookDocument
            WorkbookDocument doc = WorkbookDocument.Factory.parse(getPackagePart().getInputStream(), DEFAULT_XML_OPTIONS);
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:452: error: incompatible types: XmlObject cannot be converted to CTWorkbook
        workbook = CTWorkbook.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:784: error: incompatible types: XmlString cannot be converted to CTDefinedName
        CTDefinedName ctName = CTDefinedName.Factory.newInstance();
                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:1678: error: incompatible types: XmlObject cannot be converted to CTDefinedNames
            CTDefinedNames names = CTDefinedNames.Factory.newInstance();
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFShapeProperties.java>:29: error: incompatible types: XmlObject cannot be converted to CTShapeProperties
        this(CTShapeProperties.Factory.newInstance());
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:292: error: incompatible types: XmlObject cannot be converted to CTDPt
                    points.add(i, CTDPt.Factory.newInstance());
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:298: error: incompatible types: XmlObject cannot be converted to CTDPt
            points.add(CTDPt.Factory.newInstance());
                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:81: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
        pivotTableDefinition = CTPivotTableDefinition.Factory.newInstance();
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:107: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
            pivotTableDefinition = CTPivotTableDefinition.Factory.parse(is, options);
                                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:261: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:310: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:455: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:482: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:189: error: cannot find symbol
            worksheet = WorksheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS).getWorksheet();
                                                                                ^
  symbol:   method getWorksheet()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:274: error: incompatible types: XmlObject cannot be converted to CTWorksheet
        CTWorksheet worksheet = CTWorksheet.Factory.newInstance();
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1019: error: incompatible types: bad type in conditional expression
        CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr();
                                                                                                ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1079: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1085: error: incompatible types: XmlObject cannot be converted to CTSheetPr
            worksheet.setSheetPr(CTSheetPr.Factory.newInstance());
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1092: error: incompatible types: XmlObject cannot be converted to CTHeaderFooter
            worksheet.setHeaderFooter(CTHeaderFooter.Factory.newInstance());
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1559: error: incompatible types: bad type in conditional expression
                ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance();
                                                                          ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1636: error: incompatible types: XmlObject cannot be converted to CTCol
        CTCol ctCol=CTCol.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2109: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2194: error: incompatible types: XmlObject cannot be converted to CTCol
            CTCol nci = CTCol.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4671: error: incompatible types: XmlObject cannot be converted to CTOleObjects
                        CTOleObjects coos = CTOleObjects.Factory.parse(reader);
                                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:564: error: incompatible types: XmlString cannot be converted to CTCellFormula
            f = CTCellFormula.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:881: error: incompatible types: XmlObject cannot be converted to CTCell
        CTCell blank = CTCell.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:937: error: incompatible types: XmlString cannot be converted to CTCellFormula
                    CTCellFormula f =  CTCellFormula.Factory.newInstance();
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:102: error: incompatible types: XmlObject cannot be converted to SstDocument
        _sstDoc = SstDocument.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:123: error: incompatible types: XmlObject cannot be converted to SstDocument
            _sstDoc = SstDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:127: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
        doc = StyleSheetDocument.Factory.newInstance();
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:189: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
            doc = StyleSheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:619: error: incompatible types: XmlObject cannot be converted to CTNumFmts
        CTNumFmts formats = CTNumFmts.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:632: error: incompatible types: XmlObject cannot be converted to CTFonts
            ctFonts = CTFonts.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:644: error: incompatible types: XmlObject cannot be converted to CTFills
            ctFills = CTFills.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:656: error: incompatible types: XmlObject cannot be converted to CTBorders
            ctBorders = CTBorders.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:669: error: incompatible types: XmlObject cannot be converted to CTCellXfs
                ctXfs = CTCellXfs.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:682: error: incompatible types: XmlObject cannot be converted to CTCellStyleXfs
                ctSXfs = CTCellStyleXfs.Factory.newInstance();
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:695: error: incompatible types: XmlObject cannot be converted to CTDxfs
                ctDxfs = CTDxfs.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:734: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf ctXf = CTXf.Factory.newInstance();
                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:742: error: incompatible types: XmlObject cannot be converted to CTBorder
        CTBorder ctBorder = CTBorder.Factory.newInstance();
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:760: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont = CTFont.Factory.newInstance();
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:835: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf xf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:90: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:99: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:156: error: incompatible types: XmlObject cannot be converted to CTRPrElt
        CTRPrElt fmt = CTRPrElt.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:448: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont =  CTFont.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:620: error: incompatible types: XmlObject cannot be converted to CTRst
        CTRst stf = CTRst.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:48: error: incompatible types: XmlObject cannot be converted to CTExternalLink
        link = CTExternalLink.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:62: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
            ExternalLinkDocument doc = ExternalLinkDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:69: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
        ExternalLinkDocument doc = ExternalLinkDocument.Factory.newInstance();
                                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.java>:75: error: incompatible types: XmlObject cannot be converted to CTBorder
        this(CTBorder.Factory.newInstance(), null, null);
                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:108: error: incompatible types: XmlObject cannot be converted to CTXf
        _cellXf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:160: error: incompatible types: XmlObject cannot be converted to CTXf
                  _cellXf = CTXf.Factory.parse(
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:165: error: incompatible types: XmlObject cannot be converted to CTFill
                  CTFill fill = CTFill.Factory.parse(
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:171: error: incompatible types: XmlObject cannot be converted to CTBorder
                  CTBorder border = CTBorder.Factory.parse(
                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:190: error: incompatible types: XmlObject cannot be converted to CTFont
                  CTFont ctFont = CTFont.Factory.parse(
                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:750: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:860: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:895: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 32s
14 actionable tasks: 10 executed, 4 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Add documentation to PICFAndOfficeArtData

Adjust call sites based on defined behavior.


------------------------------------------
[...truncated 23.84 KB...]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:248: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:270: error: incompatible types: XmlObject cannot be converted to CTGroupShape
        CTGroupShape grpShp = CTGroupShape.Factory.newInstance();
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:134: error: incompatible types: XmlObject cannot be converted to CTChartSpace
        chartSpace = CTChartSpace.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:150: error: cannot find symbol
        chartSpace = ChartSpaceDocument.Factory.parse(part.getInputStream(), DEFAULT_XML_OPTIONS).getChartSpace();
                                                                                                 ^
  symbol:   method getChartSpace()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:218: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setPlotVisOnly(CTBoolean.Factory.newInstance());
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:225: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setFloor(CTSurface.Factory.newInstance());
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:232: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setBackWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:239: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setSideWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:246: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setAutoTitleDeleted(CTBoolean.Factory.newInstance());
                                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFChart.java>:118: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:359: error: incompatible types: XmlObject cannot be converted to WorkbookDocument
            WorkbookDocument doc = WorkbookDocument.Factory.parse(getPackagePart().getInputStream(), DEFAULT_XML_OPTIONS);
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:452: error: incompatible types: XmlObject cannot be converted to CTWorkbook
        workbook = CTWorkbook.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:784: error: incompatible types: XmlString cannot be converted to CTDefinedName
        CTDefinedName ctName = CTDefinedName.Factory.newInstance();
                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:1678: error: incompatible types: XmlObject cannot be converted to CTDefinedNames
            CTDefinedNames names = CTDefinedNames.Factory.newInstance();
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFShapeProperties.java>:29: error: incompatible types: XmlObject cannot be converted to CTShapeProperties
        this(CTShapeProperties.Factory.newInstance());
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:292: error: incompatible types: XmlObject cannot be converted to CTDPt
                    points.add(i, CTDPt.Factory.newInstance());
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:298: error: incompatible types: XmlObject cannot be converted to CTDPt
            points.add(CTDPt.Factory.newInstance());
                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:81: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
        pivotTableDefinition = CTPivotTableDefinition.Factory.newInstance();
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:107: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
            pivotTableDefinition = CTPivotTableDefinition.Factory.parse(is, options);
                                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:261: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:310: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:455: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:482: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:189: error: cannot find symbol
            worksheet = WorksheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS).getWorksheet();
                                                                                ^
  symbol:   method getWorksheet()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:274: error: incompatible types: XmlObject cannot be converted to CTWorksheet
        CTWorksheet worksheet = CTWorksheet.Factory.newInstance();
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1019: error: incompatible types: bad type in conditional expression
        CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr();
                                                                                                ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1079: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1085: error: incompatible types: XmlObject cannot be converted to CTSheetPr
            worksheet.setSheetPr(CTSheetPr.Factory.newInstance());
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1092: error: incompatible types: XmlObject cannot be converted to CTHeaderFooter
            worksheet.setHeaderFooter(CTHeaderFooter.Factory.newInstance());
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1559: error: incompatible types: bad type in conditional expression
                ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance();
                                                                          ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1636: error: incompatible types: XmlObject cannot be converted to CTCol
        CTCol ctCol=CTCol.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2109: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2194: error: incompatible types: XmlObject cannot be converted to CTCol
            CTCol nci = CTCol.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4671: error: incompatible types: XmlObject cannot be converted to CTOleObjects
                        CTOleObjects coos = CTOleObjects.Factory.parse(reader);
                                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:564: error: incompatible types: XmlString cannot be converted to CTCellFormula
            f = CTCellFormula.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:881: error: incompatible types: XmlObject cannot be converted to CTCell
        CTCell blank = CTCell.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:937: error: incompatible types: XmlString cannot be converted to CTCellFormula
                    CTCellFormula f =  CTCellFormula.Factory.newInstance();
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:102: error: incompatible types: XmlObject cannot be converted to SstDocument
        _sstDoc = SstDocument.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:123: error: incompatible types: XmlObject cannot be converted to SstDocument
            _sstDoc = SstDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:127: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
        doc = StyleSheetDocument.Factory.newInstance();
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:189: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
            doc = StyleSheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:619: error: incompatible types: XmlObject cannot be converted to CTNumFmts
        CTNumFmts formats = CTNumFmts.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:632: error: incompatible types: XmlObject cannot be converted to CTFonts
            ctFonts = CTFonts.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:644: error: incompatible types: XmlObject cannot be converted to CTFills
            ctFills = CTFills.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:656: error: incompatible types: XmlObject cannot be converted to CTBorders
            ctBorders = CTBorders.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:669: error: incompatible types: XmlObject cannot be converted to CTCellXfs
                ctXfs = CTCellXfs.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:682: error: incompatible types: XmlObject cannot be converted to CTCellStyleXfs
                ctSXfs = CTCellStyleXfs.Factory.newInstance();
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:695: error: incompatible types: XmlObject cannot be converted to CTDxfs
                ctDxfs = CTDxfs.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:734: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf ctXf = CTXf.Factory.newInstance();
                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:742: error: incompatible types: XmlObject cannot be converted to CTBorder
        CTBorder ctBorder = CTBorder.Factory.newInstance();
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:760: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont = CTFont.Factory.newInstance();
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:835: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf xf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:90: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:99: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:156: error: incompatible types: XmlObject cannot be converted to CTRPrElt
        CTRPrElt fmt = CTRPrElt.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:448: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont =  CTFont.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:620: error: incompatible types: XmlObject cannot be converted to CTRst
        CTRst stf = CTRst.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:48: error: incompatible types: XmlObject cannot be converted to CTExternalLink
        link = CTExternalLink.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:62: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
            ExternalLinkDocument doc = ExternalLinkDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:69: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
        ExternalLinkDocument doc = ExternalLinkDocument.Factory.newInstance();
                                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.java>:75: error: incompatible types: XmlObject cannot be converted to CTBorder
        this(CTBorder.Factory.newInstance(), null, null);
                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:108: error: incompatible types: XmlObject cannot be converted to CTXf
        _cellXf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:160: error: incompatible types: XmlObject cannot be converted to CTXf
                  _cellXf = CTXf.Factory.parse(
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:165: error: incompatible types: XmlObject cannot be converted to CTFill
                  CTFill fill = CTFill.Factory.parse(
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:171: error: incompatible types: XmlObject cannot be converted to CTBorder
                  CTBorder border = CTBorder.Factory.parse(
                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:190: error: incompatible types: XmlObject cannot be converted to CTFont
                  CTFont ctFont = CTFont.Factory.parse(
                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:750: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:860: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:895: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 22s
14 actionable tasks: 10 executed, 4 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Make picture loading in HWPF PicturesTable easier to understand

The recursion is no longer necessary due to the more defined structure of OfficeArtContent.


------------------------------------------
[...truncated 23.95 KB...]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:248: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:270: error: incompatible types: XmlObject cannot be converted to CTGroupShape
        CTGroupShape grpShp = CTGroupShape.Factory.newInstance();
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:134: error: incompatible types: XmlObject cannot be converted to CTChartSpace
        chartSpace = CTChartSpace.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:150: error: cannot find symbol
        chartSpace = ChartSpaceDocument.Factory.parse(part.getInputStream(), DEFAULT_XML_OPTIONS).getChartSpace();
                                                                                                 ^
  symbol:   method getChartSpace()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:218: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setPlotVisOnly(CTBoolean.Factory.newInstance());
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:225: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setFloor(CTSurface.Factory.newInstance());
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:232: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setBackWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:239: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setSideWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:246: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setAutoTitleDeleted(CTBoolean.Factory.newInstance());
                                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFChart.java>:118: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:359: error: incompatible types: XmlObject cannot be converted to WorkbookDocument
            WorkbookDocument doc = WorkbookDocument.Factory.parse(getPackagePart().getInputStream(), DEFAULT_XML_OPTIONS);
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:452: error: incompatible types: XmlObject cannot be converted to CTWorkbook
        workbook = CTWorkbook.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:784: error: incompatible types: XmlString cannot be converted to CTDefinedName
        CTDefinedName ctName = CTDefinedName.Factory.newInstance();
                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:1678: error: incompatible types: XmlObject cannot be converted to CTDefinedNames
            CTDefinedNames names = CTDefinedNames.Factory.newInstance();
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFShapeProperties.java>:29: error: incompatible types: XmlObject cannot be converted to CTShapeProperties
        this(CTShapeProperties.Factory.newInstance());
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:292: error: incompatible types: XmlObject cannot be converted to CTDPt
                    points.add(i, CTDPt.Factory.newInstance());
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:298: error: incompatible types: XmlObject cannot be converted to CTDPt
            points.add(CTDPt.Factory.newInstance());
                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:81: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
        pivotTableDefinition = CTPivotTableDefinition.Factory.newInstance();
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:107: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
            pivotTableDefinition = CTPivotTableDefinition.Factory.parse(is, options);
                                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:261: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:310: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:455: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:482: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:189: error: cannot find symbol
            worksheet = WorksheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS).getWorksheet();
                                                                                ^
  symbol:   method getWorksheet()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:274: error: incompatible types: XmlObject cannot be converted to CTWorksheet
        CTWorksheet worksheet = CTWorksheet.Factory.newInstance();
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1019: error: incompatible types: bad type in conditional expression
        CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr();
                                                                                                ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1079: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1085: error: incompatible types: XmlObject cannot be converted to CTSheetPr
            worksheet.setSheetPr(CTSheetPr.Factory.newInstance());
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1092: error: incompatible types: XmlObject cannot be converted to CTHeaderFooter
            worksheet.setHeaderFooter(CTHeaderFooter.Factory.newInstance());
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1559: error: incompatible types: bad type in conditional expression
                ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance();
                                                                          ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1636: error: incompatible types: XmlObject cannot be converted to CTCol
        CTCol ctCol=CTCol.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2109: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2194: error: incompatible types: XmlObject cannot be converted to CTCol
            CTCol nci = CTCol.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4671: error: incompatible types: XmlObject cannot be converted to CTOleObjects
                        CTOleObjects coos = CTOleObjects.Factory.parse(reader);
                                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:564: error: incompatible types: XmlString cannot be converted to CTCellFormula
            f = CTCellFormula.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:881: error: incompatible types: XmlObject cannot be converted to CTCell
        CTCell blank = CTCell.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:937: error: incompatible types: XmlString cannot be converted to CTCellFormula
                    CTCellFormula f =  CTCellFormula.Factory.newInstance();
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:102: error: incompatible types: XmlObject cannot be converted to SstDocument
        _sstDoc = SstDocument.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:123: error: incompatible types: XmlObject cannot be converted to SstDocument
            _sstDoc = SstDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:127: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
        doc = StyleSheetDocument.Factory.newInstance();
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:189: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
            doc = StyleSheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:619: error: incompatible types: XmlObject cannot be converted to CTNumFmts
        CTNumFmts formats = CTNumFmts.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:632: error: incompatible types: XmlObject cannot be converted to CTFonts
            ctFonts = CTFonts.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:644: error: incompatible types: XmlObject cannot be converted to CTFills
            ctFills = CTFills.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:656: error: incompatible types: XmlObject cannot be converted to CTBorders
            ctBorders = CTBorders.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:669: error: incompatible types: XmlObject cannot be converted to CTCellXfs
                ctXfs = CTCellXfs.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:682: error: incompatible types: XmlObject cannot be converted to CTCellStyleXfs
                ctSXfs = CTCellStyleXfs.Factory.newInstance();
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:695: error: incompatible types: XmlObject cannot be converted to CTDxfs
                ctDxfs = CTDxfs.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:734: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf ctXf = CTXf.Factory.newInstance();
                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:742: error: incompatible types: XmlObject cannot be converted to CTBorder
        CTBorder ctBorder = CTBorder.Factory.newInstance();
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:760: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont = CTFont.Factory.newInstance();
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:835: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf xf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:90: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:99: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:156: error: incompatible types: XmlObject cannot be converted to CTRPrElt
        CTRPrElt fmt = CTRPrElt.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:448: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont =  CTFont.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:620: error: incompatible types: XmlObject cannot be converted to CTRst
        CTRst stf = CTRst.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:48: error: incompatible types: XmlObject cannot be converted to CTExternalLink
        link = CTExternalLink.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:62: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
            ExternalLinkDocument doc = ExternalLinkDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:69: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
        ExternalLinkDocument doc = ExternalLinkDocument.Factory.newInstance();
                                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.java>:75: error: incompatible types: XmlObject cannot be converted to CTBorder
        this(CTBorder.Factory.newInstance(), null, null);
                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:108: error: incompatible types: XmlObject cannot be converted to CTXf
        _cellXf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:160: error: incompatible types: XmlObject cannot be converted to CTXf
                  _cellXf = CTXf.Factory.parse(
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:165: error: incompatible types: XmlObject cannot be converted to CTFill
                  CTFill fill = CTFill.Factory.parse(
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:171: error: incompatible types: XmlObject cannot be converted to CTBorder
                  CTBorder border = CTBorder.Factory.parse(
                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:190: error: incompatible types: XmlObject cannot be converted to CTFont
                  CTFont ctFont = CTFont.Factory.parse(
                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:750: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:860: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:895: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 29s
14 actionable tasks: 10 executed, 4 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

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

Changes:

[Marius Volkhart] Add the ability to edit HSLFPictureData contents

Pictures can now be edited by calling HSLFPictureData#setData(byte[]). The byte[] should contain the image data as an image viewer might read it.

To enable this functionality, a tighter coupling between the EscherBSERecords of the slideshow and the HSLFPictureData was required. This ensures that changes in image data size are accurately recorded in the records.

In the course of coupling the records and the HSLFPictureData, various scenarios arose where a mapping of records to pictures was non-trivial. Accordingly, the HSLFSlideShowImpl#matchPicturesAndRecords(...) function was added to perform a more sophisticated matching pass. This function is heavily exercised by org.apache.poi.hslf.usermodel.TestBugs.testFile[5] and PPTX2PNG.render[2], as well as the new TestPictures#testSlideshowWithIncorrectOffsets().

Closes #225


------------------------------------------
[...truncated 25.14 KB...]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:248: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectShape.java>:270: error: incompatible types: XmlObject cannot be converted to CTGroupShape
        CTGroupShape grpShp = CTGroupShape.Factory.newInstance();
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:134: error: incompatible types: XmlObject cannot be converted to CTChartSpace
        chartSpace = CTChartSpace.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:150: error: cannot find symbol
        chartSpace = ChartSpaceDocument.Factory.parse(part.getInputStream(), DEFAULT_XML_OPTIONS).getChartSpace();
                                                                                                 ^
  symbol:   method getChartSpace()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:218: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setPlotVisOnly(CTBoolean.Factory.newInstance());
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:225: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setFloor(CTSurface.Factory.newInstance());
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:232: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setBackWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:239: error: incompatible types: XmlObject cannot be converted to CTSurface
            getCTChart().setSideWall(CTSurface.Factory.newInstance());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:246: error: incompatible types: XmlObject cannot be converted to CTBoolean
            getCTChart().setAutoTitleDeleted(CTBoolean.Factory.newInstance());
                                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFChart.java>:118: error: incompatible types: XmlObject cannot be converted to CTGraphicalObjectFrame
        CTGraphicalObjectFrame frame = CTGraphicalObjectFrame.Factory.newInstance();
                                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:359: error: incompatible types: XmlObject cannot be converted to WorkbookDocument
            WorkbookDocument doc = WorkbookDocument.Factory.parse(getPackagePart().getInputStream(), DEFAULT_XML_OPTIONS);
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:452: error: incompatible types: XmlObject cannot be converted to CTWorkbook
        workbook = CTWorkbook.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:784: error: incompatible types: XmlString cannot be converted to CTDefinedName
        CTDefinedName ctName = CTDefinedName.Factory.newInstance();
                                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java>:1678: error: incompatible types: XmlObject cannot be converted to CTDefinedNames
            CTDefinedNames names = CTDefinedNames.Factory.newInstance();
                                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFShapeProperties.java>:29: error: incompatible types: XmlObject cannot be converted to CTShapeProperties
        this(CTShapeProperties.Factory.newInstance());
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:292: error: incompatible types: XmlObject cannot be converted to CTDPt
                    points.add(i, CTDPt.Factory.newInstance());
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java>:298: error: incompatible types: XmlObject cannot be converted to CTDPt
            points.add(CTDPt.Factory.newInstance());
                                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:81: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
        pivotTableDefinition = CTPivotTableDefinition.Factory.newInstance();
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:107: error: incompatible types: XmlObject cannot be converted to CTPivotTableDefinition
            pivotTableDefinition = CTPivotTableDefinition.Factory.parse(is, options);
                                                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:261: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:310: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:455: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPivotTable.java>:482: error: incompatible types: XmlObject cannot be converted to CTPivotField
        CTPivotField pivotField = CTPivotField.Factory.newInstance();
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:189: error: cannot find symbol
            worksheet = WorksheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS).getWorksheet();
                                                                                ^
  symbol:   method getWorksheet()
  location: interface XmlObject
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:274: error: incompatible types: XmlObject cannot be converted to CTWorksheet
        CTWorksheet worksheet = CTWorksheet.Factory.newInstance();
                                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1019: error: incompatible types: bad type in conditional expression
        CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr();
                                                                                                ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1079: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1085: error: incompatible types: XmlObject cannot be converted to CTSheetPr
            worksheet.setSheetPr(CTSheetPr.Factory.newInstance());
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1092: error: incompatible types: XmlObject cannot be converted to CTHeaderFooter
            worksheet.setHeaderFooter(CTHeaderFooter.Factory.newInstance());
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1559: error: incompatible types: bad type in conditional expression
                ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance();
                                                                          ^
    XmlObject cannot be converted to CTOutlinePr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:1636: error: incompatible types: XmlObject cannot be converted to CTCol
        CTCol ctCol=CTCol.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2109: error: incompatible types: bad type in conditional expression
                CTPageSetUpPr.Factory.newInstance() : sheetPr.getPageSetUpPr();
                                                 ^
    XmlObject cannot be converted to CTPageSetUpPr
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:2194: error: incompatible types: XmlObject cannot be converted to CTCol
            CTCol nci = CTCol.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4671: error: incompatible types: XmlObject cannot be converted to CTOleObjects
                        CTOleObjects coos = CTOleObjects.Factory.parse(reader);
                                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:564: error: incompatible types: XmlString cannot be converted to CTCellFormula
            f = CTCellFormula.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:881: error: incompatible types: XmlObject cannot be converted to CTCell
        CTCell blank = CTCell.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:937: error: incompatible types: XmlString cannot be converted to CTCellFormula
                    CTCellFormula f =  CTCellFormula.Factory.newInstance();
                                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:102: error: incompatible types: XmlObject cannot be converted to SstDocument
        _sstDoc = SstDocument.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java>:123: error: incompatible types: XmlObject cannot be converted to SstDocument
            _sstDoc = SstDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:127: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
        doc = StyleSheetDocument.Factory.newInstance();
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:189: error: incompatible types: XmlObject cannot be converted to StyleSheetDocument
            doc = StyleSheetDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:619: error: incompatible types: XmlObject cannot be converted to CTNumFmts
        CTNumFmts formats = CTNumFmts.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:632: error: incompatible types: XmlObject cannot be converted to CTFonts
            ctFonts = CTFonts.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:644: error: incompatible types: XmlObject cannot be converted to CTFills
            ctFills = CTFills.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:656: error: incompatible types: XmlObject cannot be converted to CTBorders
            ctBorders = CTBorders.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:669: error: incompatible types: XmlObject cannot be converted to CTCellXfs
                ctXfs = CTCellXfs.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:682: error: incompatible types: XmlObject cannot be converted to CTCellStyleXfs
                ctSXfs = CTCellStyleXfs.Factory.newInstance();
                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:695: error: incompatible types: XmlObject cannot be converted to CTDxfs
                ctDxfs = CTDxfs.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:734: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf ctXf = CTXf.Factory.newInstance();
                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:742: error: incompatible types: XmlObject cannot be converted to CTBorder
        CTBorder ctBorder = CTBorder.Factory.newInstance();
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:753: error: incompatible types: XmlObject cannot be converted to CTFill
        CTFill[] ctFill = new CTFill[]{CTFill.Factory.newInstance(),CTFill.Factory.newInstance()};
                                                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:760: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont = CTFont.Factory.newInstance();
                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:835: error: incompatible types: XmlObject cannot be converted to CTXf
        CTXf xf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:90: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:99: error: incompatible types: XmlObject cannot be converted to CTRst
        st = CTRst.Factory.newInstance();
                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:156: error: incompatible types: XmlObject cannot be converted to CTRPrElt
        CTRPrElt fmt = CTRPrElt.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:448: error: incompatible types: XmlObject cannot be converted to CTFont
        CTFont ctFont =  CTFont.Factory.newInstance();
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:620: error: incompatible types: XmlObject cannot be converted to CTRst
        CTRst stf = CTRst.Factory.newInstance();
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:48: error: incompatible types: XmlObject cannot be converted to CTExternalLink
        link = CTExternalLink.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:62: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
            ExternalLinkDocument doc = ExternalLinkDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ExternalLinksTable.java>:69: error: incompatible types: XmlObject cannot be converted to ExternalLinkDocument
        ExternalLinkDocument doc = ExternalLinkDocument.Factory.newInstance();
                                                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.java>:75: error: incompatible types: XmlObject cannot be converted to CTBorder
        this(CTBorder.Factory.newInstance(), null, null);
                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:108: error: incompatible types: XmlObject cannot be converted to CTXf
        _cellXf = CTXf.Factory.newInstance();
                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:160: error: incompatible types: XmlObject cannot be converted to CTXf
                  _cellXf = CTXf.Factory.parse(
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:165: error: incompatible types: XmlObject cannot be converted to CTFill
                  CTFill fill = CTFill.Factory.parse(
                                                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:171: error: incompatible types: XmlObject cannot be converted to CTBorder
                  CTBorder border = CTBorder.Factory.parse(
                                                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:190: error: incompatible types: XmlObject cannot be converted to CTFont
                  CTFont ctFont = CTFont.Factory.parse(
                                                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:750: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:860: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:895: error: incompatible types: XmlObject cannot be converted to CTColor
        XSSFColor clr = XSSFColor.from(CTColor.Factory.newInstance(), _stylesSource.getIndexedColors());
                                                                  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors

> Task :ooxml:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ooxml:compileJava'.
> 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 29s
14 actionable tasks: 11 executed, 3 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: [hidden email]
For additional commands, e-mail: [hidden email]

123