The getInstance() of a Singleton, by definition will never return null
. If the Singleton instance is not created yet, then it will be created and the object reference will be returned. I guess the only time you will get null
back is if the object creation failed for some reason (out of memory or some such unforeseen circumstances).