Open
Description
Starting at line 127:
if (v1Request.getMultiValueHeaders() != null) {
MultiValueMapAdapter headers = new MultiValueMapAdapter(v1Request.getMultiValueHeaders());
httpRequest.setHeaders(headers);
}
populateContentAndContentType(
v1Request.getBody(),
v1Request.getMultiValueHeaders().getFirst(HttpHeaders.CONTENT_TYPE),
v1Request.isBase64Encoded(),
httpRequest
);
If v1Request.getMultiValueHeaders()
returns null, the lines the first if block is skipped. In the call to populateContentAndContentType
, getMultiValueHeaders() is referenced, resulting in a NullPointerException
Metadata
Metadata
Assignees
Labels
No labels