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

Avoid NPEs in DefaultServerRequestObservationConvention #29359

Closed
bclozel opened this issue Oct 20, 2022 · 0 comments
Closed

Avoid NPEs in DefaultServerRequestObservationConvention #29359

bclozel opened this issue Oct 20, 2022 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) theme: observability An issue related to observability and tracing type: bug A general bug
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Oct 20, 2022

In some cases, the default response status of a ServerWebExchange can be null, especially when the response is not available or the server implementation does not set a default. We should guard against those cases in the DefaultServerRequestObservationConvention.

@bclozel bclozel added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug theme: observability An issue related to observability and tracing labels Oct 20, 2022
@bclozel bclozel added this to the 6.0.0-RC2 milestone Oct 20, 2022
@bclozel bclozel self-assigned this Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) theme: observability An issue related to observability and tracing type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant