Program: 133615
Project: 133615
Buggy source:
/** 
 * The default constructor. Initializes the connection to the default values.
 */
public VizConnection(){
  widget=null;
  state=ConnectionState.Disconnected;
  statusMessage="String_Node_Str";
  properties=new HashMap<String,String>();
  propertyHandlers=new HashMap<String,IPropertyHandler>();
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      String newValue=null;
      if (value != null) {
        newValue=value.trim();
      }
      return newValue != null && !newValue.isEmpty() ? newValue : null;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      return value != null ? value.trim() : null;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      String newValue=null;
      if (value != null) {
        newValue=value.trim();
      }
      return newValue != null && !newValue.isEmpty() ? newValue : null;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      String newValue=null;
      try {
        int port=Integer.parseInt(value);
        if (port >= MIN_PORT && port <= MAX_PORT) {
          newValue=Integer.toString(port);
        }
      }
 catch (      NumberFormatException e) {
      }
      return newValue;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      return value != null ? value.trim() : null;
    }
  }
);
  setName("String_Node_Str");
  setDescription("String_Node_Str");
  setHost("String_Node_Str");
  setPort(50000);
  setPath("String_Node_Str");
  listeners=new HashSet<IVizConnectionListener<T>>();
  return;
}

Fixed version (ground truth):
/** 
 * The default constructor. Initializes the connection to the default values.
 */
public VizConnection(){
  widget=null;
  state=ConnectionState.Disconnected;
  statusMessage="String_Node_Str";
  properties=new HashMap<String,String>();
  propertyHandlers=new HashMap<String,IPropertyHandler>();
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      String newValue=null;
      if (value != null) {
        newValue=value.trim();
      }
      return newValue != null && !newValue.isEmpty() ? newValue : null;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      return value != null ? value.trim() : null;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      String newValue=null;
      if (value != null) {
        newValue=value.trim();
      }
      return newValue != null && !newValue.isEmpty() ? newValue : null;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      String newValue=null;
      try {
        int port=Integer.parseInt(value);
        if (port >= MIN_PORT && port <= MAX_PORT) {
          newValue=Integer.toString(port);
        }
      }
 catch (      NumberFormatException e) {
      }
      return newValue;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public String validateValue(    String value){
      return value != null ? value.trim() : null;
    }
  }
);
  setName("String_Node_Str");
  setDescription("String_Node_Str");
  setHost("String_Node_Str");
  setPort(50000);
  setPath("String_Node_Str");
  listeners=new HashSet<IVizConnectionListener<T>>();
  connectionLock=new ReentrantLock(true);
  return;
}