check the executeQuery function null