Program: 171965
Project: 171965
Buggy source:
public void processConversationCommandFromServer(AVIMOperation imop,String operation,int requestId,Messages.ConvCommand convCommand){
  if (ConversationControlOp.STARTED.equals(operation)) {
    this.onConversationCreated(requestId,convCommand.getCdate());
  }
 else   if (ConversationControlOp.JOINED.equals(operation)) {
    String invitedBy=convCommand.getInitBy();
    if (invitedBy.equals(session.getSelfPeerId())) {
      return;
    }
 else     if (!invitedBy.equals(session.getSelfPeerId())) {
      onInvitedToConversation(invitedBy);
    }
  }
 else   if (ConversationControlOp.REMOVED.equals(operation)) {
    if (requestId != CommandPacket.UNSUPPORTED_OPERATION) {
      if (imop.getCode() == AVIMOperation.CONVERSATION_QUIT.getCode()) {
        onQuit(requestId);
      }
 else       if (imop.getCode() == AVIMOperation.CONVERSATION_RM_MEMBER.getCode()) {
        onKicked(requestId);
      }
    }
  }
 else   if (ConversationControlOp.ADDED.equals(operation)) {
    if (requestId != CommandPacket.UNSUPPORTED_OPERATION) {
      if (imop.getCode() == AVIMOperation.CONVERSATION_JOIN.getCode()) {
        onJoined(requestId);
      }
 else       if (imop.getCode() == AVIMOperation.CONVERSATION_ADD_MEMBER.getCode()) {
        onInvited(requestId);
      }
    }
  }
 else   if (ConversationControlOp.LEFT.equals(operation)) {
    String invitedBy=convCommand.getInitBy();
    if (invitedBy != null && !invitedBy.equals(session.getSelfPeerId())) {
      this.onKickedFromConversation(invitedBy);
    }
  }
 else   if (ConversationControlOp.UPDATED.equals(operation)) {
    if (AVIMOperation.CONVERSATION_MUTE.getCode() == imop.getCode()) {
      onMuted(requestId);
    }
 else     if (AVIMOperation.CONVERSATION_UNMUTE.getCode() == imop.getCode()) {
      onUnmuted(requestId);
    }
 else     if (AVIMOperation.CONVERSATION_UPDATE.getCode() == imop.getCode()) {
      onInfoUpdated(requestId,convCommand.getUdate());
    }
  }
 else   if (ConversationControlOp.MEMBER_COUNT_QUERY_RESULT.equals(operation)) {
    int memberCount=convCommand.getCount();
    onMemberCount(memberCount,requestId);
  }
 else   if (ConversationControlOp.MAX_READ.equals(operation)) {
    long receiptTime=convCommand.getMaxAckTimestamp();
    long readTime=convCommand.getMaxReadTimestamp();
    onTimesReceipt(requestId,receiptTime,readTime);
  }
 else   if (ConversationControlOp.MEMBER_JOINED.equals(operation)) {
    String invitedBy=convCommand.getInitBy();
    List<String> joinedMembers=convCommand.getMList();
    onMembersJoined(joinedMembers,invitedBy);
  }
 else   if (ConversationControlOp.MEMBER_LEFTED.equals(operation)) {
    String removedBy=convCommand.getInitBy();
    List<String> leftMembers=convCommand.getMList();
    onMembersLeft(leftMembers,removedBy);
  }
}

Fixed version (ground truth):
public void processConversationCommandFromServer(AVIMOperation imop,String operation,int requestId,Messages.ConvCommand convCommand){
  if (ConversationControlOp.STARTED.equals(operation)) {
    onConversationCreated(requestId,convCommand.getCdate());
  }
 else   if (ConversationControlOp.JOINED.equals(operation)) {
    String invitedBy=convCommand.getInitBy();
    if (invitedBy.equals(session.getSelfPeerId())) {
      return;
    }
 else     if (!invitedBy.equals(session.getSelfPeerId())) {
      onInvitedToConversation(invitedBy);
    }
  }
 else   if (ConversationControlOp.REMOVED.equals(operation)) {
    if (requestId != CommandPacket.UNSUPPORTED_OPERATION) {
      if (imop.getCode() == AVIMOperation.CONVERSATION_QUIT.getCode()) {
        onQuit(requestId);
      }
 else       if (imop.getCode() == AVIMOperation.CONVERSATION_RM_MEMBER.getCode()) {
        onKicked(requestId);
      }
    }
  }
 else   if (ConversationControlOp.ADDED.equals(operation)) {
    if (requestId != CommandPacket.UNSUPPORTED_OPERATION) {
      if (imop.getCode() == AVIMOperation.CONVERSATION_JOIN.getCode()) {
        onJoined(requestId);
      }
 else       if (imop.getCode() == AVIMOperation.CONVERSATION_ADD_MEMBER.getCode()) {
        onInvited(requestId);
      }
    }
  }
 else   if (ConversationControlOp.LEFT.equals(operation)) {
    String invitedBy=convCommand.getInitBy();
    if (invitedBy != null && !invitedBy.equals(session.getSelfPeerId())) {
      this.onKickedFromConversation(invitedBy);
    }
  }
 else   if (ConversationControlOp.UPDATED.equals(operation)) {
    if (AVIMOperation.CONVERSATION_MUTE.getCode() == imop.getCode()) {
      onMuted(requestId);
    }
 else     if (AVIMOperation.CONVERSATION_UNMUTE.getCode() == imop.getCode()) {
      onUnmuted(requestId);
    }
 else     if (AVIMOperation.CONVERSATION_UPDATE.getCode() == imop.getCode()) {
      onInfoUpdated(requestId,convCommand.getUdate());
    }
  }
 else   if (ConversationControlOp.MEMBER_COUNT_QUERY_RESULT.equals(operation)) {
    int memberCount=convCommand.getCount();
    onMemberCount(memberCount,requestId);
  }
 else   if (ConversationControlOp.MAX_READ.equals(operation)) {
    long receiptTime=convCommand.getMaxAckTimestamp();
    long readTime=convCommand.getMaxReadTimestamp();
    onTimesReceipt(requestId,receiptTime,readTime);
  }
 else   if (ConversationControlOp.MEMBER_JOINED.equals(operation)) {
    String invitedBy=convCommand.getInitBy();
    List<String> joinedMembers=convCommand.getMList();
    onMembersJoined(joinedMembers,invitedBy);
  }
 else   if (ConversationControlOp.MEMBER_LEFTED.equals(operation)) {
    String removedBy=convCommand.getInitBy();
    List<String> leftMembers=convCommand.getMList();
    onMembersLeft(leftMembers,removedBy);
  }
}