Catching NullPointerExceptions is something unusual. What is the source of the NPE? Couldn't it be handled otherwise?