Gabriel Axel opened SPR-10848 and commented
When attempting to use a Resource implementation where getFilename() returns null, such as ByteArrayResource, as the payload for RestTemplate operations, ResourceHttpMessageConverter.ActivationMediaTypeFactory.getMediaType() calls FileTypeMap.getContentType() with null value which throws NullPointerException.
Affects: 3.2.4
Referenced from: commits a17912d, d662067