NullPointer Exception in GreenfootImage constructor with the new Greenfoot
By Super_Hippo, with 10 replies.
Last reply by nccb, over 9 years ago:
Super_Hippo: Thanks for pointing this out. You're right that it is a bug. I've filed it and fixed it but obviously it won't be fixed until 3.1.1. We don't currently have a timeline for that (we're focusing on a BlueJ release at the moment). As you say, in the mean time you can either change your code to not pass null, write a helper method to use instead, or roll back to 3.0.4 for the time being if this is a major issue across your code base.