Added debugging messages for object getters returning null objects