Avoid Ogre exceptions and null pointers.