UP-3704 : Added null check to a loop when collecting grouping
information.
UP-3701 : Fixed logging issues for startup listener classes so that the logger doesn't get initialized before the webapprootkey is initialized causing logging to fail.