The create methods on org.springframework.web.client.HttpClientErrorException seems to be missing a Nullable annotation on the byte[] body parameter which is causing NullAway to generate an error when passing a null value.

The body parameter on HttpClientErrorException's constructor is Nullable which is why I believe the create methods should have a byte @Nullable [] body parameter also.

I am using 7.0.0-M8. The current code on the main branch is the same an in M8.

Comment From: sdeleuze

Good catch, we probably also need to ensure nullability consistency across the various exceptions defined there.

Comment From: edwardsre

@sdeleuze Thank you