User-Interface: Control the NullPointerException when the database
connection was invalid