Program: 167127
Project: 167127
Buggy source:
private Iterable<? extends Vertex> _verticesUsingLabel(String label){
  Set<String> schemas;
  SchemaTable schemaTable=SqlgUtil.parseLabelMaybeNoSchema(label);
  if (schemaTable.getSchema() == null) {
    schemas=this.sqlG.getSchemaManager().getSchemasForTable(SchemaManager.VERTEX_PREFIX + schemaTable.getTable());
  }
 else {
    schemas=new HashSet<>();
    schemas.add(schemaTable.getSchema());
  }
  List<SqlgVertex> sqlGVertexes=new ArrayList<>();
  if (schemas != null) {
    for (    String schema : schemas) {
      StringBuilder sql=new StringBuilder("String_Node_Str");
      sql.append(this.sqlG.getSqlDialect().maybeWrapInQoutes(schema));
      sql.append("String_Node_Str");
      sql.append(this.sqlG.getSqlDialect().maybeWrapInQoutes(SchemaManager.VERTEX_PREFIX + schemaTable.getTable()));
      if (this.sqlG.getSqlDialect().needsSemicolon()) {
        sql.append("String_Node_Str");
      }
      Connection conn=this.sqlG.tx().getConnection();
      if (logger.isDebugEnabled()) {
        logger.debug(sql.toString());
      }
      try (PreparedStatement preparedStatement=conn.prepareStatement(sql.toString())){
        ResultSet resultSet=preparedStatement.executeQuery();
        while (resultSet.next()) {
          long id=resultSet.getLong(1);
          SqlgVertex sqlGVertex=new SqlgVertex(this.sqlG,id,schema,schemaTable.getTable());
          sqlGVertex.loadResultSet(resultSet);
          sqlGVertexes.add(sqlGVertex);
        }
      }
 catch (      SQLException e) {
        throw new RuntimeException(e);
      }
    }
  }
  return sqlGVertexes;
}

Fixed version (ground truth):
private Iterable<? extends Vertex> _verticesUsingLabel(String label){
  Set<String> schemas;
  SchemaTable schemaTable=SqlgUtil.parseLabelMaybeNoSchema(label);
  if (schemaTable.getSchema() == null) {
    schemas=this.sqlG.getSchemaManager().getSchemasForTable(SchemaManager.VERTEX_PREFIX + schemaTable.getTable());
  }
 else {
    schemas=new HashSet<>();
    schemas.add(schemaTable.getSchema());
  }
  List<SqlgVertex> sqlGVertexes=new ArrayList<>();
  if (schemas != null) {
    for (    String schema : schemas) {
      if (this.sqlG.getSchemaManager().tableExist(schema,SchemaManager.VERTEX_PREFIX + schemaTable.getTable())) {
        StringBuilder sql=new StringBuilder("String_Node_Str");
        sql.append(this.sqlG.getSqlDialect().maybeWrapInQoutes(schema));
        sql.append("String_Node_Str");
        sql.append(this.sqlG.getSqlDialect().maybeWrapInQoutes(SchemaManager.VERTEX_PREFIX + schemaTable.getTable()));
        if (this.sqlG.getSqlDialect().needsSemicolon()) {
          sql.append("String_Node_Str");
        }
        Connection conn=this.sqlG.tx().getConnection();
        if (logger.isDebugEnabled()) {
          logger.debug(sql.toString());
        }
        try (PreparedStatement preparedStatement=conn.prepareStatement(sql.toString())){
          ResultSet resultSet=preparedStatement.executeQuery();
          while (resultSet.next()) {
            long id=resultSet.getLong(1);
            SqlgVertex sqlGVertex=new SqlgVertex(this.sqlG,id,schema,schemaTable.getTable());
            sqlGVertex.loadResultSet(resultSet);
            sqlGVertexes.add(sqlGVertex);
          }
        }
 catch (        SQLException e) {
          throw new RuntimeException(e);
        }
      }
    }
  }
  return sqlGVertexes;
}