You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/03/06 09:24:46 UTC

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

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

Changes:

[PJ Fanning] add DeferredGeneration sample


------------------------------------------
[...truncated 145 B...]
[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-03-06T09:24:14.406 +0000'
AU        src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java
U         src/examples/src/org/apache/poi/examples/xssf/streaming/Outlining.java
D         src/scratchpad/src/org/apache/poi/hwpf/model/EscherRecordHolder.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FSPATable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FSPA.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FileInformationBlock.java
AU        src/scratchpad/src/org/apache/poi/hwpf/model/OfficeArtContent.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PICFAndOfficeArtData.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/Picture.java
U         src/scratchpad/src/org/apache/poi/hwpf/HWPFDocument.java
U         src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureData.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFFill.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShow.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
U         src/scratchpad/src/org/apache/poi/hslf/dev/SlideShowRecordDumper.java
U         src/scratchpad/src/org/apache/poi/hslf/dev/PPTXMLDump.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/Bitmap.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/DIB.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/EMF.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/JPEG.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/Metafile.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/PICT.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/PNG.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/WMF.java
U         src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestBackground.java
U         src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java
U         src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPicture.java
U         src/scratchpad/testcases/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
U         src/java/org/apache/poi/hssf/model/InternalWorkbook.java
U         src/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java
U         src/java/org/apache/poi/hssf/record/DrawingGroupRecord.java
U         src/java/org/apache/poi/hssf/record/DrawingRecordForBiffViewer.java
U         src/java/org/apache/poi/hssf/usermodel/HSSFShape.java
U         src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java
U         src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java
U         src/java/org/apache/poi/ddf/EscherContainerRecord.java
U         src/java/org/apache/poi/ddf/EscherRecordTypes.java
U         src/java/org/apache/poi/sl/usermodel/PictureData.java
U         src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java
U         src/testcases/org/apache/poi/hssf/model/TestWorkbookRecordList.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestHSSFComment.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestText.java
AU        test-data/slideshow/ppt_with_png_encrypted.ppt
U         test-data/spreadsheet/stress.xls
U         build.gradle
U         build.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 1887250


<-- 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 1887250

At revision 1887250

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/jenkins6921040088016682839.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  15423 Mar  6 09:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 27 00:54 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165629 Mar  6 09: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 Mar  6 09:24 .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 7s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Jenkins build is back to normal : POI » POI-DSL-SonarQube-Gradle #259

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


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


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

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

Changes:

[Nick Burch] Implement CONCAT function #65185


------------------------------------------
[...truncated 22.77 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 34s
9 actionable tasks: 9 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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


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

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

Changes:

[Marius Volkhart] Change Gradle to use java-library plugin

This plugin is specifically built for libraries. The major difference to the regular java plugin is that is allows defining dependencies as part of the api or implementation. Both are used by the project at compile/runtime, but only api dependencies are made available to dependent projects.

In our current setup, this doesn't matter much. We deploy to maven central using pre-built POMs. It's more of a future-proofing, and it makes it a little bit clearer which gradle projects actually require which dependencies.

[PJ Fanning] xmlbeans 5.0.0 release


------------------------------------------
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-03-14T20:44:10.660 +0000'
U         build.gradle
U         .classpath
U         build.xml
U         maven/poi-ooxml-full.pom
U         maven/poi-ooxml-lite.pom
U         maven/poi-ooxml.pom
U         sonar/pom.xml
U         sonar/ooxml/pom.xml
U         src/multimodule/ooxml-lite/java9/module-info.class
U         src/testcases/org/apache/poi/hssf/dev/TestEFBiffViewer.java
U         src/testcases/org/apache/poi/hssf/dev/TestFormulaViewer.java
U         src/testcases/org/apache/poi/hssf/dev/TestReSave.java
U         src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java
U         src/java/org/apache/poi/poifs/filesystem/POIFSMiniStore.java
U         src/java/org/apache/poi/hpsf/CustomProperties.java
U         KEYS

<-- 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 1887650


<-- 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 1887650

At revision 1887650

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/jenkins7783916890201510514.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  14610 Mar 14 20:44 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Mar  9 22:09 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165104 Mar 14 20:44 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Mar 14 20:44 .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 167281 Mar 14 20:44 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 26 22:24 legal
drwxr-xr-x  2 jenkins jenkins   4096 Mar 14 20:44 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 Mar 14 20:44 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Feb 26 22:25 src
drwxr-xr-x  4 jenkins jenkins   4096 Mar 14 20:44 .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 7s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Marius Volkhart] Exclude batik-script dependency from OOXML artifact

We do not make use of the batik-script dependency. While this is likely to be true of a variety of the Batik dependencies, batik-script causes problems for our users who are using JPMS. See [bug-65103].

Fixes #230


------------------------------------------
[...truncated 23.43 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 23s
14 actionable tasks: 8 executed, 6 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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


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

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

Changes:

[Marius Volkhart] Specify more granular Batik dependencies

Batik-all is a strange artifact. It's POM declares dependencies on all the sub-JARs, but its JAR has all of the sub-jars repackaged. This results in multiple JARs with the same packages being added to consuming applications. This leads to problems for JPMS users. See [bug-65183].

The Ant build does not use batik-all, so the Maven and Gradle builds should not either.


------------------------------------------
[...truncated 25.45 KB...]
        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/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/usermodel/helpers/ColumnHelper.java>:51: error: incompatible types: XmlObject cannot be converted to CTCols
        CTCols newCols = CTCols.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/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/usermodel/XSSFDataValidationHelper.java>:119: error: incompatible types: XmlObject cannot be converted to CTDataValidation
		CTDataValidation newDataValidation = CTDataValidation.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/xssf/usermodel/XSSFVMLDrawing.java>:144: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.parse(
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:206: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:209: error: incompatible types: XmlObject cannot be converted to ShapelayoutDocument
        ShapelayoutDocument layDoc = ShapelayoutDocument.Factory.newInstance();
                                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:221: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:240: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.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/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/XSSFConditionalFormattingRule.java>:101: error: incompatible types: XmlObject cannot be converted to CTCfRule
        _cfRule = CTCfRule.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormattingRule.java>:122: error: incompatible types: XmlObject cannot be converted to CTDxf
            dxf = CTDxf.Factory.newInstance();
                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormatting.java>:38: error: incompatible types: XmlObject cannot be converted to CTConditionalFormatting
        _cf = CTConditionalFormatting.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:153: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:174: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:195: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:216: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:237: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:289: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:310: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:73: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor bgColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:92: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor fgColor = CTColor.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();
                                      ^
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 53s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Marius Volkhart] Disable parallel tests on Gradle again

Something is causing parallel tests to fail on CI. I haven't been able to track down what it is. The symptoms look similar to others where the cause was a test modifying the test-data directory.

The integration tests also sometimes run into OutOfMemoryErrors when I run them in parallel.


------------------------------------------
[...truncated 24.05 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 38s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Marius Volkhart] Limit which tests can run in parallel

Some tests modify global resources. Those tests cannot be run in parallel with others, as they cause problems or become flaky. Where possible, indicate to JUnit the resources in contention. Otherwise, mark the tests as needing to run in isolation.


------------------------------------------
[...truncated 24.68 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 45s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Marius Volkhart] Get Gradle GitHub Action past downloading the XMLBeans JAR


------------------------------------------
[...truncated 426 B...]
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-03-14T01:54:13.260 +0000'
U         build.gradle
U         src/java/org/apache/poi/poifs/filesystem/POIFSMiniStore.java
U         src/java/org/apache/poi/hpsf/CustomProperties.java
U         src/java/org/apache/poi/ddf/EscherChildAnchorRecord.java
U         src/java/org/apache/poi/ddf/EscherClientAnchorRecord.java
U         src/java/org/apache/poi/ddf/EscherContainerRecord.java
U         src/java/org/apache/poi/ddf/EscherRecordTypes.java
U         src/java/org/apache/poi/hssf/model/InternalWorkbook.java
U         src/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java
U         src/java/org/apache/poi/hssf/record/DrawingGroupRecord.java
U         src/java/org/apache/poi/hssf/record/DrawingRecordForBiffViewer.java
U         src/java/org/apache/poi/hssf/usermodel/HSSFShape.java
U         src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java
U         src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java
U         src/java/org/apache/poi/sl/usermodel/PictureData.java
U         src/scratchpad/src/org/apache/poi/hslf/record/PPDrawing.java
U         src/scratchpad/src/org/apache/poi/hslf/record/Record.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureData.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFFill.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShow.java
U         src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
U         src/scratchpad/src/org/apache/poi/hslf/dev/SlideShowRecordDumper.java
U         src/scratchpad/src/org/apache/poi/hslf/dev/PPTXMLDump.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/Bitmap.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/DIB.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/EMF.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/JPEG.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/Metafile.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/PICT.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/PNG.java
U         src/scratchpad/src/org/apache/poi/hslf/blip/WMF.java
D         src/scratchpad/src/org/apache/poi/hwpf/model/EscherRecordHolder.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FSPATable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FSPA.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FileInformationBlock.java
AU        src/scratchpad/src/org/apache/poi/hwpf/model/OfficeArtContent.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/PICFAndOfficeArtData.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java
U         src/scratchpad/src/org/apache/poi/hwpf/usermodel/Picture.java
U         src/scratchpad/src/org/apache/poi/hwpf/HWPFDocument.java
U         src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java
U         src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestBackground.java
U         src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java
U         src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPicture.java
U         src/scratchpad/testcases/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
U         src/integrationtest/org/apache/poi/stress/AbstractFileHandler.java
AU        src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java
U         src/examples/src/org/apache/poi/examples/xssf/streaming/Outlining.java
U         src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestHSSFComment.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
U         src/testcases/org/apache/poi/hssf/usermodel/TestText.java
U         KEYS
U         build.xml
AU        test-data/slideshow/ppt_with_png_encrypted.ppt
U         test-data/spreadsheet/stress.xls

<-- 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 1887614


<-- 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 1887614

At revision 1887614

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/jenkins8283637192950227002.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 Mar 12 01:12 ..
-rw-r--r--  1 jenkins jenkins  15462 Mar 14 01:54 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 27 01:39 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165624 Mar 14 01: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 167281 Mar 14 01:54 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 Mar 14 01: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 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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[PJ Fanning] [bug-65184] Improve performance of POFSMiniStore getBlockAt. Thanks to sits


------------------------------------------
[...truncated 8.41 KB...]
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 28 19:25 .
drwxr-xr-x 11 jenkins jenkins   4096 Mar  9 00:05 ..
drwxr-xr-x 30 jenkins jenkins   4096 Feb 28 19:25 build
-rw-r--r--  1 jenkins jenkins  15423 Mar 13 18:24 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Feb 28 19:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165624 Mar 13 18: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
drwxr-xr-x  5 jenkins jenkins   4096 Feb 28 19:25 .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 167281 Mar 13 18:24 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Feb 28 19:24 legal
drwxr-xr-x 10 jenkins jenkins   4096 Feb 28 19:25 lib
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 Mar 13 18: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
writing file <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/ooxml/../../lib/ooxml/xmlbeans-5.0.0.jar>

> 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-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
> Task :ooxml:downloadJarsToLibs UP-TO-DATE

> 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
> 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
> 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
> Task :main:testClasses
> Task :main:testJar
> Task :excelant:compileTestJava
> Task :excelant:processTestResources
> Task :excelant:testClasses
> Task :excelant:test
> Task :excelant:check
> Task :examples:jar
> Task :integrationtest:compileJava NO-SOURCE
> Task :integrationtest:processResources NO-SOURCE
> Task :integrationtest:classes UP-TO-DATE

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

> Task :ooxml:processTestResources
> Task :ooxml:testClasses
> Task :integrationtest:compileTestJava
> Task :integrationtest:processTestResources
> Task :integrationtest:testClasses
> Task :integrationtest:test
[192.465s][warning][gc,alloc] ForkJoinPool-1-worker-47: Retried waiting for GCLocker too often allocating 741593 words
[259.740s][warning][gc,alloc] ForkJoinPool-1-worker-59: Retried waiting for GCLocker too often allocating 1212 words
[263.298s][warning][gc,alloc] ForkJoinPool-1-worker-45: Retried waiting for GCLocker too often allocating 42604 words
[263.298s][warning][gc,alloc] ForkJoinPool-1-worker-63: Retried waiting for GCLocker too often allocating 256 words
[263.298s][warning][gc,alloc] ForkJoinPool-1-worker-51: Retried waiting for GCLocker too often allocating 2213 words
[264.554s][warning][gc,alloc] ForkJoinPool-1-worker-39: Retried waiting for GCLocker too often allocating 6177 words
[264.554s][warning][gc,alloc] ForkJoinPool-1-worker-41: Retried waiting for GCLocker too often allocating 2762 words
[266.058s][warning][gc,alloc] ForkJoinPool-1-worker-11: Retried waiting for GCLocker too often allocating 334 words
[266.058s][warning][gc,alloc] ForkJoinPool-1-worker-61: Retried waiting for GCLocker too often allocating 334 words
[266.058s][warning][gc,alloc] ForkJoinPool-1-worker-5: Retried waiting for GCLocker too often allocating 561 words
[266.058s][warning][gc,alloc] ForkJoinPool-1-worker-37: Retried waiting for GCLocker too often allocating 1951 words
[266.564s][warning][gc,alloc] ForkJoinPool-1-worker-13: Retried waiting for GCLocker too often allocating 433 words
[266.564s][warning][gc,alloc] ForkJoinPool-1-worker-53: Retried waiting for GCLocker too often allocating 1162 words
[267.462s][warning][gc,alloc] ForkJoinPool-1-worker-9: Retried waiting for GCLocker too often allocating 7392 words
[267.927s][warning][gc,alloc] ForkJoinPool-1-worker-31: Retried waiting for GCLocker too often allocating 5893 words
[268.421s][warning][gc,alloc] ForkJoinPool-1-worker-55: Retried waiting for GCLocker too often allocating 332 words
[268.846s][warning][gc,alloc] ForkJoinPool-1-worker-17: Retried waiting for GCLocker too often allocating 2877 words
[269.358s][warning][gc,alloc] ForkJoinPool-1-worker-3: Retried waiting for GCLocker too often allocating 5666 words
[269.358s][warning][gc,alloc] ForkJoinPool-1-worker-47: Retried waiting for GCLocker too often allocating 3710 words
[269.864s][warning][gc,alloc] ForkJoinPool-1-worker-25: Retried waiting for GCLocker too often allocating 334 words
[270.764s][warning][gc,alloc] ForkJoinPool-1-worker-49: Retried waiting for GCLocker too often allocating 4773 words
[271.266s][warning][gc,alloc] ForkJoinPool-1-worker-33: Retried waiting for GCLocker too often allocating 576 words
[272.679s][warning][gc,alloc] ForkJoinPool-1-worker-51: Retried waiting for GCLocker too often allocating 12 words
[272.679s][warning][gc,alloc] ForkJoinPool-1-worker-37: Retried waiting for GCLocker too often allocating 18 words
[275.215s][warning][gc,alloc] ForkJoinPool-1-worker-45: Retried waiting for GCLocker too often allocating 303566 words

> Task :integrationtest:check

> Task :main:test

org.apache.poi.hssf.dev.TestBiffViewer > testMain(File)[146] FAILED
    org.opentest4j.AssertionFailedError
        Caused by: org.apache.poi.util.RecordFormatException at TestBiffViewer.java:65

org.apache.poi.hssf.dev.TestBiffViewer > testMain(File)[147] FAILED
    org.opentest4j.AssertionFailedError

org.apache.poi.hssf.dev.TestBiffViewer > testMain(File)[248] FAILED
    org.opentest4j.AssertionFailedError
        Caused by: java.lang.IllegalArgumentException at TestBiffViewer.java:65

org.apache.poi.hssf.dev.TestBiffViewer > testMain(File)[266] FAILED
    org.opentest4j.AssertionFailedError
        Caused by: java.lang.IllegalArgumentException at TestBiffViewer.java:65

org.apache.poi.hssf.dev.TestReSave > testMain(File)[214] FAILED
    org.opentest4j.AssertionFailedError
        Caused by: org.apache.poi.util.RecordFormatException at TestReSave.java:74

org.apache.poi.hssf.dev.TestBiffViewer > testMain(File)[319] FAILED
    org.opentest4j.AssertionFailedError
        Caused by: java.lang.IllegalArgumentException at TestBiffViewer.java:65

org.apache.poi.hssf.dev.TestReSave > testMain(File)[304] FAILED
    org.opentest4j.AssertionFailedError

org.apache.poi.hssf.dev.TestReSave > testMain(File)[356] FAILED
    org.opentest4j.AssertionFailedError
        Caused by: org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException at TestReSave.java:74

6957 tests completed, 8 failed, 24 skipped

> Task :main:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':main:test'.
> There were failing tests. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/main/build/reports/tests/test/index.html>

* 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 7m 37s
32 actionable tasks: 30 executed, 2 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?

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


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

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

Changes:

[PJ Fanning] update key


------------------------------------------
[...truncated 23.63 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 26s
14 actionable tasks: 8 executed, 6 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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


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

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

Changes:

[Marius Volkhart] Streamline HPSF CustomProperties collection retrieval

Reduce the number of map lookups necessary to compute the return values for methods that return collections of property details. Since we maintain parity between the `props` and `dictionary` contents, when retrieving property details, we can reference the `props` directly and avoid the `dictionary` indirection.


------------------------------------------
[...truncated 24.33 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 41s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Andreas Beeker] update key for kiwiwings - downrating sha1 - see https://infra.apache.org/release-signing.html


------------------------------------------
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-03-09T22:09:12.971 +0000'
U         KEYS
U         src/scratchpad/src/org/apache/poi/hslf/record/PPDrawing.java
U         src/scratchpad/src/org/apache/poi/hslf/record/Record.java
U         src/java/org/apache/poi/ddf/EscherChildAnchorRecord.java
U         src/java/org/apache/poi/ddf/EscherClientAnchorRecord.java
U         src/integrationtest/org/apache/poi/stress/AbstractFileHandler.java
U         build.gradle
U         build.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 1887398


<-- 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 1887398

At revision 1887398

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/jenkins7541429376982868683.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  15423 Mar  9 22:09 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Mar  6 09:24 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165624 Mar  9 22:09 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 167280 Mar  9 22:09 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 Mar  9 22:09 .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 5s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Marius Volkhart] Parse PPDrawing more deterministically

The [MS-PPT] spec is very clear about what the format of the PPDrawing record must be, and parsing deterministically makes for clearer code.


------------------------------------------
[...truncated 24.88 KB...]
        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/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/usermodel/helpers/ColumnHelper.java>:51: error: incompatible types: XmlObject cannot be converted to CTCols
        CTCols newCols = CTCols.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/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/usermodel/XSSFDataValidationHelper.java>:119: error: incompatible types: XmlObject cannot be converted to CTDataValidation
		CTDataValidation newDataValidation = CTDataValidation.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/xssf/usermodel/XSSFVMLDrawing.java>:144: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.parse(
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:206: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:209: error: incompatible types: XmlObject cannot be converted to ShapelayoutDocument
        ShapelayoutDocument layDoc = ShapelayoutDocument.Factory.newInstance();
                                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:221: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:240: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.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/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/XSSFConditionalFormattingRule.java>:101: error: incompatible types: XmlObject cannot be converted to CTCfRule
        _cfRule = CTCfRule.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormattingRule.java>:122: error: incompatible types: XmlObject cannot be converted to CTDxf
            dxf = CTDxf.Factory.newInstance();
                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormatting.java>:38: error: incompatible types: XmlObject cannot be converted to CTConditionalFormatting
        _cf = CTConditionalFormatting.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:153: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:174: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:195: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:216: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:237: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:289: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:310: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:73: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor bgColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:92: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor fgColor = CTColor.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();
                                      ^
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 41s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Marius Volkhart] Additional debug logging for unknown records in HSLF

Recently, while debugging app behavior on HSLF documents, I had to dig into the OOXML that Microsoft PowerPoint places into files saved in PPT format. Having information in the logs about when records were not parsed by POI was very helpful. The hex identifier was critical in being able to quickly search the [MS-PPT] spec for what type of record it was, and the integer identifier was helpful in quickly finding the Record type in RecordTypes.java.


------------------------------------------
[...truncated 375.26 KB...]
AU        src/documentation/resources/images/POIFSClassDiagram.gif
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 1887393

At revision 1887393

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/jenkins5366587973637559691.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:45 ..
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 Mar  9 19:43 .
drwxr-xr-x  7 jenkins jenkins   4096 Mar  9 19:43 ..
-rw-r--r--  1 jenkins jenkins  15423 Mar  9 19:43 build.gradle
-rw-r--r--  1 jenkins jenkins 165624 Mar  9 19:43 build.xml
-rw-r--r--  1 jenkins jenkins   3264 Mar  9 19:43 .classpath
-rw-r--r--  1 jenkins jenkins   6325 Mar  9 19:43 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   2934 Mar  9 19:43 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Mar  9 19:43 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Mar  9 19:43 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Mar  9 19:43 .github
-rw-r--r--  1 jenkins jenkins    475 Mar  9 19:43 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Mar  9 19:43 gradle
-rwxr-xr-x  1 jenkins jenkins   5770 Mar  9 19:43 gradlew
-rw-r--r--  1 jenkins jenkins   3058 Mar  9 19:43 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Mar  9 19:43 jenkins
-rw-r--r--  1 jenkins jenkins 167284 Mar  9 19:43 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Mar  9 19:43 legal
drwxr-xr-x  2 jenkins jenkins   4096 Mar  9 19:43 maven
drwxr-xr-x  3 jenkins jenkins   4096 Mar  9 19:43 osgi
-rw-r--r--  1 jenkins jenkins   4813 Mar  9 19:43 patch.xml
-rw-r--r--  1 jenkins jenkins    426 Mar  9 19:43 .project
-rw-r--r--  1 jenkins jenkins   4278 Mar  9 19:43 README.rst
drwxr-xr-x  2 jenkins jenkins   4096 Mar  9 19:43 .settings
-rw-r--r--  1 jenkins jenkins    556 Mar  9 19:43 settings.gradle
drwxr-xr-x  9 jenkins jenkins   4096 Mar  9 19:43 sonar
drwxr-xr-x 16 jenkins jenkins   4096 Mar  9 19:43 src
drwxr-xr-x  4 jenkins jenkins   4096 Mar  9 19:43 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Mar  9 19:43 test-data
-rw-r--r--  1 jenkins jenkins    419 Mar  9 19:43 .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: 2 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.2/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
writing file <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/ooxml/../../lib/ooxml/xmlbeans-5.0.0.jar>

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: 277

* What went wrong:
A problem occurred evaluating root project 'poi'.
> <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/ooxml/../../lib/ooxml/xmlbeans-5.0.0.jar> (No such file or directory)

* 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 54s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Marius Volkhart] Cleanup documentation of EscherChildAnchorRecord and EscherClientAnchorRecord


------------------------------------------
[...truncated 24.85 KB...]
        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/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/usermodel/helpers/ColumnHelper.java>:51: error: incompatible types: XmlObject cannot be converted to CTCols
        CTCols newCols = CTCols.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/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/usermodel/XSSFDataValidationHelper.java>:119: error: incompatible types: XmlObject cannot be converted to CTDataValidation
		CTDataValidation newDataValidation = CTDataValidation.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/xssf/usermodel/XSSFVMLDrawing.java>:144: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.parse(
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:206: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:209: error: incompatible types: XmlObject cannot be converted to ShapelayoutDocument
        ShapelayoutDocument layDoc = ShapelayoutDocument.Factory.newInstance();
                                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:221: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:240: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.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/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/XSSFConditionalFormattingRule.java>:101: error: incompatible types: XmlObject cannot be converted to CTCfRule
        _cfRule = CTCfRule.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormattingRule.java>:122: error: incompatible types: XmlObject cannot be converted to CTDxf
            dxf = CTDxf.Factory.newInstance();
                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormatting.java>:38: error: incompatible types: XmlObject cannot be converted to CTConditionalFormatting
        _cf = CTConditionalFormatting.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:153: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:174: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:195: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:216: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:237: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:289: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:310: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:73: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor bgColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:92: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor fgColor = CTColor.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();
                                      ^
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 48s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Andreas Beeker] try to fix windows path issues in exception messages


------------------------------------------
[...truncated 51.49 KB...]
            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());
                                                                  ^
<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/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/XSSFFont.java>:100: error: incompatible types: XmlObject cannot be converted to CTFont
        this._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/ThemesTable.java>:72: error: incompatible types: XmlObject cannot be converted to ThemeDocument
        theme = ThemeDocument.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java>:86: error: incompatible types: XmlObject cannot be converted to ThemeDocument
           theme = ThemeDocument.Factory.parse(part.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/XSSFColor.java>:79: error: no suitable constructor found for XSSFColor(XmlObject,DefaultIndexedColorMap)
        this(CTColor.Factory.newInstance(), new DefaultIndexedColorMap());
        ^
    constructor XSSFColor.XSSFColor(CTColor,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to CTColor)
    constructor XSSFColor.XSSFColor(Color,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to Color)
    constructor XSSFColor.XSSFColor(byte[],IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to byte[])
    constructor XSSFColor.XSSFColor(IndexedColors,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to IndexedColors)
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:88: error: no suitable constructor found for XSSFColor(XmlObject,IndexedColorMap)
        this(CTColor.Factory.newInstance(), colorMap);
        ^
    constructor XSSFColor.XSSFColor(CTColor,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to CTColor)
    constructor XSSFColor.XSSFColor(Color,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to Color)
    constructor XSSFColor.XSSFColor(byte[],IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to byte[])
    constructor XSSFColor.XSSFColor(IndexedColors,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to IndexedColors)
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:119: error: no suitable constructor found for XSSFColor(XmlObject,IndexedColorMap)
        this(CTColor.Factory.newInstance(), colorMap);
        ^
    constructor XSSFColor.XSSFColor(CTColor,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to CTColor)
    constructor XSSFColor.XSSFColor(Color,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to Color)
    constructor XSSFColor.XSSFColor(byte[],IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to byte[])
    constructor XSSFColor.XSSFColor(IndexedColors,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to IndexedColors)
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:129: error: no suitable constructor found for XSSFColor(XmlObject,IndexedColorMap)
        this(CTColor.Factory.newInstance(), colorMap);
        ^
    constructor XSSFColor.XSSFColor(CTColor,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to CTColor)
    constructor XSSFColor.XSSFColor(Color,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to Color)
    constructor XSSFColor.XSSFColor(byte[],IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to byte[])
    constructor XSSFColor.XSSFColor(IndexedColors,IndexedColorMap) is not applicable
      (argument mismatch; XmlObject cannot be converted to IndexedColors)
<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();
                                                             ^
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 52s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Andreas Beeker] raise XmlBeans to 5.0.0 (nightly) also in the gradle build

[Andreas Beeker] remove old batik jar


------------------------------------------
[...truncated 28.46 KB...]
        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/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/usermodel/helpers/ColumnHelper.java>:51: error: incompatible types: XmlObject cannot be converted to CTCols
        CTCols newCols = CTCols.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/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/usermodel/XSSFDataValidationHelper.java>:119: error: incompatible types: XmlObject cannot be converted to CTDataValidation
		CTDataValidation newDataValidation = CTDataValidation.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/xssf/usermodel/XSSFVMLDrawing.java>:144: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.parse(
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:206: error: incompatible types: XmlObject cannot be converted to XmlDocument
        root = XmlDocument.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:209: error: incompatible types: XmlObject cannot be converted to ShapelayoutDocument
        ShapelayoutDocument layDoc = ShapelayoutDocument.Factory.newInstance();
                                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:221: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.Factory.newInstance();
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFVMLDrawing.java>:240: error: incompatible types: XmlObject cannot be converted to CTGroup
        CTGroup grp = CTGroup.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/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/XSSFConditionalFormattingRule.java>:101: error: incompatible types: XmlObject cannot be converted to CTCfRule
        _cfRule = CTCfRule.Factory.newInstance();
                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormattingRule.java>:122: error: incompatible types: XmlObject cannot be converted to CTDxf
            dxf = CTDxf.Factory.newInstance();
                                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFConditionalFormatting.java>:38: error: incompatible types: XmlObject cannot be converted to CTConditionalFormatting
        _cf = CTConditionalFormatting.Factory.newInstance();
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:153: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:174: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:195: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:216: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:237: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:289: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFBorderFormatting.java>:310: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor ctColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:73: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor bgColor = CTColor.Factory.newInstance();
                                                     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFPatternFormatting.java>:92: error: incompatible types: XmlObject cannot be converted to CTColor
        CTColor fgColor = CTColor.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();
                                      ^
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 1m 13s
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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

Changes:

[Andreas Beeker] Use XmlBeans 5 nightly


------------------------------------------
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 H41 (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-03-08T00:39:14.630 +0000'
U         build.xml
AU        src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java
U         src/examples/src/org/apache/poi/examples/xssf/streaming/Outlining.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FSPATable.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FSPA.java
U         src/scratchpad/src/org/apache/poi/hwpf/model/FileInformationBlock.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 1887309


<-- 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 1887309

At revision 1887309

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/jenkins4135585996875973467.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  5 jenkins jenkins   4096 Mar  3 23:33 ..
drwxr-xr-x 31 jenkins jenkins   4096 Feb 21 18:51 build
-rw-r--r--  1 jenkins jenkins  15423 Feb 28 19:54 build.gradle
-rw-r--r--  1 jenkins jenkins    172 Mar  1 00:39 build.javacheck.xml
-rw-r--r--  1 jenkins jenkins 165629 Mar  8 00: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 Mar  8 00: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
writing file <https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build/ooxml/../../lib/ooxml/xmlbeans-4.0.1.jar>

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: 277

* What went wrong:
A problem occurred evaluating root project 'poi'.
> https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/lastSuccessfulBuild/artifact/build/xmlbeans-4.0.1.jar

* 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 12s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

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