Missing some cases for null exceptions.