-
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
NullPointerException for request with empty Host header #36234
Comments
This is a bug in Vert.x. We would need to fix it there. |
I've opened eclipse-vertx/vert.x#4879. |
@cescoffier thanks! |
I would need a reproducer. |
Ok, I was able to reproduce it. |
Fixed upstream - it will be fixed once we update Vert.x |
@cescoffier I am using Quarkus 3.6.0 and still having the same problem. Looking into the dependency-tree shows that vertx 4.4.6 used. |
Describe the bug
The request without the
Host
header does work in Quarkus 3.3.1 but not in 3.4.1Fails with 500 and NullPointerException in log (enabled level ALL)
Vert.x io.vertx.core.net.impl.HostAndPortImpl does not allow an empty Host header anymore and throws
NullPointerException
Would it be possible to intercept the request and set a dummy host header to make vert.x happy?
Currently,
ContainerRequestFilter
is not invoked on that failureExpected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.4.1
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: