Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't Build Native Image when having quarkus-couchbase dependency #22

Open
hassanelferga opened this issue Aug 10, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@hassanelferga
Copy link

When we added quarkus-couchbase to our quarkus application and tried to build a native image, we got an error due to reflection.
We have included the following properties
quarkus.native.additional-build-args="--initialize-at-run-time=com.couchbase.client,com.couchbase.client.core.deps.io.netty.channel.kqueue.KQueueEventArray,com.couchbase.client.core.deps.io.netty.channel.kqueue.KQueueEventLoop,com.couchbase.client.core.deps.io.netty.channel.kqueue.Native,com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine,com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator,com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine,com.couchbase.client.core.deps.io.netty.util.internal.logging.Log4JLogger,com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator,com.couchbase.client.core.deps.io.netty.handler.ssl.JettyAlpnSslEngine$ServerEngine,com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpObjectEncoder,com.couchbase.client.core.io.netty.SslHandlerFactory,com.couchbase.client.core.deps.io.netty,com.couchbase.client,\ -H:ResourceConfigurationFiles=resource-config.json,\ -H:ReflectionConfigurationFiles=reflect-config.json,\ -H:ReflectionConfigurationFiles=jni-config.json"
which we imported from quarkus-couchbase.
We tried the follwoing command
./mvnw package -Pnative "-Dquarkus.native.container-build=true" but we always get this error
`[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM 22.1.0 Java 17 CE (Java Version 17.0.3+7-jvmci-22.1-b06)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm -v /c/Users/Hassan Ibrahim/Downloads/quarkus-reactive/quarkus-reactive/target/quarkus-reactive-1.0.0-SNAPSHOT-native-image-source-jar:/project:z --name build-native-fNssC quay.io/quarkus/ubi-quarkus-native-image:22.1-java17 -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=3 -J-Duser.language=en -J-Duser.country=GB -J-Dfile.encoding=UTF-8 --features=io.quarkus.runner.Feature,io.quarkus.runtime.graal.ResourcesFeature,io.quarkus.runtime.graal.DisableLoggingFeature -H:-ParseOnce -J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED -J--add-opens=java.base/java.text=ALL-UNNAMED "--initialize-at-run-time=com.couchbase.client com.couchbase.client.core.deps.io.netty.channel.kqueue.KQueueEventArray com.couchbase.client.core.deps.io.netty.channel.kqueue.KQueueEventLoop com.couchbase.client.core.deps.io.netty.channel.kqueue.Native com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine com.couchbase.client.core.deps.io.netty.util.internal.logging.Log4JLogger com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator com.couchbase.client.core.deps.io.netty.handler.ssl.JettyAlpnSslEngine$ServerEngine com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpObjectEncoder com.couchbase.client.core.io.netty.SslHandlerFactory com.couchbase.client.core.deps.io.netty com.couchbase.client -H:ResourceConfigurationFiles=resource-config.json -H:ReflectionConfigurationFiles=reflect-config.json -H:ReflectionConfigurationFiles=jni-config.json" -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -J-Djava.awt.headless=true -H:FallbackThreshold=0 --link-at-build-time -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http -H:-UseServiceLoaderFeature -H:+StackTrace quarkus-reactive-1.0.0-SNAPSHOT-runner -jar quarkus-reactive-1.0.0-SNAPSHOT-runner.jar
Warning: Using a deprecated option --allow-incomplete-classpath from 'META-INF/native-image/native-image.properties' in 'file:///project/lib/com.couchbase.quarkus-couchbase-1.0.0-alpha.1.jar'. Allowing an incomplete classpath is now the default. Use --link-at-build-time to report linking errors at image build time for a class or package.

GraalVM Native Image: Generating 'quarkus-reactive-1.0.0-SNAPSHOT-runner' (executable)...

Warning: Could not resolve org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints for reflection configuration. Reason: java.lang.ClassNotFoundException: org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints.
Warning: Could not resolve org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints for reflection configuration. Reason: java.lang.ClassNotFoundException: org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints.
Warning: Could not resolve org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints for reflection configuration. Reason: java.lang.ClassNotFoundException: org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints.
Warning: Could not resolve org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints for reflection configuration. Reason: java.lang.ClassNotFoundException: org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints.
Warning: Could not resolve org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints for reflection configuration. Reason: java.lang.ClassNotFoundException: org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints.
Warning: Could not resolve org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints for reflection configuration. Reason: java.lang.ClassNotFoundException: org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints.
Warning: Could not resolve org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints for reflection configuration. Reason: java.lang.ClassNotFoundException: org.graalvm.nativebridge.jni.JNIExceptionWrapperEntryPoints.
Warning: Could not resolve ch.qos.logback.classic.encoder.PatternLayoutEncoder for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.encoder.PatternLayoutEncoder.
Warning: Could not resolve ch.qos.logback.classic.pattern.DateConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.DateConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LevelConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LevelConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LineSeparatorConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LineSeparatorConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LoggerConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LoggerConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.MessageConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.MessageConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.ThreadConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.ThreadConverter.
Warning: Could not resolve ch.qos.logback.core.ConsoleAppender for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.core.ConsoleAppender.
Warning: Could not resolve org.acme.getting.started.Main for reflection configuration. Reason: java.lang.ClassNotFoundException: org.acme.getting.started.Main.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.FilterConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.FilterConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletContextConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletContextConfigSource.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueConsumerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueConsumerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerLimitField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerLimitField.
Warning: Could not resolve ch.qos.logback.classic.encoder.PatternLayoutEncoder for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.encoder.PatternLayoutEncoder.
Warning: Could not resolve ch.qos.logback.classic.pattern.DateConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.DateConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LevelConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LevelConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LineSeparatorConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LineSeparatorConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LoggerConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LoggerConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.MessageConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.MessageConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.ThreadConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.ThreadConverter.
Warning: Could not resolve ch.qos.logback.core.ConsoleAppender for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.core.ConsoleAppender.
Warning: Could not resolve org.acme.getting.started.Main for reflection configuration. Reason: java.lang.ClassNotFoundException: org.acme.getting.started.Main.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.FilterConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.FilterConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletContextConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletContextConfigSource.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueConsumerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueConsumerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerLimitField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerLimitField.
Warning: Could not resolve ch.qos.logback.classic.encoder.PatternLayoutEncoder for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.encoder.PatternLayoutEncoder.
Warning: Could not resolve ch.qos.logback.classic.pattern.DateConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.DateConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LevelConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LevelConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LineSeparatorConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LineSeparatorConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LoggerConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LoggerConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.MessageConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.MessageConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.ThreadConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.ThreadConverter.
Warning: Could not resolve ch.qos.logback.core.ConsoleAppender for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.core.ConsoleAppender.
Warning: Could not resolve org.acme.getting.started.Main for reflection configuration. Reason: java.lang.ClassNotFoundException: org.acme.getting.started.Main.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.FilterConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.FilterConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletContextConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletContextConfigSource.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueConsumerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueConsumerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerLimitField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerLimitField.
Warning: Could not resolve ch.qos.logback.classic.encoder.PatternLayoutEncoder for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.encoder.PatternLayoutEncoder.
Warning: Could not resolve ch.qos.logback.classic.pattern.DateConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.DateConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LevelConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LevelConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LineSeparatorConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LineSeparatorConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LoggerConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LoggerConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.MessageConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.MessageConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.ThreadConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.ThreadConverter.
Warning: Could not resolve ch.qos.logback.core.ConsoleAppender for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.core.ConsoleAppender.
Warning: Could not resolve org.acme.getting.started.Main for reflection configuration. Reason: java.lang.ClassNotFoundException: org.acme.getting.started.Main.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.FilterConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.FilterConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletContextConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletContextConfigSource.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueConsumerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueConsumerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerLimitField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerLimitField.
Warning: Could not resolve ch.qos.logback.classic.encoder.PatternLayoutEncoder for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.encoder.PatternLayoutEncoder.
Warning: Could not resolve ch.qos.logback.classic.pattern.DateConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.DateConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LevelConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LevelConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LineSeparatorConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LineSeparatorConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LoggerConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LoggerConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.MessageConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.MessageConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.ThreadConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.ThreadConverter.
Warning: Could not resolve ch.qos.logback.core.ConsoleAppender for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.core.ConsoleAppender.
Warning: Could not resolve org.acme.getting.started.Main for reflection configuration. Reason: java.lang.ClassNotFoundException: org.acme.getting.started.Main.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.FilterConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.FilterConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletContextConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletContextConfigSource.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueConsumerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueConsumerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerLimitField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerLimitField.
Warning: Could not resolve ch.qos.logback.classic.encoder.PatternLayoutEncoder for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.encoder.PatternLayoutEncoder.
Warning: Could not resolve ch.qos.logback.classic.pattern.DateConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.DateConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LevelConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LevelConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LineSeparatorConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LineSeparatorConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LoggerConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LoggerConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.MessageConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.MessageConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.ThreadConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.ThreadConverter.
Warning: Could not resolve ch.qos.logback.core.ConsoleAppender for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.core.ConsoleAppender.
Warning: Could not resolve org.acme.getting.started.Main for reflection configuration. Reason: java.lang.ClassNotFoundException: org.acme.getting.started.Main.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.FilterConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.FilterConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletContextConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletContextConfigSource.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueConsumerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueConsumerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerLimitField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerLimitField.
Warning: Could not resolve ch.qos.logback.classic.encoder.PatternLayoutEncoder for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.encoder.PatternLayoutEncoder.
Warning: Could not resolve ch.qos.logback.classic.pattern.DateConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.DateConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LevelConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LevelConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LineSeparatorConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LineSeparatorConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.LoggerConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.LoggerConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.MessageConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.MessageConverter.
Warning: Could not resolve ch.qos.logback.classic.pattern.ThreadConverter for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.pattern.ThreadConverter.
Warning: Could not resolve ch.qos.logback.core.ConsoleAppender for reflection configuration. Reason: java.lang.ClassNotFoundException: ch.qos.logback.core.ConsoleAppender.
Warning: Could not resolve org.acme.getting.started.Main for reflection configuration. Reason: java.lang.ClassNotFoundException: org.acme.getting.started.Main.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.FilterConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.FilterConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletConfigSource.
Warning: Could not resolve org.jboss.resteasy.microprofile.config.ServletContextConfigSource for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jboss.resteasy.microprofile.config.ServletContextConfigSource.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueConsumerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueConsumerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerIndexField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerIndexField.
Warning: Could not resolve org.jctools.queues.MpscArrayQueueProducerLimitField for reflection configuration. Reason: java.lang.ClassNotFoundException: org.jctools.queues.MpscArrayQueueProducerLimitField.
[1/7] Initializing... (14.9s @ 0.22GB)
Version info: 'GraalVM 22.1.0 Java 17 CE'
C compiler: gcc (redhat, x86_64, 8.5.0)
Garbage collector: Serial GC
3 user-provided feature(s)

  • io.quarkus.runner.Feature
  • io.quarkus.runtime.graal.DisableLoggingFeature
  • io.quarkus.runtime.graal.ResourcesFeature
    [2/7] Performing analysis... [**********] (113.8s @ 1.53GB)
    14,953 (90.91%) of 16,449 classes reachable
    23,272 (55.52%) of 41,916 fields reachable
    80,548 (58.04%) of 138,790 methods reachable
    645 classes, 330 fields, and 3,210 methods registered for reflection
    78 classes, 85 fields, and 62 methods registered for JNI access

Error: Unsupported features in 5 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.calculateOutNetBufSize(int, int). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler.java:279)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler, ByteBufAllocator, int, int):
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler.java:278)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.allocateOutNetBuf(SslHandler.java:2173)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:823)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.access$1600(SslHandler.java:171)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.resumeOnEventExecutor(SslHandler.java:1629)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.access$2000(SslHandler.java:1548)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner$1.run(SslHandler.java:1702)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.newServerEngine(javax.net.ssl.SSLEngine, com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator, com.couchbase.client.core.deps.io.netty.handler.ssl.JdkApplicationProtocolNegotiator). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(JdkAlpnApplicationProtocolNegotiator.java:134)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(SSLEngine, ByteBufAllocator, JdkApplicationProtocolNegotiator, boolean):
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(JdkAlpnApplicationProtocolNegotiator.java:133)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:351)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:326)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1014)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1006)
at com.couchbase.client.core.io.netty.SslHandlerFactory.get(SslHandlerFactory.java:69)
at com.couchbase.client.core.endpoint.BaseEndpoint$1.initChannel(BaseEndpoint.java:311)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:78)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:166)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.access$000(AbstractChannelHandlerContext.java:61)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext$1.run(AbstractChannelHandlerContext.java:157)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.unwrap(java.nio.ByteBuffer[], java.nio.ByteBuffer[]). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler.java:261)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler, ByteBuf, int, ByteBuf):
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler.java:252)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1338)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.unwrapNonAppData(SslHandler.java:1322)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.access$1700(SslHandler.java:171)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.resumeOnEventExecutor(SslHandler.java:1650)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.access$2000(SslHandler.java:1548)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner$1.run(SslHandler.java:1702)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine.(javax.net.ssl.SSLEngine, com.couchbase.client.core.deps.io.netty.handler.ssl.JdkApplicationProtocolNegotiator, boolean). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(JdkNpnApplicationProtocolNegotiator.java:38)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(SSLEngine, JdkApplicationProtocolNegotiator, boolean):
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(JdkNpnApplicationProtocolNegotiator.java:38)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:353)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:326)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1014)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1006)
at com.couchbase.client.core.io.netty.SslHandlerFactory.get(SslHandlerFactory.java:69)
at com.couchbase.client.core.endpoint.BaseEndpoint$1.initChannel(BaseEndpoint.java:311)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:78)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:166)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.access$000(AbstractChannelHandlerContext.java:61)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext$1.run(AbstractChannelHandlerContext.java:157)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine.isAvailable(). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.(JdkNpnApplicationProtocolNegotiator.java:29)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.():
no path found from entry point to target method

com.oracle.svm.core.util.UserError$UserException: Unsupported features in 5 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.calculateOutNetBufSize(int, int). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler.java:279)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler, ByteBufAllocator, int, int):
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler.java:278)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.allocateOutNetBuf(SslHandler.java:2173)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:823)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.access$1600(SslHandler.java:171)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.resumeOnEventExecutor(SslHandler.java:1629)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.access$2000(SslHandler.java:1548)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner$1.run(SslHandler.java:1702)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.newServerEngine(javax.net.ssl.SSLEngine, com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator, com.couchbase.client.core.deps.io.netty.handler.ssl.JdkApplicationProtocolNegotiator). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(JdkAlpnApplicationProtocolNegotiator.java:134)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(SSLEngine, ByteBufAllocator, JdkApplicationProtocolNegotiator, boolean):
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(JdkAlpnApplicationProtocolNegotiator.java:133)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:351)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:326)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1014)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1006)
at com.couchbase.client.core.io.netty.SslHandlerFactory.get(SslHandlerFactory.java:69)
at com.couchbase.client.core.endpoint.BaseEndpoint$1.initChannel(BaseEndpoint.java:311)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:78)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:166)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.access$000(AbstractChannelHandlerContext.java:61)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext$1.run(AbstractChannelHandlerContext.java:157)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.unwrap(java.nio.ByteBuffer[], java.nio.ByteBuffer[]). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler.java:261)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler, ByteBuf, int, ByteBuf):
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler.java:252)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1338)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.unwrapNonAppData(SslHandler.java:1322)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.access$1700(SslHandler.java:171)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.resumeOnEventExecutor(SslHandler.java:1650)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.access$2000(SslHandler.java:1548)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner$1.run(SslHandler.java:1702)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine.(javax.net.ssl.SSLEngine, com.couchbase.client.core.deps.io.netty.handler.ssl.JdkApplicationProtocolNegotiator, boolean). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(JdkNpnApplicationProtocolNegotiator.java:38)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(SSLEngine, JdkApplicationProtocolNegotiator, boolean):
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(JdkNpnApplicationProtocolNegotiator.java:38)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:353)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:326)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1014)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1006)
at com.couchbase.client.core.io.netty.SslHandlerFactory.get(SslHandlerFactory.java:69)
at com.couchbase.client.core.endpoint.BaseEndpoint$1.initChannel(BaseEndpoint.java:311)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:78)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:166)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.access$000(AbstractChannelHandlerContext.java:61)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext$1.run(AbstractChannelHandlerContext.java:157)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine.isAvailable(). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.(JdkNpnApplicationProtocolNegotiator.java:29)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.():
no path found from entry point to target method

    at com.oracle.svm.core.util.UserError.abort(UserError.java:84)
    at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:249)
    at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:754)
    at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:558)
    at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:515)
    at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:407)
    at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:585)
    at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)
    at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:615)

Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 5 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.calculateOutNetBufSize(int, int). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler.java:279)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler, ByteBufAllocator, int, int):
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.allocateWrapBuffer(SslHandler.java:278)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.allocateOutNetBuf(SslHandler.java:2173)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:823)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.access$1600(SslHandler.java:171)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.resumeOnEventExecutor(SslHandler.java:1629)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.access$2000(SslHandler.java:1548)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner$1.run(SslHandler.java:1702)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.newServerEngine(javax.net.ssl.SSLEngine, com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator, com.couchbase.client.core.deps.io.netty.handler.ssl.JdkApplicationProtocolNegotiator). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(JdkAlpnApplicationProtocolNegotiator.java:134)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(SSLEngine, ByteBufAllocator, JdkApplicationProtocolNegotiator, boolean):
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(JdkAlpnApplicationProtocolNegotiator.java:133)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:351)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:326)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1014)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1006)
at com.couchbase.client.core.io.netty.SslHandlerFactory.get(SslHandlerFactory.java:69)
at com.couchbase.client.core.endpoint.BaseEndpoint$1.initChannel(BaseEndpoint.java:311)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:78)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:166)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.access$000(AbstractChannelHandlerContext.java:61)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext$1.run(AbstractChannelHandlerContext.java:157)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.ConscryptAlpnSslEngine.unwrap(java.nio.ByteBuffer[], java.nio.ByteBuffer[]). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler.java:261)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler, ByteBuf, int, ByteBuf):
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslEngineType$2.unwrap(SslHandler.java:252)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1338)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.unwrapNonAppData(SslHandler.java:1322)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler.access$1700(SslHandler.java:171)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.resumeOnEventExecutor(SslHandler.java:1650)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner.access$2000(SslHandler.java:1548)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslHandler$SslTasksRunner$1.run(SslHandler.java:1702)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine.(javax.net.ssl.SSLEngine, com.couchbase.client.core.deps.io.netty.handler.ssl.JdkApplicationProtocolNegotiator, boolean). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(JdkNpnApplicationProtocolNegotiator.java:38)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(SSLEngine, JdkApplicationProtocolNegotiator, boolean):
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.wrapSslEngine(JdkNpnApplicationProtocolNegotiator.java:38)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:353)
at com.couchbase.client.core.deps.io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:326)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1014)
at com.couchbase.client.core.deps.io.netty.handler.ssl.SslContext.newHandler(SslContext.java:1006)
at com.couchbase.client.core.io.netty.SslHandlerFactory.get(SslHandlerFactory.java:69)
at com.couchbase.client.core.endpoint.BaseEndpoint$1.initChannel(BaseEndpoint.java:311)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
at com.couchbase.client.core.deps.io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:78)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:166)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext.access$000(AbstractChannelHandlerContext.java:61)
at com.couchbase.client.core.deps.io.netty.channel.AbstractChannelHandlerContext$1.run(AbstractChannelHandlerContext.java:157)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
at com.oracle.svm.core.code.IsolateEnterStub.PosixPlatformThreads_pthreadStartRoutine_38d96cbc1a188a6051c29be1299afe681d67942e(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: com.couchbase.client.core.deps.io.netty.handler.ssl.JettyNpnSslEngine.isAvailable(). This error is reported at image build time because class com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1 is registered for linking at image build time by command line
Trace:
at parsing com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.(JdkNpnApplicationProtocolNegotiator.java:29)
Call path from entry point to com.couchbase.client.core.deps.io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator$1.():
no path found from entry point to target method

    at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
    at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:751)
    ... 6 more

                    11.5s (8.7% of total time) in 29 GCs | Peak RSS: 3.71GB | CPU load: 6.02

========================================================================================================================
Failed generating 'quarkus-reactive-1.0.0-SNAPSHOT-runner' after 2m 9s.
Error: Image build request failed with exit status 1`

are we missing something

@programmatix
Copy link
Contributor

Hi @hassanelferga. No you're not missing anything, unfortunately currently we do not have native-image support with this alpha-level release. There is ongoing discussion on quarkusio/quarkus#26206 where we are working with Quarkus to try and resolve this.

@amoscatelli
Copy link

@programmatix hi there !
do you need help ?

We are trying to integrate couchbase with Quarkus JNoSQL and it would be great to leverage on this extension.

@programmatix
Copy link
Contributor

Hi @amoscatelli, thank you for the offer. Funny you should message as we literally picked this work up again this week, with the intent of spending a time-boxed period on it and seeing if progress can be made. So, I can't provide any promises at this time, but it is something we're actively working on, and I can say that we have got past some of the original hurdles. Watch this space...

@amoscatelli
Copy link

amoscatelli commented Jul 20, 2023

@programmatix so what are you going to do ? Translate the reflect.json file into Processor code ?

@amoscatelli
Copy link

@quarkiverse/quarkiverse-couchbase any news about this ?

@raycardillo
Copy link
Contributor

raycardillo commented Sep 26, 2024

@amoscatelli @hassanelferga Can you please test again with the recently published beta2 version? We have spent a bunch of time resolving issues similar to this and support native images now, so we expect this problem to be resolved at this point.

@raycardillo raycardillo added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants