Added null String checks to ErrorHandler.

Added null error message check to ErrorDialog3.