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-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org