Program: 46230
Project: 46230
Buggy source:
@Override public void handleMessage(Message message){
  logger.fine("String_Node_Str");
  if (message instanceof GetVoiceBridgeResponseMessage) {
    GetVoiceBridgeResponseMessage msg=(GetVoiceBridgeResponseMessage)message;
    logger.warning("String_Node_Str" + msg.getBridgeInfo());
    SoftphoneControlImpl sc=SoftphoneControlImpl.getInstance();
    String tokens[]=msg.getBridgeInfo().split("String_Node_Str");
    String registrarAddress=tokens[5] + "String_Node_Str";
    registrarAddress+=tokens[7];
    String localAddress=null;
    try {
      InetAddress ia=NetworkAddress.getPrivateLocalAddress("String_Node_Str" + tokens[5] + "String_Node_Str"+ tokens[7]+ "String_Node_Str");
      localAddress=ia.getHostAddress();
    }
 catch (    UnknownHostException e) {
      logger.warning(e.getMessage());
      logger.warning("String_Node_Str" + "String_Node_Str");
      try {
        InetAddress ia=NetworkAddress.getPrivateLocalAddress("String_Node_Str" + tokens[2] + "String_Node_Str"+ tokens[4]+ "String_Node_Str");
        localAddress=ia.getHostAddress();
      }
 catch (      UnknownHostException ee) {
        logger.warning(ee.getMessage());
      }
    }
    if (localAddress != null) {
      try {
        String sipURL=sc.startSoftphone(presenceInfo.userID.getUsername(),registrarAddress,10,localAddress,AudioQuality.VPN);
        logger.fine("String_Node_Str" + presenceInfo);
        session.send(this,new PlaceCallMessage(presenceInfo,sipURL,0.,0.,0.,90.,false));
      }
 catch (      IOException e) {
        logger.warning(e.getMessage());
      }
    }
 else {
      logger.warning("String_Node_Str");
      connectSoftphone();
    }
  }
 else   if (message instanceof VoiceChatJoinRequestMessage) {
    VoiceChatJoinRequestMessage msg=(VoiceChatJoinRequestMessage)message;
    VoiceChatDialog voiceChatDialog=VoiceChatDialog.getVoiceChatDialog(msg.getGroup());
    if (voiceChatDialog == null) {
      try {
        voiceChatDialog=new VoiceChatDialog(this,cell.getCellID(),session,msg.getCaller());
      }
 catch (      IOException e) {
        logger.warning("String_Node_Str" + e.getMessage());
        return;
      }
    }
    voiceChatDialog.requestToJoin(msg.getGroup(),msg.getCaller(),msg.getCalleeList(),msg.getChatType());
  }
 else   if (message instanceof VoiceChatBusyMessage) {
    VoiceChatBusyMessage msg=(VoiceChatBusyMessage)message;
    new VoiceChatBusyDialog(msg.getGroup(),msg.getCallee());
  }
 else   if (message instanceof VoiceChatInfoResponseMessage) {
    VoiceChatInfoResponseMessage msg=(VoiceChatInfoResponseMessage)message;
    VoiceChatDialog voiceChatDialog=VoiceChatDialog.getVoiceChatDialog(msg.getGroup());
    if (voiceChatDialog == null) {
      logger.warning("String_Node_Str" + msg.getGroup());
    }
 else {
      voiceChatDialog.setChatters(msg.getChatters());
    }
  }
 else   if (message instanceof SpeakingMessage) {
    SpeakingMessage msg=(SpeakingMessage)message;
    PresenceInfo info=pm.getPresenceInfo(msg.getCallID());
    if (info == null) {
      logger.warning("String_Node_Str" + msg.getCallID());
      return;
    }
    pm.setSpeaking(info,msg.isSpeaking());
    if (userListJFrame != null) {
      userListJFrame.setUserList();
    }
    AvatarNameEvent avatarNameEvent;
    if (msg.isSpeaking()) {
      avatarNameEvent=new AvatarNameEvent(EventType.STARTED_SPEAKING,info.userID.getUsername(),info.usernameAlias);
    }
 else {
      avatarNameEvent=new AvatarNameEvent(EventType.STOPPED_SPEAKING,info.userID.getUsername(),info.usernameAlias);
    }
    InputManager.inputManager().postEvent(avatarNameEvent);
  }
 else   if (message instanceof MuteCallMessage) {
    MuteCallMessage msg=(MuteCallMessage)message;
    PresenceInfo info=pm.getPresenceInfo(msg.getCallID());
    if (info == null) {
      logger.warning("String_Node_Str" + msg.getCallID());
      return;
    }
    pm.setMute(info,msg.isMuted());
    if (userListJFrame != null) {
      userListJFrame.setUserList();
    }
    AvatarNameEvent avatarNameEvent;
    if (msg.isMuted()) {
      avatarNameEvent=new AvatarNameEvent(EventType.MUTE,info.userID.getUsername(),info.usernameAlias);
    }
 else {
      avatarNameEvent=new AvatarNameEvent(EventType.UNMUTE,info.userID.getUsername(),info.usernameAlias);
    }
    InputManager.inputManager().postEvent(avatarNameEvent);
  }
 else   if (message instanceof ConeOfSilenceEnterExitMessage) {
    ConeOfSilenceEnterExitMessage msg=(ConeOfSilenceEnterExitMessage)message;
    pm.setEnteredConeOfSilence(presenceInfo,msg.entered());
    AvatarNameEvent avatarNameEvent;
    if (msg.entered()) {
      avatarNameEvent=new AvatarNameEvent(EventType.ENTERED_CONE_OF_SILENCE,presenceInfo.userID.getUsername(),presenceInfo.usernameAlias);
    }
 else {
      avatarNameEvent=new AvatarNameEvent(EventType.EXITED_CONE_OF_SILENCE,presenceInfo.userID.getUsername(),presenceInfo.usernameAlias);
    }
    InputManager.inputManager().postEvent(avatarNameEvent);
  }
 else {
    throw new UnsupportedOperationException("String_Node_Str");
  }
}

Fixed version (ground truth):
@Override public void handleMessage(Message message){
  logger.fine("String_Node_Str");
  if (message instanceof GetVoiceBridgeResponseMessage) {
    GetVoiceBridgeResponseMessage msg=(GetVoiceBridgeResponseMessage)message;
    logger.warning("String_Node_Str" + msg.getBridgeInfo());
    SoftphoneControlImpl sc=SoftphoneControlImpl.getInstance();
    String tokens[]=msg.getBridgeInfo().split("String_Node_Str");
    String registrarAddress=tokens[5] + "String_Node_Str";
    registrarAddress+=tokens[7];
    String localAddress=null;
    try {
      InetAddress ia=NetworkAddress.getPrivateLocalAddress("String_Node_Str" + tokens[5] + "String_Node_Str"+ tokens[7]+ "String_Node_Str");
      localAddress=ia.getHostAddress();
    }
 catch (    UnknownHostException e) {
      logger.warning(e.getMessage());
      logger.warning("String_Node_Str" + "String_Node_Str");
      try {
        InetAddress ia=NetworkAddress.getPrivateLocalAddress("String_Node_Str" + tokens[2] + "String_Node_Str"+ tokens[4]+ "String_Node_Str");
        localAddress=ia.getHostAddress();
      }
 catch (      UnknownHostException ee) {
        logger.warning(ee.getMessage());
      }
    }
    if (localAddress != null) {
      try {
        String sipURL=sc.startSoftphone(presenceInfo.userID.getUsername(),registrarAddress,10,localAddress,AudioQuality.VPN);
        logger.fine("String_Node_Str" + presenceInfo);
        session.send(this,new PlaceCallMessage(presenceInfo,sipURL,0.,0.,0.,90.,false));
      }
 catch (      IOException e) {
        logger.warning(e.getMessage());
      }
    }
 else {
      logger.warning("String_Node_Str");
      connectSoftphone();
    }
  }
 else   if (message instanceof VoiceChatJoinRequestMessage) {
    VoiceChatJoinRequestMessage msg=(VoiceChatJoinRequestMessage)message;
    VoiceChatDialog voiceChatDialog=VoiceChatDialog.getVoiceChatDialog(msg.getGroup());
    if (voiceChatDialog == null) {
      try {
        voiceChatDialog=new VoiceChatDialog(this,cell.getCellID(),session,msg.getCaller());
      }
 catch (      IOException e) {
        logger.warning("String_Node_Str" + e.getMessage());
        return;
      }
    }
    voiceChatDialog.requestToJoin(msg.getGroup(),msg.getCaller(),msg.getCalleeList(),msg.getChatType());
  }
 else   if (message instanceof VoiceChatBusyMessage) {
    VoiceChatBusyMessage msg=(VoiceChatBusyMessage)message;
    new VoiceChatBusyDialog(msg.getGroup(),msg.getCallee());
  }
 else   if (message instanceof VoiceChatInfoResponseMessage) {
    VoiceChatInfoResponseMessage msg=(VoiceChatInfoResponseMessage)message;
    VoiceChatDialog voiceChatDialog=VoiceChatDialog.getVoiceChatDialog(msg.getGroup());
    if (voiceChatDialog == null) {
      logger.warning("String_Node_Str" + msg.getGroup());
    }
 else {
      voiceChatDialog.setChatters(msg.getChatters());
    }
  }
 else   if (message instanceof SpeakingMessage) {
    SpeakingMessage msg=(SpeakingMessage)message;
    PresenceInfo info=pm.getPresenceInfo(msg.getCallID());
    if (info == null) {
      logger.warning("String_Node_Str" + msg.getCallID());
      return;
    }
    pm.setSpeaking(info,msg.isSpeaking());
    if (userListJFrame != null) {
      userListJFrame.setUserList();
    }
    AvatarNameEvent avatarNameEvent;
    if (msg.isSpeaking()) {
      avatarNameEvent=new AvatarNameEvent(EventType.STARTED_SPEAKING,info.userID.getUsername(),info.usernameAlias);
    }
 else {
      avatarNameEvent=new AvatarNameEvent(EventType.STOPPED_SPEAKING,info.userID.getUsername(),info.usernameAlias);
    }
    InputManager.inputManager().postEvent(avatarNameEvent);
  }
 else   if (message instanceof MuteCallMessage) {
    MuteCallMessage msg=(MuteCallMessage)message;
    PresenceInfo info=pm.getPresenceInfo(msg.getCallID());
    if (info == null) {
      logger.warning("String_Node_Str" + msg.getCallID());
      return;
    }
    pm.setMute(info,msg.isMuted());
    if (userListJFrame != null) {
      userListJFrame.setUserList();
    }
    AvatarNameEvent avatarNameEvent;
    if (msg.isMuted()) {
      avatarNameEvent=new AvatarNameEvent(EventType.MUTE,info.userID.getUsername(),info.usernameAlias);
    }
 else {
      avatarNameEvent=new AvatarNameEvent(EventType.UNMUTE,info.userID.getUsername(),info.usernameAlias);
    }
    InputManager.inputManager().postEvent(avatarNameEvent);
  }
 else   if (message instanceof ConeOfSilenceEnterExitMessage) {
    ConeOfSilenceEnterExitMessage msg=(ConeOfSilenceEnterExitMessage)message;
    pm.setEnteredConeOfSilence(presenceInfo,msg.entered());
    PresenceInfo info=pm.getPresenceInfo(msg.getCallID());
    if (info == null) {
      logger.warning("String_Node_Str" + msg.getCallID());
      return;
    }
    AvatarNameEvent avatarNameEvent;
    if (msg.entered()) {
      avatarNameEvent=new AvatarNameEvent(EventType.ENTERED_CONE_OF_SILENCE,info.userID.getUsername(),info.usernameAlias);
    }
 else {
      avatarNameEvent=new AvatarNameEvent(EventType.EXITED_CONE_OF_SILENCE,info.userID.getUsername(),info.usernameAlias);
    }
    InputManager.inputManager().postEvent(avatarNameEvent);
  }
 else {
    throw new UnsupportedOperationException("String_Node_Str");
  }
}