Error messages when connection==null