-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 reports a NoSuchMethod hiding the real cause when it fails to start #45676
Comments
I'll have a look at this later |
There is a very simple fix, I have a PR ready. Now it might need more thinking from @radcortez but I'm not sure it's worth it as I wonder if this might go away with the switch to |
This should fix the immediate issue: #45677 and is backportable. I will let @radcortez comment as to if something more is needed in this area or if we can let this code die slowly :). |
Yes, let it die :) |
/cc @Sanne (core), @aloubyansky (core), @stuartwdouglas (core) |
Fixes quarkusio#45676 (cherry picked from commit 6adfaff)
Fixes quarkusio#45676 (cherry picked from commit 6adfaff)
Describe the bug
Quarkus reports a NoSuchMethod hiding the real cause when it fails to start.
This only happens when using this in the config:
I am not sure why it doesn't happen when there is no initial error.
It is causes by:
https://github.com/quarkusio/quarkus/blob/main/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/FilterConfig.java#L37
(public java.util.OptionalInt io.quarkus.vertx.http.runtime.FilterConfig.order)
Expected behavior
Should show the real issue
Actual behavior
Show the wrong issue
How to Reproduce?
quarkus dev on:
https://github.com/ia3andy/reproducer-nsm.git
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.17.7
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: