BufferedImageHttpMessageConverter is failing in our linux server environment, because in the constructor its calling:

Code:
String[] readerMediaTypes = ImageIO.getReaderMIMETypes();
		for (String mediaType : readerMediaTypes) {
			this.readableMediaTypes.add(MediaType.parseMediaType(mediaType));
		}
....
then in MediaType.parseMedia(mediaType):

Code:
public static MediaType parseMediaType(String mediaType) {
		Assert.hasLength(mediaType, "'mediaType' must not be empty");
....
This works fine locally, but the list that is returned on the server has a blank first entry, then the rest of the mime types. Seems like since this is a possibility, the default behavior should just be to skip adding that entry, rather than making the whole process go down in flames