Merge pull request #3262 from Ethanlm/STORM-3631

[STORM-3631] Fix possible ClassCastException and NullPointerException caused by configs like logs.users/groups