Program: 133560
Project: 133560
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>>();
  notificationLock=new ReentrantLock(true);
  connectionLock=new ReentrantLock(true);
  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 boolean validateValue(    String value){
      return value != null && !value.trim().isEmpty();
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public boolean validateValue(    String value){
      return value != null;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public boolean validateValue(    String value){
      return value != null && !value.trim().isEmpty();
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public boolean validateValue(    String value){
      boolean valid=false;
      try {
        int port=Integer.parseInt(value);
        if (port >= MIN_PORT && port <= MAX_PORT) {
          valid=true;
        }
      }
 catch (      NumberFormatException e) {
      }
      return valid;
    }
  }
);
  propertyHandlers.put("String_Node_Str",new IPropertyHandler(){
    @Override public boolean validateValue(    String value){
      return value != null;
    }
  }
);
  setName("String_Node_Str");
  setDescription("String_Node_Str");
  setHost("String_Node_Str");
  setPort(50000);
  setPath("String_Node_Str");
  listeners=new HashSet<IVizConnectionListener<T>>();
  notificationLock=new ReentrantLock(true);
  connectionLock=new ReentrantLock(true);
  return;
}