Graalvm native executable couchbase client not working

When working with graalvm native couchbase java client not working ? How to fix it ?

Thanks

what errors do you get?

Warning: RecomputeFieldValue.ArrayIndexScale automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.arrayIndexScale(Class) was detected in the static initializer of com.couchbase.client.deps.io.netty.util.internal.PlatformDependent0. Detailed failure reason(s): The field java.lang.Long.value, where the value produced by the array index scale computation is stored, is not static.
Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.couchbase.client.deps.io.netty.util.internal.PlatformDependent0. Add a RecomputeFieldValue.FieldOffset manual substitution for com.couchbase.client.deps.io.netty.util.internal.PlatformDependent0.ADDRESS_FIELD_OFFSET. Detailed failure reason(s): The argument of Unsafe.objectFieldOffset(Field) is not a constant field.

It is waiting for opening bucket.

Sdk 3.0.0 version also not working.

Error: Class initialization of com.couchbase.client.core.deps.io.netty.channel.kqueue.Native failed. Use the option --initialize-at-run-time=com.couchbase.client.core.deps.io.netty.channel.kqueue.Native to explicitly request delayed initialization of this class

Hi,

We are also interested in this topic; we have a web appl using the Java client 2.x and we are thinking to go with Quarkus and compile it as a native image. Are there any plans to make the Java client ready to be AOT compiled ?

Thank you & Best regards.

We are also planning to move to quarkus. Any tentative timeline on this?
We are using SDK 3.x

We do not have a tentative timeline on this to share yet, but we hear you! It is definitely on the priority list of things to get done for the Java SDK in the near term.