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

Report error about unsupported features when update to quarkus 2.5.0.CR1 and graalvm 21.3.0 java 17 with mysql dependence #21366

Closed
yuhaibohotmail opened this issue Nov 11, 2021 · 0 comments · Fixed by #21637
Labels
env/windows Impacts Windows machines kind/bug Something isn't working
Milestone

Comments

@yuhaibohotmail
Copy link

yuhaibohotmail commented Nov 11, 2021

Describe the bug

It work fine with graalvm 21.3.0 java 11.

[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Uber JAR strategy is used for native image source JAR generation on Windows. This is done for the time being to work around a current GraalVM limitation on Windows concerning the maximum command length (see https://github.com/oracle/graal/issues/2387).
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building fat jar: C:\tt\code-with-quarkus\target\code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar\code-with-quarkus-1.0.0-SNAPSHOT-runner.jar
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [com.fasterxml.jackson.module:jackson-module-jaxb-annotations::jar:2.12.5[paths: C:\Users\yuhai\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.12.5\jackson-module-jaxb-annotations-2.12.5.jar;], com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider::jar:2.12.5[paths: C:\Users\yuhai\.m2\repository\com\fasterxml\jackson\jaxrs\jackson-jaxrs-json-provider\2.12.5\jackson-jaxrs-json-provider-2.12.5.jar;], com.fasterxml.jackson.jaxrs:jackson-jaxrs-base::jar:2.12.5[paths: C:\Users\yuhai\.m2\repository\com\fasterxml\jackson\jaxrs\jackson-jaxrs-base\2.12.5\jackson-jaxrs-base-2.12.5.jar;]] contain duplicate files, e.g. META-INF/versions/11/module-info.class
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from C:\tt\code-with-quarkus\target\code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar\code-with-quarkus-1.0.0-SNAPSHOT-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM 21.3.0 Java 17 CE (Java Version 17.0.1+12-jvmci-21.3-b05)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] C:\tools\graalvm-ce-java17-21.3.0\bin\native-image.cmd -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dcom.mysql.cj.disableAbandonedConnectionCleanup=true -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=zh -J-Duser.country=CN -J-Dfile.encoding=UTF-8 -H:-ParseOnce -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:+AddAllCharsets -H:EnableURLProtocols=http -H:-UseServiceLoaderFeature -H:+StackTrace code-with-quarkus-1.0.0-SNAPSHOT-runner -jar code-with-quarkus-1.0.0-SNAPSHOT-runner.jar
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]    classlist:   4,410.17 ms,  0.96 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]        (cap):   2,428.26 ms,  0.96 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]        setup:   4,934.84 ms,  0.96 GB
The bundle named: messages, has not been found. If the bundle is part of a module, verify the bundle name is a fully qualified class name. Otherwise verify the bundle path is accessible in the classpath.
20:40:10,145 INFO  [org.jbo.threads] JBoss Threads version 3.4.2.Final
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]     (clinit):   1,142.41 ms,  4.82 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]   (typeflow):   7,893.05 ms,  4.82 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]    (objects):  54,477.35 ms,  4.82 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]   (features):  10,428.61 ms,  4.82 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]     analysis:  77,680.70 ms,  4.82 GB
Error: Unsupported features in 8 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName(CompleteGarbageCollectorMXBean.java:81)
Call path from entry point to com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName():
        at com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName(CompleteGarbageCollectorMXBean.java:81)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName(IncrementalGarbageCollectorMXBean.java:81)
Call path from entry point to com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName():
        at com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName(IncrementalGarbageCollectorMXBean.java:81)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName(AbstractMemoryMXBean.java:66)
Call path from entry point to com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName():
        at com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName(AbstractMemoryMXBean.java:66)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName(SubstrateClassLoadingMXBean.java:47)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName(SubstrateClassLoadingMXBean.java:47)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName(SubstrateCompilationMXBean.java:47)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName(SubstrateCompilationMXBean.java:47)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName(SubstrateOperatingSystemMXBean.java:50)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName(SubstrateOperatingSystemMXBean.java:50)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName(SubstrateRuntimeMXBean.java:78)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName(SubstrateRuntimeMXBean.java:78)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName(SubstrateThreadMXBean.java:87)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName(SubstrateThreadMXBean.java:87)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)

com.oracle.svm.core.util.UserError$UserException: Unsupported features in 8 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName(CompleteGarbageCollectorMXBean.java:81)
Call path from entry point to com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName():
        at com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName(CompleteGarbageCollectorMXBean.java:81)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName(IncrementalGarbageCollectorMXBean.java:81)
Call path from entry point to com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName():
        at com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName(IncrementalGarbageCollectorMXBean.java:81)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName(AbstractMemoryMXBean.java:66)
Call path from entry point to com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName():
        at com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName(AbstractMemoryMXBean.java:66)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName(SubstrateClassLoadingMXBean.java:47)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName(SubstrateClassLoadingMXBean.java:47)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName(SubstrateCompilationMXBean.java:47)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName(SubstrateCompilationMXBean.java:47)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName(SubstrateOperatingSystemMXBean.java:50)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName(SubstrateOperatingSystemMXBean.java:50)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName(SubstrateRuntimeMXBean.java:78)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName(SubstrateRuntimeMXBean.java:78)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName(SubstrateThreadMXBean.java:87)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName(SubstrateThreadMXBean.java:87)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)

        at com.oracle.svm.core.util.UserError.abort(UserError.java:87)
        at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:233)
        at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:759)
        at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:529)
        at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:488)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:569)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:122)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:599)
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 8 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName(CompleteGarbageCollectorMXBean.java:81)
Call path from entry point to com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName():
        at com.oracle.svm.core.genscavenge.CompleteGarbageCollectorMXBean.getObjectName(CompleteGarbageCollectorMXBean.java:81)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName(IncrementalGarbageCollectorMXBean.java:81)
Call path from entry point to com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName():
        at com.oracle.svm.core.genscavenge.IncrementalGarbageCollectorMXBean.getObjectName(IncrementalGarbageCollectorMXBean.java:81)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName(AbstractMemoryMXBean.java:66)
Call path from entry point to com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName():
        at com.oracle.svm.core.heap.AbstractMemoryMXBean.getObjectName(AbstractMemoryMXBean.java:66)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName(SubstrateClassLoadingMXBean.java:47)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName(SubstrateClassLoadingMXBean.java:47)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName(SubstrateCompilationMXBean.java:47)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateCompilationMXBean.getObjectName(SubstrateCompilationMXBean.java:47)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName(SubstrateOperatingSystemMXBean.java:50)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateOperatingSystemMXBean.getObjectName(SubstrateOperatingSystemMXBean.java:50)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName(SubstrateRuntimeMXBean.java:78)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateRuntimeMXBean.getObjectName(SubstrateRuntimeMXBean.java:78)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: sun.management.Util. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace:
        at parsing com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName(SubstrateThreadMXBean.java:87)
Call path from entry point to com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName():
        at com.oracle.svm.core.jdk.management.SubstrateThreadMXBean.getObjectName(SubstrateThreadMXBean.java:87)
        at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267)
        at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259)
        at com.oracle.svm.core.jdk.management.Target_java_lang_management_ManagementFactory.getPlatformMBeanServer(Target_java_lang_management_ManagementFactory.java:45)
        at com.mysql.cj.jdbc.jmx.LoadBalanceConnectionGroupManager.registerJmx(LoadBalanceConnectionGroupManager.java:54)
        at com.mysql.cj.jdbc.ConnectionGroupManager.registerJmx(ConnectionGroupManager.java:63)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.<init>(LoadBalancedConnectionProxy.java:151)
        at com.mysql.cj.jdbc.ha.LoadBalancedConnectionProxy.createProxyInstance(LoadBalancedConnectionProxy.java:120)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.initializeSourceConnection(ReplicationConnectionProxy.java:443)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.switchToSourceConnection(ReplicationConnectionProxy.java:469)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.setReadOnly(ReplicationConnectionProxy.java:811)
        at com.mysql.cj.jdbc.ha.ReplicationConnectionProxy.invokeMore(ReplicationConnectionProxy.java:343)
        at com.mysql.cj.jdbc.ha.MultiHostConnectionProxy.invoke(MultiHostConnectionProxy.java:513)
        at jdk.proxy4.$Proxy212.toString(Unknown Source)
        at java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:453)
        at sun.security.mscapi.CKeyStore.storeWithUniqueAlias(CKeyStore.java:740)
        at sun.security.mscapi.CKeyStore.generateCertificateChain(CKeyStore.java:763)
        at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_CKeyStore_generateCertificateChain_a7beb479ce84f729bab72de2f2e3ec9060cc9e13(generated:0)

        at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
        at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:756)
        ... 6 more
[code-with-quarkus-1.0.0-SNAPSHOT-runner:16248]      [total]:  87,685.93 ms,  4.82 GB
# Printing build artifacts to: C:\tt\code-with-quarkus\target\code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar\code-with-quarkus-1.0.0-SNAPSHOT-runner.build_artifacts.txt
Error: Image build request failed with exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:56 min
[INFO] Finished at: 2021-11-11T20:41:06+08:00
[INFO] ------------------------------------------------------------------------

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

Windows 10 or Linux localhost.localdomain 3.10.0-1062.4.1.el7.x86_64 #1 SMP Fri Oct 18 17:15:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment GraalVM CE 21.3.0 (build 17.0.1+12-jvmci-21.3-b05) OpenJDK 64-Bit Serv

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.5.0.CR1

Build tool (ie. output of mvnw --version or gradlew --version)

3.8.2

Additional information

No response

@yuhaibohotmail yuhaibohotmail added the kind/bug Something isn't working label Nov 11, 2021
@quarkus-bot quarkus-bot bot added env/windows Impacts Windows machines triage/needs-triage labels Nov 11, 2021
@yuhaibohotmail yuhaibohotmail changed the title Report error about unsupported features when update to quarkus 2.5.0.CR1 and graalvm 21.3.0 java 17 Report error about unsupported features when update to quarkus 2.5.0.CR1 and graalvm 21.3.0 java 17 with mysql dependence Nov 11, 2021
geoand added a commit to geoand/quarkus that referenced this issue Nov 23, 2021
geoand added a commit to geoand/quarkus that referenced this issue Nov 23, 2021
geoand added a commit to geoand/quarkus that referenced this issue Nov 23, 2021
geoand added a commit that referenced this issue Nov 23, 2021
Make quarkus-jdbc-mysql work properly in native mode for Java 17
@quarkus-bot quarkus-bot bot added this to the 2.6 - main milestone Nov 23, 2021
@gsmet gsmet modified the milestones: 2.6 - main, 2.5.1.Final Nov 24, 2021
gsmet pushed a commit to gsmet/quarkus that referenced this issue Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env/windows Impacts Windows machines kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants