Seems like the appGroupName upper case invariant can be violated here and this may be an issue since appGroupName is volatile, hinting that it may be accessed by multiple threads.  A safer way to implement this function would be,

if (appGroupName == null)
    result.appGroupName = null;
else
   result.appGroupName = appGroupName.toUpperCase();

It appears that we have several existing methods that should also be corrected this way