Skip to content

Commit

Permalink
Merge pull request #45203 from rober710/fix-npe-rest-handler
Browse files Browse the repository at this point in the history
Fix NPE in ClientResponseFilterRestHandler
  • Loading branch information
geoand authored Dec 19, 2024
2 parents d34b810 + ecd59b4 commit 00b8eb2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public ClientResponseFilterRestHandler(ClientResponseFilter filter) {
@Override
public void handle(RestClientRequestContext requestContext) throws Exception {
try {
filter.filter(requestContext.getClientRequestContext(), requestContext.getOrCreateClientResponseContext());
filter.filter(requestContext.getOrCreateClientRequestContext(),
requestContext.getOrCreateClientResponseContext());
} catch (WebApplicationException | ProcessingException x) {
throw x;
} catch (Exception x) {
Expand Down

0 comments on commit 00b8eb2

Please sign in to comment.