quarkus: Camel Quarkus 2.12.0 incompatible with current main
Describe the bug
When running current main
together with Camel 2.12.0, we get:
Error: Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (build) on project kamelet: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
Error: [ERROR] [error]: Build step org.apache.camel.quarkus.core.deployment.InjectionPointsProcessor#injectedComponents threw an exception: java.lang.ClassCastException: class org.jboss.jandex.MethodParameterInfo cannot be cast to class org.jboss.jandex.Type (org.jboss.jandex.MethodParameterInfo and org.jboss.jandex.Type are in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @2448d7d3)
Error: at org.apache.camel.quarkus.core.deployment.InjectionPointsProcessor.injectedComponents(InjectionPointsProcessor.java:130)
Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error: at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Error: at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)
Error: at io.quarkus.builder.BuildContext.run(BuildContext.java:281)
Error: at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
Error: at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
Error: at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
Error: at java.base/java.lang.Thread.run(Thread.java:829)
Error: at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Last Quarkus snapshot, that does not throw this error, was made of revision https://github.com/quarkusio/quarkus/commit/06944a5269aebe5a5b4900456356f15d41242895.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
- Build Quarkus
main
. - Run quarkus-test-suite
git clone git@github.com:quarkus-qe/quarkus-test-suite.git && cd quarkus-test-suite
mvn clean verify -pl kamelet
Output of uname -a
or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (14 by maintainers)
Commits related to this issue
- Disable kamelet module https://github.com/quarkusio/quarkus/issues/28007 — committed to jsmrcka/quarkus-test-suite by jsmrcka 2 years ago
- Disable kamelet module https://github.com/quarkusio/quarkus/issues/28007 — committed to jsmrcka/quarkus-test-suite by jsmrcka 2 years ago
- Re-enable kamelet module The related issue has been resolved: https://github.com/quarkusio/quarkus/issues/28007. — committed to jsmrcka/quarkus-test-suite by jsmrcka a year ago
- Re-enable kamelet module The related issue has been resolved: https://github.com/quarkusio/quarkus/issues/28007. — committed to jsmrcka/quarkus-test-suite by jsmrcka a year ago
- Re-enable kamelet module The related issue has been resolved: https://github.com/quarkusio/quarkus/issues/28007. — committed to jsmrcka/quarkus-test-suite by jsmrcka a year ago
- Re-enable kamelet module (#1025) The related issue has been resolved: https://github.com/quarkusio/quarkus/issues/28007. — committed to quarkus-qe/quarkus-test-suite by jsmrcka a year ago
It’s already open https://github.com/quarkusio/quarkus/issues/8593
Yes, as mentioned previously, it’s not guaranteed to work.