오늘 CVS 에서 받았는데,
NotificationProcessor.procList() 메소드에 문제가 있는 듯 하네요.
참고하세요~
마지막 버디정보가 0101,0011 로 들어올 경우, isFriendReady = true 를 탈 수 없어서 루프를 빠져나갈 수 없게 되는군요.
저는 이렇게 수정했습니다.
private void procLIST(String line) throws Exception {
// TODO: 사용자 객체에 목록을 구분해서 저장하기.
String list[];
list = line.split(" ");
// list[8] = list[8].replace("%20"," ");
if (Integer.parseInt(list[2]) + 1 == Integer.parseInt(list[3]))
isFriendReady = true;
if (list[4].equals("0011") || list[4].equals("0101"))
return;
if (list[4].startsWith("1") || list[4].endsWith("1")) {
tempFriend = new NateFriend(list[4], list[5], list[6], list[7], list[8], list[9], list[10], list[11], list[12], list[13], list[14], list[15], list[16], list[17]);
friendlist.add(tempFriend);
friendMap.put(tempFriend.getNateID(), tempFriend);
friendMapUid.put(tempFriend.getUid(), tempFriend);
}
if (list[4].equals("0001"))
addME.add(tempFriend);
MsgUtil.println(friendlist.count() + "<<<" + line);
}