I strongly agree, and i dislike headaches induced by historical programmers. So i have introduced a log.error right in the case that the connectionProvider is null. But if the connection is not null then it will remain silent.