Skip to content

Commit 00b8eb2

Browse files
authored
Merge pull request #45203 from rober710/fix-npe-rest-handler
Fix NPE in ClientResponseFilterRestHandler
2 parents d34b810 + ecd59b4 commit 00b8eb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/handlers/ClientResponseFilterRestHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public ClientResponseFilterRestHandler(ClientResponseFilter filter) {
1818
@Override
1919
public void handle(RestClientRequestContext requestContext) throws Exception {
2020
try {
21-
filter.filter(requestContext.getClientRequestContext(), requestContext.getOrCreateClientResponseContext());
21+
filter.filter(requestContext.getOrCreateClientRequestContext(),
22+
requestContext.getOrCreateClientResponseContext());
2223
} catch (WebApplicationException | ProcessingException x) {
2324
throw x;
2425
} catch (Exception x) {

0 commit comments

Comments
 (0)