Program: 95413
Project: 95413
Buggy source:
/** 
 * Invokes the next step
 * @param cap cap, which to create the corresponding message for
 */
private void processCap(ICapPO cap){
  ICapPO currCap=cap;
  MessageCap messageCap=null;
  if (currCap == null) {
    endTestExecution();
    return;
  }
  try {
    if (LOG.isDebugEnabled()) {
      LOG.debug(Messages.TestStep + StringConstants.COLON + StringConstants.SPACE+ currCap.getName());
      LOG.debug(Messages.Component + StringConstants.COLON + StringConstants.SPACE+ currCap.getComponentName());
    }
    messageCap=buildMessageCap(currCap,false);
    if (!m_stopped) {
      CAPTestMessage capTestMessage=new CAPTestMessage(messageCap);
      TimeUtil.delay(m_stepSpeed);
      while (isPaused()) {
        testConnection();
        TimeUtil.delay(100);
      }
      if (!m_stopped) {
        CAPTestResponseMessage clientResponse=clientExecutionHandling(currCap,capTestMessage);
        if (!m_stopped) {
          if (clientResponse != null) {
            CAPTestResponseCommand responseCommand=new CAPTestResponseCommand();
            responseCommand.setMessage(clientResponse);
            responseCommand.setMessageCap(messageCap);
            responseCommand.execute();
          }
 else {
            final int timeOut=calculateRequestTimeout(messageCap);
            AUTConnection.getInstance().request(capTestMessage,new CAPTestResponseCommand(),timeOut);
          }
        }
      }
 else {
        endTestExecution();
      }
    }
  }
 catch (  NotConnectedException bnce) {
    LOG.error(Messages.AUTConnectionFails,bnce);
  }
catch (  CommunicationException bce) {
    LOG.error(Messages.CommunicationWithAUTFails,bce);
    fireError(bce);
  }
catch (  LogicComponentNotManagedException blcnme) {
    LOG.error(blcnme.getMessage(),blcnme);
    fireComponentError();
  }
catch (  InvalidDataException ide) {
  }
}

Fixed version (ground truth):
/** 
 * Invokes the next step
 * @param cap cap, which to create the corresponding message for
 */
private void processCap(ICapPO cap){
  ICapPO currCap=cap;
  MessageCap messageCap=null;
  if (currCap == null) {
    endTestExecution();
    return;
  }
  try {
    if (LOG.isDebugEnabled()) {
      LOG.debug(Messages.TestStep + StringConstants.COLON + StringConstants.SPACE+ currCap.getName());
      LOG.debug(Messages.Component + StringConstants.COLON + StringConstants.SPACE+ currCap.getComponentName());
    }
    messageCap=buildMessageCap(currCap,false);
    if (!m_stopped) {
      CAPTestMessage capTestMessage=new CAPTestMessage(messageCap);
      TimeUtil.delay(m_stepSpeed);
      while (isPaused()) {
        testConnection();
        TimeUtil.delay(100);
      }
      if (!m_stopped) {
        CAPTestResponseMessage clientResponse=clientExecutionHandling(currCap,capTestMessage);
        if (!m_stopped) {
          if (clientResponse != null) {
            CAPTestResponseCommand responseCommand=new CAPTestResponseCommand();
            responseCommand.setMessage(clientResponse);
            responseCommand.setMessageCap(messageCap);
            responseCommand.execute();
          }
 else {
            final int timeOut=calculateRequestTimeout(messageCap);
            AUTConnection.getInstance().request(capTestMessage,new CAPTestResponseCommand(),timeOut);
          }
        }
      }
 else {
        endTestExecution();
      }
    }
  }
 catch (  NotConnectedException bnce) {
    LOG.error(Messages.AUTConnectionFails,bnce);
    fireError(bnce);
  }
catch (  CommunicationException bce) {
    LOG.error(Messages.CommunicationWithAUTFails,bce);
    fireError(bce);
  }
catch (  LogicComponentNotManagedException blcnme) {
    LOG.error(blcnme.getMessage(),blcnme);
    fireComponentError();
  }
catch (  InvalidDataException ide) {
  }
}