Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

debug: repro of GraalVM problem with arrow 17' - #3914

Closed
diegomarquezp wants to merge 5 commits into
mainfrom
repro-arrow-17-native-bug
Closed

debug: repro of GraalVM problem with arrow 17'#3914
diegomarquezp wants to merge 5 commits into
mainfrom
repro-arrow-17-native-bug

Conversation

@diegomarquezp

@diegomarquezpdiegomarquezp commented Jul 31, 2025

Copy link
Copy Markdown
Contributor

Would fix#3926

This is just a reproducer, not meant to be merged.

GOOGLE_CLOUD_PROJECT=[your-project] time mvn -ntp -Pnative test -Dagent=true -Denforcer.skip -Dcheckstyle.skip '-Dtest=com.google.cloud.bigquery.it.ITBigQueryTest#testArrowForName'

Failures (3):
JUnit Vintage:ConnectionImplTest:initializationError
ClassSource [className = 'org.junit.runner.manipulation.Filter', filePosition = null]
=> java.lang.Exception: No tests found matching Unique ID [engine:junit-vintage]/[runner:com.google.cloud.bigquery.ConnectionImplTest]/[test:testArrowForName(com.google.cloud.bigquery.ConnectionImplTest)] from org.junit.vintage.engine.descriptor.RunnerRequest@305552d6
JUnit Vintage:ITBigQueryTest:testExecuteSelectWithCredentials
MethodSource [className = 'com.google.cloud.bigquery.it.ITBigQueryTest', methodName = 'testExecuteSelectWithCredentials', methodParameterTypes = '']
=> java.lang.NullPointerException
com.google.cloud.bigquery.it.ITBigQueryTest.testExecuteSelectWithCredentials(ITBigQueryTest.java:3533)
java.base@24.0.1/java.lang.reflect.Method.invoke(Method.java:565)
java.base@24.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:328)
java.base@24.0.1/java.lang.Thread.runWith(Thread.java:1460)
java.base@24.0.1/java.lang.Thread.run(Thread.java:1447)
org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:832)
org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:808)
JUnit Vintage:ITBigQueryTest:testArrowForName
MethodSource [className = 'com.google.cloud.bigquery.it.ITBigQueryTest', methodName = 'testArrowForName', methodParameterTypes = '']
=> java.lang.ExceptionInInitializerError
java.base@24.0.1/java.lang.Class.ensureInitialized(DynamicHub.java:658)
com.google.cloud.bigquery.it.ITBigQueryTest.testArrowForName(ITBigQueryTest.java:224)
java.base@24.0.1/java.lang.reflect.Method.invoke(Method.java:565)
java.base@24.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:328)
java.base@24.0.1/java.lang.Thread.runWith(Thread.java:1460)
[...]
Caused by: java.lang.RuntimeException: Unable to instantiate Allocation Manager for org.apache.arrow.memory.netty.DefaultAllocationManagerFactory
org.apache.arrow.memory.DefaultAllocationManagerOption.getFactory(DefaultAllocationManagerOption.java:109)
org.apache.arrow.memory.DefaultAllocationManagerOption.getDefaultAllocationManagerFactory(DefaultAllocationManagerOption.java:92)
org.apache.arrow.memory.BaseAllocator$Config.getAllocationManagerFactory(BaseAllocator.java:824)
org.apache.arrow.memory.ImmutableConfig.access$801(ImmutableConfig.java:24)
org.apache.arrow.memory.ImmutableConfig$InitShim.getAllocationManagerFactory(ImmutableConfig.java:83)
[...]
Caused by: java.lang.ClassNotFoundException: org.apache.arrow.memory.netty.DefaultAllocationManagerFactory
org.graalvm.nativeimage.builder/com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:215)
org.graalvm.nativeimage.builder/com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:183)
java.base@24.0.1/java.lang.Class.forName(DynamicHub.java:1509)
java.base@24.0.1/java.lang.Class.forName(DynamicHub.java:1468)
java.base@24.0.1/java.lang.Class.forName(DynamicHub.java:1461)
[...]
Test run finished after 12 ms

@product-auto-labelproduct-auto-labelBot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/java-bigquery API. labels Jul 31, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigqueryIssues related to the googleapis/java-bigquery API.size: mPull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GraalVM] Tests running into NoClassDefFoundError for RootAllocator

2 participants

@diegomarquezp@renovate-bot