See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/display/redirect?page=changes>

Changes:

[PJ Fanning] avoid creating enumeration twice

[PJ Fanning] upgrade com.dorongold.task-tree

[PJ Fanning] add back gradle wrapper jar due to windows build issues

[PJ Fanning] update jobs

[PJ Fanning] update jobs

[PJ Fanning] remove gradle-wrapper jar because it is against ASF policy to ship 
jars in source releases

[PJ Fanning] remove gradle-wrapper jar because it is against ASF policy to ship 
jars in source releases

[PJ Fanning] remove gradle-wrapper jar because it is against ASF policy to ship 
jars in source releases

[Dominik Stadler] Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61162

[Dominik Stadler] Use interfaces for variables and reformat source-code

[Dominik Stadler] Use correct version for JUnit in Ant build

[PJ Fanning] gradle-8.2.1

[PJ Fanning] [bug-66827] treat VML drawing entry for a comment that has 
incorrect type of TEXT as invalid

[PJ Fanning] [bug-66827] add test case (that passes) - so issue is nor 
reproduced

[PJ Fanning] gradle hates ant 1.10.13

[Dominik Stadler] Exclude some files in one test to avoid flakiness during 
parallel builds

This test failed once locally due to a temporary file
being deleted again when the test tried to access it

[Dominik Stadler] Update Apache Ant to 1.10.13 and use newer Gradle syntax

[PJ Fanning] junit 5.10.0

[PJ Fanning] bouncycastle 1.76

[PJ Fanning] bouncycastle 1.76


------------------------------------------
[...truncated 26.28 KB...]
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/build/test-classes>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/classes/ant/java>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/test-classes>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/generated-sources>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/generated-classes>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/build/test-results>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/classes/ant/java>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/test-classes>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/test-results>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-examples/build/classes/ant/java>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-integration/build/test-classes>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-integration/build/test-results>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist>
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/site>
     [echo] Using Ant: Apache Ant(TM) version 1.10.12 compiled on October 13 
2021 from /home/jenkins/tools/ant/latest1.10, Ant detected Java 1.8 (may be 
different than actual Java sometimes...)
     [echo] Using Java: 1.8.0_261/8.0.6.15 - pxa6480sr6fp15-20200724_01(SR6 
FP15)/2.9/IBM J9 VM from IBM Corporation on Linux: 4.15.0-213-generic
     [echo] Building Apache POI version 5.2.4-SNAPSHOT and RC: , isJava8: true
     [echo] Compiling for Java 8

-version-java-check:

compile-version:
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/generated-sources/org/apache/poi>
     [copy] Copying 1 file to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/generated-sources/org/apache/poi>
    [javac] Compiling 1 source file to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java>

compile-main:
     [echo] Building classes for poi
    [javac] Compiling 1236 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>
 uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/ddf/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hssf/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/dev/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/util/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/common/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hssf/record/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/crypt/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hpsf/wellknown/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/ss/formula/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hpsf/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/property/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/filesystem/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/ss/formula/ptg/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/storage/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hssf/eventusermodel/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hssf/record/aggregates/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/ss/format/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hssf/model/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hssf/usermodel/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/hssf/util/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/classes/ant/java/org/apache/poi/poifs/eventfilesystem/package-info.class>
     [echo] Building java9+ classes for poi
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi>
     [echo] Building jar for poi, module-name: poi with isJava8: true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi/poi-5.2.4-SNAPSHOT.jar>
    [javac] Compiling 592 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/test-classes>
    [javac] Support for javac --release has been added in Java9 ignoring it
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi/build/test-classes/org/apache/poi/hssf/dev/package-info.class>
     [echo] Building test-jar for poi, module-name: poi with isJava8: true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-tests/poi-5.2.4-SNAPSHOT-tests.jar>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi/poi-5.2.4-SNAPSHOT-sources.jar>

compile-scratchpad:
     [echo] Building classes for poi-scratchpad
    [javac] Compiling 517 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-scratchpad/build/classes/ant/java>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/BytePropertyNode.java>
 uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [echo] Building java9+ classes for poi-scratchpad
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi-scratchpad>
     [echo] Building jar for poi-scratchpad, module-name: scratchpad with 
isJava8: true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-scratchpad/poi-scratchpad-5.2.4-SNAPSHOT.jar>
    [javac] Compiling 199 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-scratchpad/build/test-classes>
    [javac] Support for javac --release has been added in Java9 ignoring it
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
     [echo] Building test-jar for poi-scratchpad, module-name: scratchpad with 
isJava8: true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-scratchpad-tests/poi-scratchpad-5.2.4-SNAPSHOT-tests.jar>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-scratchpad/poi-scratchpad-5.2.4-SNAPSHOT-sources.jar>

check-compiled-ooxml-xsds:

compile-ooxml-xsds:
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/xsds>
     [copy] Copying 12 files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/xsds>
     [copy] Copying 28 resources to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/xsds>
  [xmlbean] SchemaCompiler  Metadata LOAD:org/apache/xmlbeans/metadata 
GEN:org/apache/poi/schemas/ooxml
  [xmlbean] Time to build schema type system: 2.909 seconds
  [xmlbean] Time to generate code: 6.115 seconds
    [javac] Compiling 5147 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml-full/build/classes/ant/java>
    [javac] Support for javac --release has been added in Java9 ignoring it
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi-ooxml-full>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-ooxml-full/poi-ooxml-full-5.2.4-SNAPSHOT.jar>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-ooxml-full/poi-ooxml-full-5.2.4-SNAPSHOT-sources.jar>

compile-ooxml:
     [echo] Building classes for poi-ooxml
    [javac] Compiling 643 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/build/classes/ant/java>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/build/classes/ant/java/org/apache/poi/xwpf/package-info.class>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/build/classes/ant/java/org/apache/poi/xssf/binary/package-info.class>
     [echo] Building java9+ classes for poi-ooxml
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi-ooxml>
     [echo] Building jar for poi-ooxml, module-name: ooxml with isJava8: true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-ooxml/poi-ooxml-5.2.4-SNAPSHOT.jar>
    [javac] Compiling 296 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-ooxml/build/test-classes>
    [javac] Support for javac --release has been added in Java9 ignoring it
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
     [echo] Building test-jar for poi-ooxml, module-name: ooxml with isJava8: 
true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-ooxml-tests/poi-ooxml-5.2.4-SNAPSHOT-tests.jar>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-ooxml/poi-ooxml-5.2.4-SNAPSHOT-sources.jar>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-ooxml-lite-agent/poi-ooxml-lite-agent-5.2.4-SNAPSHOT.jar>

compile-examples:
     [echo] Building classes for poi-examples
    [javac] Compiling 139 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-examples/build/classes/ant/java>
    [javac] Creating empty 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-examples/build/classes/ant/java/org/apache/poi/examples/ss/html/package-info.class>
     [echo] Building java9+ classes for poi-examples
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi-examples>
     [echo] Building jar for poi-examples, module-name: examples with isJava8: 
true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-examples/poi-examples-5.2.4-SNAPSHOT.jar>
     [echo] Building test-jar for poi-examples, module-name: examples with 
isJava8: true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-examples/poi-examples-5.2.4-SNAPSHOT-sources.jar>

compile-excelant:
     [echo] Building classes for poi-excelant
    [javac] Compiling 14 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/classes/ant/java>
     [echo] Building java9+ classes for poi-excelant
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build/dist/maven/poi-excelant>
     [echo] Building jar for poi-excelant, module-name: excelant with isJava8: 
true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-excelant/poi-excelant-5.2.4-SNAPSHOT.jar>
    [javac] Compiling 12 source files to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/test-classes>
    [javac] Support for javac --release has been added in Java9 ignoring it
     [echo] Building test-jar for poi-excelant, module-name: excelant with 
isJava8: true
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-excelant-tests/poi-excelant-5.2.4-SNAPSHOT-tests.jar>
      [jar] Building jar: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/162/artifact/build/dist/maven/poi-excelant/poi-excelant-5.2.4-SNAPSHOT-sources.jar>

compile:

jacocotask:
     [echo] Coverage reporting: true

-test-main-check:

test-main:
    [mkdir] Created dir: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/poi-ant-contrib>
    [javac] Compiling 1 source file to 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/poi-excelant/build/poi-ant-contrib>
[junitlauncher] org.junit.platform.commons.JUnitException: TestEngine with ID 
'junit-jupiter' failed to discover tests
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:160)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely(EngineDiscoveryOrchestrator.java:132)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:107)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:78)
[junitlauncher]         at 
org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:110)
[junitlauncher]         at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
[junitlauncher]         at 
org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
[junitlauncher]         at 
org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
[junitlauncher]         at 
org.apache.tools.ant.taskdefs.optional.junitlauncher.LauncherSupport.launch(LauncherSupport.java:144)
[junitlauncher]         at 
org.apache.tools.ant.taskdefs.optional.junitlauncher.StandaloneLauncher.main(StandaloneLauncher.java:114)
[junitlauncher] Caused by: org.junit.platform.commons.JUnitException: 
ClassSelector [className = 'org.apache.poi.TestJDK12'] resolution failed
[junitlauncher]         at 
org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener.selectorProcessed(AbortOnFailureLauncherDiscoveryListener.java:39)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:103)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.run(EngineDiscoveryRequestResolution.java:83)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:113)
[junitlauncher]         at 
org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.resolveSelectors(DiscoverySelectorResolver.java:46)
[junitlauncher]         at 
org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:69)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:152)
[junitlauncher]         ... 9 more
[junitlauncher] Caused by: java.lang.NoSuchMethodError: 
org/junit/platform/commons/support/ReflectionSupport.streamNestedClasses(Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
 (loaded from 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/main-tests/junit-platform-commons-1.9.3.jar>
 by sun.misc.Launcher$AppClassLoader@9b476943) called from class 
org.junit.jupiter.engine.discovery.ClassSelectorResolver (loaded from 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/main-tests/junit-jupiter-engine-5.10.0.jar>
 by sun.misc.Launcher$AppClassLoader@9b476943).
[junitlauncher]         at 
org.junit.jupiter.engine.discovery.ClassSelectorResolver.lambda$toResolution$12(ClassSelectorResolver.java:138)
[junitlauncher]         at 
org.junit.jupiter.engine.discovery.ClassSelectorResolver$$Lambda$105/00000000E8D740B0.get(Unknown
 Source)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.SelectorResolver$Match.expand(SelectorResolver.java:667)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.lambda$enqueueAdditionalSelectors$1(EngineDiscoveryRequestResolution.java:110)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution$$Lambda$109/00000000E8D75BD0.accept(Unknown
 Source)
[junitlauncher]         at 
java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:195)
[junitlauncher]         at 
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:186)
[junitlauncher]         at 
java.util.Collections$2.tryAdvance(Collections.java:4730)
[junitlauncher]         at 
java.util.Collections$2.forEachRemaining(Collections.java:4738)
[junitlauncher]         at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:524)
[junitlauncher]         at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:514)
[junitlauncher]         at 
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:162)
[junitlauncher]         at 
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:185)
[junitlauncher]         at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:245)
[junitlauncher]         at 
java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:429)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.enqueueAdditionalSelectors(EngineDiscoveryRequestResolution.java:109)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:95)
[junitlauncher]         ... 14 more
[junitlauncher] Exception in thread "main" 
org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' 
failed to discover tests
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:160)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely(EngineDiscoveryOrchestrator.java:132)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:107)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:78)
[junitlauncher]         at 
org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:110)
[junitlauncher]         at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
[junitlauncher]         at 
org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
[junitlauncher]         at 
org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
[junitlauncher]         at 
org.apache.tools.ant.taskdefs.optional.junitlauncher.LauncherSupport.launch(LauncherSupport.java:144)
[junitlauncher]         at 
org.apache.tools.ant.taskdefs.optional.junitlauncher.StandaloneLauncher.main(StandaloneLauncher.java:114)
[junitlauncher] Caused by: org.junit.platform.commons.JUnitException: 
ClassSelector [className = 'org.apache.poi.TestJDK12'] resolution failed
[junitlauncher]         at 
org.junit.platform.launcher.listeners.discovery.AbortOnFailureLauncherDiscoveryListener.selectorProcessed(AbortOnFailureLauncherDiscoveryListener.java:39)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:103)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.run(EngineDiscoveryRequestResolution.java:83)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:113)
[junitlauncher]         at 
org.junit.jupiter.engine.discovery.DiscoverySelectorResolver.resolveSelectors(DiscoverySelectorResolver.java:46)
[junitlauncher]         at 
org.junit.jupiter.engine.JupiterTestEngine.discover(JupiterTestEngine.java:69)
[junitlauncher]         at 
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:152)
[junitlauncher]         ... 9 more
[junitlauncher] Caused by: java.lang.NoSuchMethodError: 
org/junit/platform/commons/support/ReflectionSupport.streamNestedClasses(Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
 (loaded from 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/main-tests/junit-platform-commons-1.9.3.jar>
 by sun.misc.Launcher$AppClassLoader@9b476943) called from class 
org.junit.jupiter.engine.discovery.ClassSelectorResolver (loaded from 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/lib/main-tests/junit-jupiter-engine-5.10.0.jar>
 by sun.misc.Launcher$AppClassLoader@9b476943).
[junitlauncher]         at 
org.junit.jupiter.engine.discovery.ClassSelectorResolver.lambda$toResolution$12(ClassSelectorResolver.java:138)
[junitlauncher]         at 
org.junit.jupiter.engine.discovery.ClassSelectorResolver$$Lambda$105/00000000E8D740B0.get(Unknown
 Source)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.SelectorResolver$Match.expand(SelectorResolver.java:667)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.lambda$enqueueAdditionalSelectors$1(EngineDiscoveryRequestResolution.java:110)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution$$Lambda$109/00000000E8D75BD0.accept(Unknown
 Source)
[junitlauncher]         at 
java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:195)
[junitlauncher]         at 
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:186)
[junitlauncher]         at 
java.util.Collections$2.tryAdvance(Collections.java:4730)
[junitlauncher]         at 
java.util.Collections$2.forEachRemaining(Collections.java:4738)
[junitlauncher]         at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:524)
[junitlauncher]         at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:514)
[junitlauncher]         at 
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:162)
[junitlauncher]         at 
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:185)
[junitlauncher]         at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:245)
[junitlauncher]         at 
java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:429)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.enqueueAdditionalSelectors(EngineDiscoveryRequestResolution.java:109)
[junitlauncher]         at 
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:95)
[junitlauncher]         ... 14 more

BUILD FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build.xml>:1734: 
The following error occurred while executing this line:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-IBM-JDK/ws/build.xml>:1428: 
Forked test(s) failed with an exception

Total time: 2 minutes 6 seconds
Build step 'Invoke Ant' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
Archiving artifacts
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[Checks API] No suitable checks publisher found.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.

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

Reply via email to