I get the following error messages: Be sure that the ImageReaderFactory class has a getImageReader() method. The getImageReader method must return a BmpReader object when ImageTypes.BMP is passed as an argument. Be sure that the getImageReader method works correctly if null is passed to it.