Program: 28902
Project: 28902
Buggy source:
private void setJmsServiceProperties(JmsService service) throws ConnectorRuntimeException {
  JmsRaUtil jmsraUtil=new JmsRaUtil(service);
  jmsraUtil.setupAddressList();
  urlList=jmsraUtil.getUrlList();
  addressList=urlList.toString();
  _logger.log(Level.INFO,"String_Node_Str",addressList);
  ConnectorDescriptor cd=super.getDescriptor();
  setConnectionURL(service,urlList);
  String val="String_Node_Str" + jmsraUtil.getReconnectEnabled();
  ConnectorConfigProperty envProp2=new ConnectorConfigProperty(RECONNECTENABLED,val,val,"String_Node_Str");
  setProperty(cd,envProp2);
  int newval=(new Integer(jmsraUtil.getReconnectInterval())).intValue() * 1000;
  val="String_Node_Str" + newval;
  ConnectorConfigProperty envProp3=new ConnectorConfigProperty(RECONNECTINTERVAL,val,val,"String_Node_Str");
  setProperty(cd,envProp3);
  val="String_Node_Str" + jmsraUtil.getReconnectAttempts();
  ConnectorConfigProperty envProp4=new ConnectorConfigProperty(RECONNECTATTEMPTS,val,val,"String_Node_Str");
  setProperty(cd,envProp4);
  val="String_Node_Str" + jmsraUtil.getAddressListBehaviour();
  ConnectorConfigProperty envProp5=new ConnectorConfigProperty(ADRLIST_BEHAVIOUR,val,val,"String_Node_Str");
  setProperty(cd,envProp5);
  val="String_Node_Str" + jmsraUtil.getAddressListIterations();
  ConnectorConfigProperty envProp6=new ConnectorConfigProperty(ADRLIST_ITERATIONS,val,val,"String_Node_Str");
  setProperty(cd,envProp6);
  boolean useExternal=shouldUseExternalRmiRegistry(jmsraUtil);
  val=(new Boolean(useExternal)).toString();
  ConnectorConfigProperty envProp7=new ConnectorConfigProperty(USEEXTERNALRMIREGISTRY,val,val,"String_Node_Str");
  setProperty(cd,envProp7);
  _logger.log(Level.FINE,"String_Node_Str" + val);
  String configuredRmiRegistryPort=null;
  if (!useExternal) {
    configuredRmiRegistryPort=getRmiRegistryPort();
  }
 else {
    configuredRmiRegistryPort=getUniqueRmiRegistryPort();
  }
  val=configuredRmiRegistryPort;
  if (val != null) {
    ConnectorConfigProperty envProp8=new ConnectorConfigProperty(RMIREGISTRYPORT,val,val,"String_Node_Str");
    setProperty(cd,envProp8);
    _logger.log(Level.FINE,"String_Node_Str" + val);
  }
 else {
    _logger.log(Level.WARNING,"String_Node_Str");
  }
}

Fixed version (ground truth):
private void setJmsServiceProperties(JmsService service) throws ConnectorRuntimeException {
  JmsRaUtil jmsraUtil=new JmsRaUtil(service);
  jmsraUtil.setupAddressList();
  urlList=jmsraUtil.getUrlList();
  addressList=urlList.toString();
  _logger.log(Level.INFO,"String_Node_Str",addressList);
  ConnectorDescriptor cd=super.getDescriptor();
  setConnectionURL(service,urlList);
  String val="String_Node_Str" + jmsraUtil.getReconnectEnabled();
  ConnectorConfigProperty envProp2=new ConnectorConfigProperty(RECONNECTENABLED,val,val,"String_Node_Str");
  setProperty(cd,envProp2);
  int newval=(new Integer(jmsraUtil.getReconnectInterval())).intValue() * 1000;
  val="String_Node_Str" + newval;
  ConnectorConfigProperty envProp3=new ConnectorConfigProperty(RECONNECTINTERVAL,val,val,"String_Node_Str");
  setProperty(cd,envProp3);
  val="String_Node_Str" + jmsraUtil.getReconnectAttempts();
  ConnectorConfigProperty envProp4=new ConnectorConfigProperty(RECONNECTATTEMPTS,val,val,"String_Node_Str");
  setProperty(cd,envProp4);
  val="String_Node_Str" + jmsraUtil.getAddressListBehaviour();
  ConnectorConfigProperty envProp5=new ConnectorConfigProperty(ADRLIST_BEHAVIOUR,val,val,"String_Node_Str");
  setProperty(cd,envProp5);
  val="String_Node_Str" + jmsraUtil.getAddressListIterations();
  ConnectorConfigProperty envProp6=new ConnectorConfigProperty(ADRLIST_ITERATIONS,val,val,"String_Node_Str");
  setProperty(cd,envProp6);
  boolean useExternal=shouldUseExternalRmiRegistry(jmsraUtil);
  val=Boolean.valueOf(useExternal).toString();
  ConnectorConfigProperty envProp7=new ConnectorConfigProperty(USEEXTERNALRMIREGISTRY,val,val,"String_Node_Str");
  setProperty(cd,envProp7);
  _logger.log(Level.FINE,"String_Node_Str" + val);
  String configuredRmiRegistryPort=null;
  if (!useExternal) {
    configuredRmiRegistryPort=getRmiRegistryPort();
  }
 else {
    configuredRmiRegistryPort=getUniqueRmiRegistryPort();
  }
  val=configuredRmiRegistryPort;
  if (val != null) {
    ConnectorConfigProperty envProp8=new ConnectorConfigProperty(RMIREGISTRYPORT,val,val,"String_Node_Str");
    setProperty(cd,envProp8);
    _logger.log(Level.FINE,"String_Node_Str" + val);
  }
 else {
    _logger.log(Level.WARNING,"String_Node_Str");
  }
}