Skip to content

Conversation

@jaikiran
Copy link
Member

Fixes #9882

Both localAddress and remoteAddress of io.vertx.core.http.HttpServerRequest as per the javadoc can return null in certain cases. The commit here adds a check to make sure we don't run into NullPointerException when using these attribute values in access logging

@gastaldi gastaldi added this to the 1.6.0 - master milestone Jun 11, 2020
@gsmet gsmet merged commit d2bcc97 into quarkusio:master Jun 11, 2020
@jaikiran jaikiran deleted the qk-9882 branch June 11, 2020 08:17
@gsmet gsmet modified the milestones: 1.6.0 - master, 1.5.1.Final Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NullPointerException when quarkus.http.access-log.enabled=true

4 participants