See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/101/display/redirect?page=changes>
Changes: [PJ Fanning] build issue ------------------------------------------ [...truncated 9.54 KB...] Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/build.javacheck.xml> Detected Java version: 11 in: /usr/local/asfpackages/java/oraclejdk-11.0.11 Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/> Build sequence for target(s) `test' is [test] Complete build sequence is [test, ] test: parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [echo] Java 11/11.0.11 [exec] Current OS is Linux [exec] Executing 'javac' with arguments: [exec] '-version' [exec] [exec] The ' characters around the executable and arguments are [exec] not part of the command. [exec] javac 11.0.11 BUILD SUCCESSFUL Total time: 1 second + exit 0 [POI-DSL-1.11] $ /bin/sh -xe /tmp/jenkins4099690384978894012.sh + touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml [Gradle] - Launching build. [POI-DSL-1.11] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/gradlew> clean jenkins To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon. Daemon will be stopped at the end of the build > Configure project : Trying to override old definition of datatype junit > Task :clean > Task :poi:clean > Task :poi-examples:clean > Task :poi-excelant:clean UP-TO-DATE > Task :poi-integration:clean UP-TO-DATE > Task :poi-ooxml:clean > Task :poi-ooxml-full:clean > Task :poi-ooxml-lite:clean UP-TO-DATE > Task :poi-ooxml-lite-agent:clean UP-TO-DATE > Task :poi-scratchpad:clean > Task :poi:generateVersionJava > Task :poi:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(cellType); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:131: warning: [unchecked] unchecked cast m.putAll((Map<String,Supplier<?>>)baseMap); ^ required: Map<String,Supplier<?>> found: Object <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated public final void setCellType(CellType cellType) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/ss/format/CellNumberFormatter.java>:726: warning: [unchecked] Possible heap pollution from parameterized vararg type List<Special> private static boolean hasChar(char ch, List<Special>... numSpecials) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated byte[] remainder = ris.readAllContinuedRemainder(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated byte[] data = in.readAllContinuedRemainder(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated _lastDrawingRecord.processContinueRecord(contRec.getData()); ^ 7 warnings > Task :poi:compileJava9 > Task :poi:cacheJava9 > Task :poi:processResources > Task :poi:classes > Task :poi:jar > Task :poi-ooxml:fixBatik > Task :poi-ooxml-full:copy_xsds > Task :poi-ooxml-full:generate_beans > Task :poi-ooxml-full:compileJava > Task :poi-ooxml-full:compileJava9 > Task :poi-ooxml-full:cacheJava9 > Task :poi-ooxml-full:processResources NO-SOURCE > Task :poi-ooxml-full:classes > Task :poi-ooxml-full:sourceJar > Task :poi-ooxml-full:jar > Task :poi-ooxml:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:171: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated XSSFName nm = _uBook.getNameAt(i); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:215: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated int nameIdx = _uBook.getNameIndex(nameName); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:286: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated XSSFName xname = _uBook.getNameAt(idx); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:341: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated return _uBook.getNameAt(namePtg.getIndex()).getNameName(); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:346: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated return new Name(_uBook.getNameAt(ix), ix, this); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(cellType); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:202: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext public Iterator getPrefixes(String val) { ^ return type requires unchecked conversion from Iterator to Iterator<String> <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/services/RelationshipTransformService.java>:102: warning: [deprecation] Provider(String,double,String) in Provider has been deprecated super(NAME, 1d, NAME); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SheetDataWriter.java>:187: warning: [deprecation] finalize() in Object has been deprecated protected void finalize() throws Throwable { ^ 9 warnings > Task :poi-ooxml:compileJava9 > Task :poi-ooxml:cacheJava9 > Task :poi-ooxml:processResources > Task :poi-ooxml:classes > Task :poi-ooxml:jar > Task :poi-scratchpad:compileJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFOldDocument.java>:133: warning: [deprecation] OldSectionTable(byte[],int,int,int,TextPieceTable) in OldSectionTable has been deprecated _st = new OldSectionTable( ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked method invocation: constructor <init> in class PropertyNode is applied to given types super(other); ^ required: PropertyNode<T> found: BytePropertyNode where T is a type-variable: T extends PropertyNode<T> declared in class PropertyNode <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>:35: warning: [unchecked] unchecked conversion super(other); ^ required: PropertyNode<T> found: BytePropertyNode where T is a type-variable: T extends PropertyNode<T> declared in class PropertyNode <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Table.java>:89: warning: [deprecation] TYPE_TABLE in Range has been deprecated return TYPE_TABLE; ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Section.java>:238: warning: [deprecation] TYPE_SECTION in Range has been deprecated return TYPE_SECTION; ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:208: warning: [deprecation] getCharacterStyle(int) in StyleSheet has been deprecated CharacterProperties base = _styleSheet.getCharacterStyle( styleIndex ); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java>:226: warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated ParagraphProperties base = _styleSheet.getParagraphStyle( styleIndex ); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/ListFormatOverrideLevel.java>:44: warning: [deprecation] ListLevel(byte[],int) in ListLevel has been deprecated _lvl = new ListLevel( buf, offset ); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java>:315: warning: [deprecation] PicturesTable(HWPFDocument,byte[],byte[],FSPATable,OfficeArtContent) in PicturesTable has been deprecated _pictures = new PicturesTable(this, _dataStream, _mainStream, _fspaMain, officeArtContent); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SinglentonTextPiece.java>:39: warning: [deprecation] characterLength() in TextPiece has been deprecated public int characterLength() ^ 10 warnings > Task :poi-scratchpad:compileJava9 > Task :poi-scratchpad:cacheJava9 > Task :poi-scratchpad:processResources > Task :poi-scratchpad:classes > Task :poi-scratchpad:jar > Task :poi-examples:compileJava > Task :poi-examples:compileJava9 > Task :poi-examples:cacheJava9 > Task :poi-examples:processResources NO-SOURCE > Task :poi-examples:classes > Task :poi-examples:jar > Task :poi:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/ss/util/TestSheetUtil.java>:212: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:277: warning: [deprecation] setCellType(CellType) in Cell has been deprecated scell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java>:287: warning: [deprecation] setCellType(CellType) in Cell has been deprecated IllegalStateException e = assertThrows(IllegalStateException.class, () -> mcell.setCellType(CellType.NUMERIC)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:385: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:389: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:391: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:394: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:398: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:399: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:400: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.ERROR); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:401: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:403: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestBugs.java>:2362: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:89: warning: [deprecation] getCode() in CellType has been deprecated assertEquals(CellType.ERROR.getCode(), record.getCachedResultType()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:89: warning: [deprecation] getCachedResultType() in FormulaRecord has been deprecated assertEquals(CellType.ERROR.getCode(), record.getCachedResultType()); ^ 15 warnings > Task :poi:compileTest9 FAILED <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.11/ws/poi/src/test/java9/module-info.java>:109: error: module not found: org.apiguardian.api requires org.apiguardian.api; ^ 1 error FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi:compileTest9'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 4m 40 actionable tasks: 36 executed, 4 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-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org