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

[Quarkus 1.6] Unsupported type MethodAccessorGenerator on Consul #1273

Closed
galderz opened this issue May 29, 2020 · 4 comments
Closed

[Quarkus 1.6] Unsupported type MethodAccessorGenerator on Consul #1273

galderz opened this issue May 29, 2020 · 4 comments
Assignees
Milestone

Comments

@galderz
Copy link
Contributor

galderz commented May 29, 2020

  • OpenJDK 11u (latest)
  • Graal 20.1
  • Quarkus master and Camel Quarkus quarkus-master

Consul testsuite failing with:

Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported type jdk.internal.reflect.MethodAccessorGenerator is reachable
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Detailed message:
Trace:
	at parsing java.base@11.0.9-internal/jdk.internal.reflect.ReflectionFactory.generateConstructor(ReflectionFactory.java:513)
Call path from entry point to jdk.internal.reflect.ReflectionFactory.generateConstructor(Class, Constructor):
	at java.base@11.0.9-internal/jdk.internal.reflect.ReflectionFactory.generateConstructor(ReflectionFactory.java:513)
	at java.base@11.0.9-internal/jdk.internal.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:506)
	at java.base@11.0.9-internal/java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1531)
	at java.base@11.0.9-internal/java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:509)
	at java.base@11.0.9-internal/java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:484)
	at app//com.oracle.svm.core.jdk.Target_java_security_AccessController.doPrivileged(SecuritySubstitutions.java:83)
	at platform/jdk.crypto.cryptoki@11.0.9-internal/sun.security.pkcs11.SunPKCS11.initToken(SunPKCS11.java:1028)
	at platform/jdk.crypto.cryptoki@11.0.9-internal/sun.security.pkcs11.SunPKCS11$TokenPoller.run(SunPKCS11.java:852)
	at java.base@11.0.9-internal/java.lang.Thread.run(Thread.java:834)
	at app//com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
	at app//com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)

This is another case of quarkusio/quarkus#9633 and similar ones. I have a PR for this issue which cuts off path only for Kafka. I'm going to experiment with a cut off that's shared by everyone which should stop all these issues.

@galderz
Copy link
Contributor Author

galderz commented May 29, 2020

Please assign to moi.

@galderz
Copy link
Contributor Author

galderz commented May 29, 2020

PR sent to quarkus core to avoid this issue.

@ppalaga
Copy link
Contributor

ppalaga commented Jun 3, 2020

@galderz so there is nothing to do on Camel Quarkus side, we just need wait for the next Quarkus release, right?

@galderz
Copy link
Contributor Author

galderz commented Jun 5, 2020

Yep, this issue should be gone now for all Quarkus dependant projects/tests.

@galderz galderz closed this as completed Jun 5, 2020
@ppalaga ppalaga changed the title Unsupported type MethodAccessorGenerator on Consul [Quarkus 1.6] Unsupported type MethodAccessorGenerator on Consul Jun 5, 2020
@ppalaga ppalaga added this to the 1.0.0-CR3 milestone Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants