replaced the null pointers with a blank BufferedImage