Null pointer exception has been handled.