NullPointerException error when we are adding any users to the group from the user profile.
Steps to reproduce:
1. From user profile click on My Group section.
2. Click on one group and then click on add user to group.
3. Search for any user.
4. Do not select a user and click on the Add User button.
Please see the below screenshot for reference.