Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save michael-simons/1bd51e4850ce1877269165d6dd445aac to your computer and use it in GitHub Desktop.

Select an option

Save michael-simons/1bd51e4850ce1877269165d6dd445aac to your computer and use it in GitHub Desktop.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
========================================================================================================================
GraalVM Native Image: Generating 'native-tests' (executable)...
========================================================================================================================
[1/8] Initializing... (9,9s @ 0,41GB)
Java version: 25.0.2+10, vendor version: GraalVM CE 25.0.2+10.1
Graal compiler: optimization level: 2, target machine: armv8.1-a
C compiler: cc (apple, arm64, 21.0.0)
Garbage collector: Serial GC (max heap size: 80% of RAM)
2 user-specific feature(s):
- com.oracle.svm.thirdparty.gson.GsonFeature
- org.graalvm.junit.platform.JUnitPlatformFeature
------------------------------------------------------------------------------------------------------------------------
3 experimental option(s) unlocked:
- '-H:ResourceConfigurationResources' (origin(s): 'META-INF/native-image/org.neo4j/neo4j-jdbc-it/native-image.properties' in 'file:///Users/msimons/Projects/work/neo4j/neo4j-jdbc/neo4j-jdbc-it/neo4j-jdbc-it-cp/target/test-classes/', 'META-INF/native-image/org.neo4j/neo4j-jdbc/native-image.properties' in 'file:///Users/msimons/Projects/work/neo4j/neo4j-jdbc/neo4j-jdbc/target/neo4j-jdbc-6.14.2-SNAPSHOT.jar', 'META-INF/native-image/org.neo4j/neo4j-cypher-dsl/native-image.properties' in 'file:///Users/msimons/.m2/repository/org/neo4j/neo4j-cypher-dsl/2025.3.0/neo4j-cypher-dsl-2025.3.0.jar')
- '-H:SerializationConfigurationResources' (origin(s): 'META-INF/native-image/org.neo4j/neo4j-jdbc-it/native-image.properties' in 'file:///Users/msimons/Projects/work/neo4j/neo4j-jdbc/neo4j-jdbc-it/neo4j-jdbc-it-cp/target/test-classes/')
- '-H:ReflectionConfigurationResources' (origin(s): 'META-INF/native-image/org.neo4j/neo4j-jdbc/native-image.properties' in 'file:///Users/msimons/Projects/work/neo4j/neo4j-jdbc/neo4j-jdbc/target/neo4j-jdbc-6.14.2-SNAPSHOT.jar', 'META-INF/native-image/org.neo4j.driver/neo4j-jdbc-translator-spi/native-image.properties' in 'file:///Users/msimons/Projects/work/neo4j/neo4j-jdbc/neo4j-jdbc-translator/spi/target/neo4j-jdbc-translator-spi-6.14.2-SNAPSHOT.jar', 'META-INF/native-image/org.neo4j.driver/neo4j-jdbc-translator-impl/native-image.properties' in 'file:///Users/msimons/Projects/work/neo4j/neo4j-jdbc/neo4j-jdbc-translator/impl/target/neo4j-jdbc-translator-impl-6.14.2-SNAPSHOT.jar', 'META-INF/native-image/org.neo4j/neo4j-cypher-dsl/native-image.properties' in 'file:///Users/msimons/.m2/repository/org/neo4j/neo4j-cypher-dsl/2025.3.0/neo4j-cypher-dsl-2025.3.0.jar')
------------------------------------------------------------------------------------------------------------------------
Build resources:
- 22,48GB of memory (32,7% of system memory, using available memory)
- 10 thread(s) (100,0% of 10 available processor(s), determined at start)
Error: Feature defined by org.graalvm.junit.platform.JUnitPlatformFeature unexpectedly failed with a(n) java.lang.RuntimeException. Please report this problem to the authors of org.graalvm.junit.platform.JUnitPlatformFeature.
Caused by: java.lang.RuntimeException: Cannot compute test selectors from test ids.
at org.graalvm.junit.platform.JUnitPlatformFeature.getSelectors(JUnitPlatformFeature.java:138)
at org.graalvm.junit.platform.JUnitPlatformFeature.beforeAnalysis(JUnitPlatformFeature.java:102)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$0(NativeImageGenerator.java:817)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:93)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:817)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:569)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:534)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:548)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:761)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:163)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:111)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment