Program: 124631
Project: 124631
Buggy source:
@Override protected void addFieldsListeners(){
  dbVersionCombo.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.DB_VERSION,repositoryTranslator.getValue(dbVersionCombo.getText()));
    }
  }
);
  serverText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.HOST,serverText.getText());
    }
  }
);
  portText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.PORT,portText.getText());
    }
  }
);
  databaseText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.DATABASE,databaseText.getText());
    }
  }
);
  checkRequireAuthBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      checkFieldsValue();
      updateAuthGroup();
      updateAttributes();
      getConnection().getAttributes().put(INoSQLCommonAttributes.REQUIRED_AUTHENTICATION,String.valueOf(checkRequireAuthBtn.getSelection()));
    }
  }
);
  userText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.USERNAME,userText.getText());
    }
  }
);
  pwdText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      NoSQLConnection conn=getConnection();
      conn.getAttributes().put(INoSQLCommonAttributes.PASSWORD,conn.getValue(pwdText.getText(),true));
    }
  }
);
  checkUseReplicaBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      updateReplicaField();
      checkFieldsValue();
      getConnection().getAttributes().put(IMongoDBAttributes.USE_REPLICA_SET,String.valueOf(checkUseReplicaBtn.getSelection()));
    }
  }
);
  replicaTableView.getExtendedTableModel().addAfterOperationListListener(new IListenableListListener(){
    @Override public void handleEvent(    ListenableListEvent event){
      saveReplicaModel();
    }
  }
);
  replicaTableView.getExtendedTableModel().addModifiedBeanListener(new IModifiedBeanListener<HashMap<String,Object>>(){
    @Override public void handleEvent(    ModifiedBeanEvent<HashMap<String,Object>> event){
      saveReplicaModel();
    }
  }
);
}

Fixed version (ground truth):
@Override protected void addFieldsListeners(){
  dbVersionCombo.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.DB_VERSION,repositoryTranslator.getValue(dbVersionCombo.getText()));
    }
  }
);
  serverText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.HOST,serverText.getText());
    }
  }
);
  portText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.PORT,portText.getText());
    }
  }
);
  databaseText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.DATABASE,databaseText.getText());
    }
  }
);
  checkRequireAuthBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      checkFieldsValue();
      updateAuthGroup();
      updateAttributes();
      getConnection().getAttributes().put(INoSQLCommonAttributes.REQUIRED_AUTHENTICATION,String.valueOf(checkRequireAuthBtn.getSelection()));
    }
  }
);
  userText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      getConnection().getAttributes().put(INoSQLCommonAttributes.USERNAME,userText.getText());
    }
  }
);
  pwdText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      checkFieldsValue();
      NoSQLConnection conn=getConnection();
      conn.getAttributes().put(INoSQLCommonAttributes.PASSWORD,conn.getValue(pwdText.getText(),true));
    }
  }
);
  checkUseReplicaBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      updateAttributes();
      updateReplicaField();
      checkFieldsValue();
      getConnection().getAttributes().put(IMongoDBAttributes.USE_REPLICA_SET,String.valueOf(checkUseReplicaBtn.getSelection()));
    }
  }
);
  replicaTableView.getExtendedTableModel().addAfterOperationListListener(new IListenableListListener(){
    @Override public void handleEvent(    ListenableListEvent event){
      saveReplicaModel();
    }
  }
);
  replicaTableView.getExtendedTableModel().addModifiedBeanListener(new IModifiedBeanListener<HashMap<String,Object>>(){
    @Override public void handleEvent(    ModifiedBeanEvent<HashMap<String,Object>> event){
      saveReplicaModel();
    }
  }
);
}