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 2022/12/26 01:00:17 UTC

Build failed in Jenkins: POI » POI-DSL-Windows-1.8 #691

See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.8/691/display/redirect?page=changes>

Changes:

[PJ Fanning] try to fix build

[PJ Fanning] rebuild module-info.class files even if Java8 used


------------------------------------------
[...truncated 144.43 KB...]
M V EI: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.getSSTRecord() may expose internal representation by returning EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord  At EventWorkbookBuilder.java:[line 133]
M V EI2: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.processRecordInternally(Record) may expose internal representation by storing an externally mutable object into EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord  At EventWorkbookBuilder.java:[line 181]
M V EI: org.apache.poi.sl.image.ImageHeaderEMF.getBounds() may expose internal representation by returning ImageHeaderEMF.deviceBounds  At ImageHeaderEMF.java:[line 67]

> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9
> Task :poi-excelant:classes

> Task :poi:spotbugsMain
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.Offset.evaluate(ValueEval[], int, int) where one case falls through to the next case  At Offset.java:[lines 172-176]
M D SF: Switch statement found in org.apache.poi.ss.formula.atp.YearFrac.evaluate(ValueEval[], OperationEvaluationContext) where one case falls through to the next case  At YearFrac.java:[lines 71-74]
M V EI: org.apache.poi.hssf.record.FeatRecord.getCellRefs() may expose internal representation by returning FeatRecord.cellRefs  At FeatRecord.java:[line 156]
M V EI2: org.apache.poi.hssf.record.FeatRecord.setCellRefs(CellRangeAddress[]) may expose internal representation by storing an externally mutable object into FeatRecord.cellRefs  At FeatRecord.java:[line 159]
M B Nm: The class name org.apache.poi.hssf.usermodel.HeaderFooter shadows the simple name of implemented interface org.apache.poi.ss.usermodel.HeaderFooter  At HeaderFooter.java:[lines 26-310]
M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, OutputStream) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0  At BinaryRC4Encryptor.java:[line 130]
M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, DirectoryNode) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0  At BinaryRC4Encryptor.java:[line 135]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getData() may expose internal representation by returning UnknownEscherRecord.thedata  At UnknownEscherRecord.java:[line 129]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getChildRecords() may expose internal representation by returning UnknownEscherRecord._childRecords  At UnknownEscherRecord.java:[line 139]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_5_lo64  At Decimal.java:[line 38]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_2_scale  At Decimal.java:[line 35]
M P SS: Unread field: org.apache.poi.ss.formula.ptg.UnknownPtg.size; should this field be static?  At UnknownPtg.java:[line 25]
M P UrF: Unread field: org.apache.poi.hssf.usermodel.HSSFChart.chartTitleFormat  At HSSFChart.java:[line 217]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.TextJoinFunction.evaluator  At TextJoinFunction.java:[line 51]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_4_hi32  At Decimal.java:[line 37]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankIncFunction.evaluator  At PercentRankIncFunction.java:[line 51]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_1_wReserved  At Decimal.java:[line 34]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankExcFunction.evaluator  At PercentRankExcFunction.java:[line 54]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_3_sign  At Decimal.java:[line 36]
M V MS: org.apache.poi.hpsf.VariantSupport.SUPPORTED_TYPES should be package protected  At VariantSupport.java:[line 55]
M V MS: org.apache.poi.hpsf.DocumentSummaryInformation.FORMAT_ID should be package protected  At DocumentSummaryInformation.java:[line 51]
M V MS: org.apache.poi.ss.formula.eval.FunctionEval.functions should be package protected  At FunctionEval.java:[line 59]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._current_block_count; locked 71% of time  Unsynchronized access at DocumentInputStream.java:[line 287]
M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.sFmt; locked 66% of time  Unsynchronized access at CellDateFormatter.java:[line 109]
M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.amPmUpper; locked 50% of time  Unsynchronized access at CellDateFormatter.java:[line 122]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._buffer; locked 50% of time  Unsynchronized access at DocumentInputStream.java:[line 286]
M M IS: Inconsistent synchronization of org.apache.poi.hpsf.ClassIDPredefined.classId; locked 66% of time  Unsynchronized access at ClassIDPredefined.java:[line 132]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._data; locked 80% of time  Unsynchronized access at DocumentInputStream.java:[line 288]
SpotBugs ended with exit code 1

> Task :poi-examples:classes
> Task :poi-examples:jar

> Task :poi:javadoc
javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/

> Task :poi-ooxml:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFFont.java:20: warning: [deprecation] org.apache.poi.ss.usermodel.FontCharset in org.apache.poi.ss.usermodel has been deprecated
import static org.apache.poi.ss.usermodel.FontCharset.*;
                                         ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xddf\usermodel\chart\TestXDDFChartRemoveSeries.java:126: warning: [deprecation] getSeries() in org.apache.poi.xddf.usermodel.chart.XDDFChartData has been deprecated
        assertThrows(UnsupportedOperationException.class, () -> chartData.getSeries().remove(0));
                                                                         ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFSheet.java:288: warning: [deprecation] createSplitPane(int,int,int,int,int) in org.apache.poi.xssf.usermodel.XSSFSheet has been deprecated
            sheet.createSplitPane(4, 8, 12, 12, PaneInformation.PANE_LOWER_RIGHT + 1);
                 ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFWorkbook.java:1373: warning: [deprecation] getCTExternalLink() in org.apache.poi.xssf.model.ExternalLinksTable has been deprecated
                CTExternalLink link = workbook2.getExternalLinksTable().get(0).getCTExternalLink();
                                                                              ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:204: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
        assertEquals(7, run.getFontSize());
                           ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:212: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
        assertEquals(25, run.getFontSize());
                            ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:592: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:595: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:598: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:601: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE, run.getFontSize());
                                             ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:604: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
                                                 ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:607: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:610: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE, run.getFontSize());
                                               ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:613: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.8\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:661: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
15 warnings

> Task :poi:javadoc
1 warning

> Task :poi-ooxml-lite:classes
> Task :poi-ooxml-lite:jar
> Task :poi-ooxml:testClasses
> Task :poi-ooxml-lite:compileJava9
> Task :poi-ooxml:testJar
> Task :poi:javadocJar
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9
> Task :poi-excelant:cacheTest9

> Task :poi-ooxml:compileJava9 FAILED
error: the unnamed module reads package org.xml.sax from both java.xml and xml.apis
error: the unnamed module reads package org.xml.sax.helpers from both java.xml and xml.apis
error: the unnamed module reads package org.xml.sax.ext from both java.xml and xml.apis
error: the unnamed module reads package org.w3c.dom from both java.xml and xml.apis
error: the unnamed module reads package org.w3c.dom.xpath from both jdk.xml.dom and xml.apis
error: the unnamed module reads package org.w3c.dom.views from both java.xml and xml.apis
error: the unnamed module reads package org.w3c.dom.traversal from both java.xml and xml.apis
error: the unnamed module reads package org.w3c.dom.stylesheets from both jdk.xml.dom and xml.apis
error: the unnamed module reads package org.w3c.dom.ranges from both java.xml and xml.apis
error: the unnamed module reads package org.w3c.dom.ls from both java.xml and xml.apis
error: the unnamed module reads package org.w3c.dom.html from both jdk.xml.dom and xml.apis
error: the unnamed module reads package org.w3c.dom.events from both java.xml and xml.apis
error: the unnamed module reads package org.w3c.dom.css from both jdk.xml.dom and xml.apis
error: the unnamed module reads package org.w3c.dom.bootstrap from both java.xml and xml.apis
error: the unnamed module reads package javax.xml from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.xpath from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.validation from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.transform from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.transform.stream from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.transform.stax from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.transform.sax from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.transform.dom from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.stream from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.stream.util from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.stream.events from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.parsers from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.namespace from both java.xml and xml.apis
error: the unnamed module reads package javax.xml.datatype from both java.xml and xml.apis
error: module org.apache.pdfbox reads package javax.xml from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.datatype from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.namespace from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.parsers from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.stream from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.stream.events from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.stream.util from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.dom from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.sax from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.stax from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.transform.stream from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.validation from both xml.apis and java.xml
error: module org.apache.pdfbox reads package javax.xml.xpath from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.bootstrap from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.events from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.ls from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.ranges from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.traversal from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.views from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.xml.sax from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.xml.sax.ext from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.xml.sax.helpers from both xml.apis and java.xml
error: module org.apache.pdfbox reads package org.w3c.dom.css from both xml.apis and jdk.xml.dom
error: module org.apache.pdfbox reads package org.w3c.dom.html from both xml.apis and jdk.xml.dom
error: module org.apache.pdfbox reads package org.w3c.dom.stylesheets from both xml.apis and jdk.xml.dom
error: module org.apache.pdfbox reads package org.w3c.dom.xpath from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package javax.xml from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.datatype from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.namespace from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.parsers from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.stream from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.stream.events from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.stream.util from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.dom from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.sax from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.stax from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.transform.stream from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.validation from both xml.apis and java.xml
error: module xmlgraphics.commons reads package javax.xml.xpath from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.bootstrap from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.events from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.ls from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.ranges from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.traversal from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.views from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.xml.sax from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.xml.sax.ext from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.xml.sax.helpers from both xml.apis and java.xml
error: module xmlgraphics.commons reads package org.w3c.dom.css from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package org.w3c.dom.html from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package org.w3c.dom.stylesheets from both xml.apis and jdk.xml.dom
error: module xmlgraphics.commons reads package org.w3c.dom.xpath from both xml.apis and jdk.xml.dom
error: module batik.xml reads package javax.xml from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.datatype from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.namespace from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.parsers from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.stream from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.stream.events from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.stream.util from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.dom from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.sax from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.stax from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.transform.stream from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.validation from both xml.apis and java.xml
error: module batik.xml reads package javax.xml.xpath from both xml.apis and java.xml
error: module batik.xml reads package org.w3c.dom from both xml.apis and java.xml
error: module batik.xml reads package org.w3c.dom.bootstrap from both xml.apis and java.xml
100 errors

> Task :poi-integration:compileTestJava

> Task :poi-examples:javadoc
javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/
1 warning

> Task :cyclonedxBom
Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml:compileJava9'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 5 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 8m 49s
87 actionable tasks: 86 executed, 1 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?

---------------------------------------------------------------------
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-Windows-1.8 #692

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


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