diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index 6fdac214a..0509e24c7 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -904,7 +904,8 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe @Override public void onUpUserList(JSONObject obj) { - mLiveRoomViewHolder.refreshUserList(obj); + if (obj != null && mLiveRoomViewHolder != null) + mLiveRoomViewHolder.refreshUserList(obj); } @Override