Caching for groups and contacts

I can't figure out what's the reason why the getContacts() method in
ContactHelper returns null (see comments in the code).