Program: 120566
Project: 120566
Buggy source:
/** 
 * dev Comment method "createNewRepositoryNode".
 * @param node
 * @param parameters
 * @param connection
 * @param iMetadataConnection
 * @return
 */
@SuppressWarnings("String_Node_Str") private RepositoryNode createNewRepositoryNode(RepositoryNode node,ConnectionParameters parameters,DatabaseConnection connection,IMetadataConnection iMetadataConnection){
  ManagerConnection managerConnection=new ManagerConnection();
  boolean status=managerConnection.check(iMetadataConnection);
  connection.setDivergency(!status);
  ConnectionHelper.getTables(connection).clear();
  if (status) {
    try {
      List<MetadataTable> tablesFromDB=ExtractMetaDataFromDataBase.returnMetaTablesFormConnection(iMetadataConnection,500);
      ExtractMetaDataUtils.isReconnect=false;
      for (      MetadataTable table : tablesFromDB) {
        List<MetadataColumn> columnsFromDB=new ArrayList<MetadataColumn>();
        columnsFromDB.addAll(ExtractMetaDataFromDataBase.returnMetadataColumnsFormTable(iMetadataConnection,table.getSourceName()));
        table.getColumns().clear();
        for (        MetadataColumn column : columnsFromDB) {
          column.setLabel("String_Node_Str");
          table.getColumns().add(column);
        }
        table.setLabel("String_Node_Str");
        ConnectionHelper.getTables(connection).add(table);
      }
      ExtractMetaDataUtils.isReconnect=true;
    }
 catch (    Exception e) {
      if (parameters != null) {
        parameters.setConnectionComment(e.getMessage());
      }
      return null;
    }
  }
 else {
    if (parameters != null) {
      parameters.setConnectionComment(managerConnection.getMessageException() == null ? "String_Node_Str" : managerConnection.getMessageException());
    }
  }
  DatabaseConnectionItem item=PropertiesFactory.eINSTANCE.createDatabaseConnectionItem();
  Property connectionProperty=PropertiesFactory.eINSTANCE.createProperty();
  connectionProperty.setAuthor(((RepositoryContext)CorePlugin.getContext().getProperty(Context.REPOSITORY_CONTEXT_KEY)).getUser());
  connectionProperty.setVersion(VersionUtils.DEFAULT_VERSION);
  connectionProperty.setStatusCode("String_Node_Str");
  item.setProperty(connectionProperty);
  updatePackage(iMetadataConnection);
  DatabaseConnection dbConn=(DatabaseConnection)iMetadataConnection.getCurrentConnection();
  item.setConnection(dbConn);
  RepositoryObject object=new RepositoryObject(connectionProperty);
  object.setLabel("String_Node_Str");
  ItemState state=PropertiesFactory.eINSTANCE.createItemState();
  state.setDeleted(false);
  item.setState(state);
  if (node == null) {
    node=new RepositoryNode(null,null,ENodeType.SYSTEM_FOLDER);
  }
  RepositoryNode newNode=new RepositoryNode(object,node,ENodeType.SYSTEM_FOLDER);
  return newNode;
}

Fixed version (ground truth):
/** 
 * dev Comment method "createNewRepositoryNode".
 * @param node
 * @param parameters
 * @param connection
 * @param iMetadataConnection
 * @return
 */
@SuppressWarnings("String_Node_Str") private RepositoryNode createNewRepositoryNode(RepositoryNode node,ConnectionParameters parameters,DatabaseConnection connection,IMetadataConnection iMetadataConnection){
  ManagerConnection managerConnection=new ManagerConnection();
  boolean status=managerConnection.check(iMetadataConnection);
  connection.setDivergency(!status);
  ConnectionHelper.getTables(connection).clear();
  if (status) {
    try {
      List<MetadataTable> tablesFromDB=ExtractMetaDataFromDataBase.returnMetaTablesFormConnection(iMetadataConnection,500);
      ExtractMetaDataUtils.getInstance().setReconnect(false);
      for (      MetadataTable table : tablesFromDB) {
        List<MetadataColumn> columnsFromDB=new ArrayList<MetadataColumn>();
        columnsFromDB.addAll(ExtractMetaDataFromDataBase.returnMetadataColumnsFormTable(iMetadataConnection,table.getSourceName()));
        table.getColumns().clear();
        for (        MetadataColumn column : columnsFromDB) {
          column.setLabel("String_Node_Str");
          table.getColumns().add(column);
        }
        table.setLabel("String_Node_Str");
        ConnectionHelper.getTables(connection).add(table);
      }
      ExtractMetaDataUtils.getInstance().setReconnect(true);
    }
 catch (    Exception e) {
      if (parameters != null) {
        parameters.setConnectionComment(e.getMessage());
      }
      return null;
    }
  }
 else {
    if (parameters != null) {
      parameters.setConnectionComment(managerConnection.getMessageException() == null ? "String_Node_Str" : managerConnection.getMessageException());
    }
  }
  DatabaseConnectionItem item=PropertiesFactory.eINSTANCE.createDatabaseConnectionItem();
  Property connectionProperty=PropertiesFactory.eINSTANCE.createProperty();
  connectionProperty.setAuthor(((RepositoryContext)CorePlugin.getContext().getProperty(Context.REPOSITORY_CONTEXT_KEY)).getUser());
  connectionProperty.setVersion(VersionUtils.DEFAULT_VERSION);
  connectionProperty.setStatusCode("String_Node_Str");
  item.setProperty(connectionProperty);
  updatePackage(iMetadataConnection);
  DatabaseConnection dbConn=(DatabaseConnection)iMetadataConnection.getCurrentConnection();
  item.setConnection(dbConn);
  RepositoryObject object=new RepositoryObject(connectionProperty);
  object.setLabel("String_Node_Str");
  ItemState state=PropertiesFactory.eINSTANCE.createItemState();
  state.setDeleted(false);
  item.setState(state);
  if (node == null) {
    node=new RepositoryNode(null,null,ENodeType.SYSTEM_FOLDER);
  }
  RepositoryNode newNode=new RepositoryNode(object,node,ENodeType.SYSTEM_FOLDER);
  return newNode;
}