Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sebastienblanc/05a0f8cfb5fc62ef90dbb5a3a7d9ae1f to your computer and use it in GitHub Desktop.
Save sebastienblanc/05a0f8cfb5fc62ef90dbb5a3a7d9ae1f to your computer and use it in GitHub Desktop.
Error: Unsupported features in 2 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: okio.BufferedSource.getBuffer(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:411)
Call path from entry point to okhttp3.internal.connection.RealConnection.createTunnel(int, int, Request, HttpUrl):
at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:393)
at okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.java:236)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:177)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)
at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
at okhttp3.RealCall.execute(RealCall.java:81)
at io.fabric8.kubernetes.client.internal.SSLUtils.isHttpsAvailable(SSLUtils.java:69)
at io.fabric8.kubernetes.client.Config.<init>(Config.java:328)
at io.fabric8.kubernetes.client.ConfigBuilder.build(ConfigBuilder.java:159)
at io.quarkus.kubernetes.client.runtime.KubernetesClientUtils.createConfig(KubernetesClientUtils.java:43)
at io.quarkus.kubernetes.client.runtime.KubernetesClientProducer.config(KubernetesClientProducer.java:21)
at com.oracle.svm.reflect.KubernetesClientProducer_config_2d8849b4ffc7e9332a138da22c66d8d1122b469f_45.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:566)
at picocli.CommandLine$Model$UsageMessageSpec$1.run(CommandLine.java:7232)
at java.lang.Thread.run(Thread.java:834)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: okio.BufferedSource.getBuffer(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:252)
Call path from entry point to okhttp3.logging.HttpLoggingInterceptor.intercept(Interceptor$Chain):
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:148)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
at okhttp3.RealCall.execute(RealCall.java:81)
at io.fabric8.kubernetes.client.internal.SSLUtils.isHttpsAvailable(SSLUtils.java:69)
at io.fabric8.kubernetes.client.Config.<init>(Config.java:328)
at io.fabric8.kubernetes.client.ConfigBuilder.build(ConfigBuilder.java:159)
at io.quarkus.kubernetes.client.runtime.KubernetesClientUtils.createConfig(KubernetesClientUtils.java:43)
at io.quarkus.kubernetes.client.runtime.KubernetesClientProducer.config(KubernetesClientProducer.java:21)
at com.oracle.svm.reflect.KubernetesClientProducer_config_2d8849b4ffc7e9332a138da22c66d8d1122b469f_45.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:566)
at picocli.CommandLine$Model$UsageMessageSpec$1.run(CommandLine.java:7232)
at java.lang.Thread.run(Thread.java:834)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
com.oracle.svm.core.util.UserError$UserException: Unsupported features in 2 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: okio.BufferedSource.getBuffer(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:411)
Call path from entry point to okhttp3.internal.connection.RealConnection.createTunnel(int, int, Request, HttpUrl):
at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:393)
at okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.java:236)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:177)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)
at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
at okhttp3.RealCall.execute(RealCall.java:81)
at io.fabric8.kubernetes.client.internal.SSLUtils.isHttpsAvailable(SSLUtils.java:69)
at io.fabric8.kubernetes.client.Config.<init>(Config.java:328)
at io.fabric8.kubernetes.client.ConfigBuilder.build(ConfigBuilder.java:159)
at io.quarkus.kubernetes.client.runtime.KubernetesClientUtils.createConfig(KubernetesClientUtils.java:43)
at io.quarkus.kubernetes.client.runtime.KubernetesClientProducer.config(KubernetesClientProducer.java:21)
at com.oracle.svm.reflect.KubernetesClientProducer_config_2d8849b4ffc7e9332a138da22c66d8d1122b469f_45.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:566)
at picocli.CommandLine$Model$UsageMessageSpec$1.run(CommandLine.java:7232)
at java.lang.Thread.run(Thread.java:834)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: okio.BufferedSource.getBuffer(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:252)
Call path from entry point to okhttp3.logging.HttpLoggingInterceptor.intercept(Interceptor$Chain):
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:148)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
at okhttp3.RealCall.execute(RealCall.java:81)
at io.fabric8.kubernetes.client.internal.SSLUtils.isHttpsAvailable(SSLUtils.java:69)
at io.fabric8.kubernetes.client.Config.<init>(Config.java:328)
at io.fabric8.kubernetes.client.ConfigBuilder.build(ConfigBuilder.java:159)
at io.quarkus.kubernetes.client.runtime.KubernetesClientUtils.createConfig(KubernetesClientUtils.java:43)
at io.quarkus.kubernetes.client.runtime.KubernetesClientProducer.config(KubernetesClientProducer.java:21)
at com.oracle.svm.reflect.KubernetesClientProducer_config_2d8849b4ffc7e9332a138da22c66d8d1122b469f_45.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:566)
at picocli.CommandLine$Model$UsageMessageSpec$1.run(CommandLine.java:7232)
at java.lang.Thread.run(Thread.java:834)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
at com.oracle.svm.core.util.UserError.abort(UserError.java:79)
at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:217)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:765)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:555)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:468)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 2 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: okio.BufferedSource.getBuffer(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:411)
Call path from entry point to okhttp3.internal.connection.RealConnection.createTunnel(int, int, Request, HttpUrl):
at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:393)
at okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.java:236)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:177)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)
at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
at okhttp3.RealCall.execute(RealCall.java:81)
at io.fabric8.kubernetes.client.internal.SSLUtils.isHttpsAvailable(SSLUtils.java:69)
at io.fabric8.kubernetes.client.Config.<init>(Config.java:328)
at io.fabric8.kubernetes.client.ConfigBuilder.build(ConfigBuilder.java:159)
at io.quarkus.kubernetes.client.runtime.KubernetesClientUtils.createConfig(KubernetesClientUtils.java:43)
at io.quarkus.kubernetes.client.runtime.KubernetesClientProducer.config(KubernetesClientProducer.java:21)
at com.oracle.svm.reflect.KubernetesClientProducer_config_2d8849b4ffc7e9332a138da22c66d8d1122b469f_45.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:566)
at picocli.CommandLine$Model$UsageMessageSpec$1.run(CommandLine.java:7232)
at java.lang.Thread.run(Thread.java:834)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: okio.BufferedSource.getBuffer(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:252)
Call path from entry point to okhttp3.logging.HttpLoggingInterceptor.intercept(Interceptor$Chain):
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:148)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
at okhttp3.RealCall.execute(RealCall.java:81)
at io.fabric8.kubernetes.client.internal.SSLUtils.isHttpsAvailable(SSLUtils.java:69)
at io.fabric8.kubernetes.client.Config.<init>(Config.java:328)
at io.fabric8.kubernetes.client.ConfigBuilder.build(ConfigBuilder.java:159)
at io.quarkus.kubernetes.client.runtime.KubernetesClientUtils.createConfig(KubernetesClientUtils.java:43)
at io.quarkus.kubernetes.client.runtime.KubernetesClientProducer.config(KubernetesClientProducer.java:21)
at com.oracle.svm.reflect.KubernetesClientProducer_config_2d8849b4ffc7e9332a138da22c66d8d1122b469f_45.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:566)
at picocli.CommandLine$Model$UsageMessageSpec$1.run(CommandLine.java:7232)
at java.lang.Thread.run(Thread.java:834)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:762)
... 8 more
Error: Image build request failed with exit status 1
[jbang] [ERROR] Issue running postBuild()
[jbang] Run with --verbose for more details
➜ limit-request git:(master) ✗ java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment 18.9 (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.9.1+1, mixed mode, sharing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment