Status buddyStatus = StatusLocalServiceUtil.getUserStatus(
userId);
awake = buddyStatus.getAwake();
String statusMessage = buddyStatus.getMessage();
JSONObject curUserJSON = JSONFactoryUtil.createJSONObject();
<BUG>curUserJSON.put("userId", userId);
curUserJSON.put("fullName", fullName);</BUG>
curUserJSON.put("portraitId", portraitId);
curUserJSON.put("awake", awake);
curUserJSON.put("statusMessage", statusMessage);

Status buddyStatus = StatusLocalServiceUtil.getUserStatus(
userId);
awake = buddyStatus.getAwake();
String statusMessage = buddyStatus.getMessage();
JSONObject curUserJSON = JSONFactoryUtil.createJSONObject();
curUserJSON.put("userId", userId);
curUserJSON.put("screenName", screenName);
curUserJSON.put("fullName", fullName);
curUserJSON.put("portraitId", portraitId);
curUserJSON.put("awake", awake);
curUserJSON.put("statusMessage", statusMessage);
