Fix NPE in GroupManager migration (#1118)
This commit is contained in:
parent
054f0c2c19
commit
c3cdf387c2
@ -170,7 +170,7 @@ public class MigrationGroupManager extends SubCommand<Object> {
|
||||
}
|
||||
|
||||
String lastName = user.getLastName();
|
||||
if (Uuids.parse(lastName).isPresent()) {
|
||||
if (lastName != null && Uuids.parse(lastName).isPresent()) {
|
||||
lastName = null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user