diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthManage.java index f5c820d..a34675c 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthManage.java @@ -33,6 +33,9 @@ public class UserAuthManage { @SuppressWarnings({"rawtypes", "unchecked"}) public void refreshSession(Long userId) { UserFullInfoDTO userFullInfo = userInfoHelper.getUserFullInfo(userId); + if (userFullInfo == null) { + return; + } List sessionIds = getSessionIds(userFullInfo.getUsername()); if (sessionIds.isEmpty()) { return;