Skip to content
Snippets Groups Projects
Verified Commit 7eae32e0 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

BUG: NullPointerException in MySQLListUsers.java

parent 06cebb33
No related branches found
No related tags found
2 merge requests!117Release 0.12.2,!116F null pointer list users
Pipeline #47032 passed
......@@ -54,7 +54,7 @@ public class MySQLListUsers extends MySQLTransaction implements ListUsersImpl {
user.realm = rs.getString("realm");
user.email = rs.getString("email");
user.entity = rs.getString("entity");
if (user.entity.isBlank() || user.entity.equals("0")) {
if (user.entity == null || user.entity.isBlank() || user.entity.equals("0")) {
user.entity = null;
}
user.status = UserStatus.valueOf(rs.getString("status"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment