Program: 131905
Project: 131905
Buggy source:
@Override public void configure(final OETLProcessor iProcessor,final ODocument iConfiguration,final OBasicCommandContext iContext){
  super.configure(iProcessor,iConfiguration,iContext);
  if (iConfiguration.containsField("String_Node_Str"))   dbURL=iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbUser=iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbPassword=iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbType=DB_TYPE.valueOf(iConfiguration.field("String_Node_Str").toString().toUpperCase());
  if (iConfiguration.containsField("String_Node_Str"))   tx=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   wal=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   batchCommit=(Integer)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbAutoCreate=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbAutoDropIfExists=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbAutoCreateProperties=(Boolean)iConfiguration.field("String_Node_Str");
  clusterName=iConfiguration.field("String_Node_Str");
  className=iConfiguration.field("String_Node_Str");
  indexes=iConfiguration.field("String_Node_Str");
  classes=iConfiguration.field("String_Node_Str");
switch (dbType) {
case DOCUMENT:
    final ODatabaseDocumentTx documentDatabase=new ODatabaseDocumentTx(dbURL);
  if (documentDatabase.exists() && dbAutoDropIfExists) {
    log(OETLProcessor.LOG_LEVELS.INFO,"String_Node_Str",dbURL);
    documentDatabase.open(dbUser,dbPassword);
    documentDatabase.drop();
  }
if (documentDatabase.exists()) {
  log(OETLProcessor.LOG_LEVELS.DEBUG,"String_Node_Str",dbURL);
  documentDatabase.open(dbUser,dbPassword);
}
 else if (dbAutoCreate) {
  documentDatabase.create();
}
 else throw new IllegalArgumentException("String_Node_Str" + dbURL + "String_Node_Str");
documentDatabase.close();
break;
case GRAPH:
final OrientGraphFactory factory=new OrientGraphFactory(dbURL);
if (dbAutoDropIfExists && factory.exists()) {
log(OETLProcessor.LOG_LEVELS.INFO,"String_Node_Str",dbURL);
factory.drop();
}
final OrientBaseGraph graphDatabase=tx ? factory.getTx() : factory.getNoTx();
graphDatabase.shutdown();
break;
}
}

Fixed version (ground truth):
@Override public void configure(final OETLProcessor iProcessor,final ODocument iConfiguration,final OBasicCommandContext iContext){
  super.configure(iProcessor,iConfiguration,iContext);
  if (iConfiguration.containsField("String_Node_Str"))   dbURL=iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbUser=iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbPassword=iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbType=DB_TYPE.valueOf(iConfiguration.field("String_Node_Str").toString().toUpperCase());
  if (iConfiguration.containsField("String_Node_Str"))   tx=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   wal=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   batchCommit=(Integer)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbAutoCreate=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbAutoDropIfExists=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   dbAutoCreateProperties=(Boolean)iConfiguration.field("String_Node_Str");
  if (iConfiguration.containsField("String_Node_Str"))   useLightweightEdges=(Boolean)iConfiguration.field("String_Node_Str");
  clusterName=iConfiguration.field("String_Node_Str");
  className=iConfiguration.field("String_Node_Str");
  indexes=iConfiguration.field("String_Node_Str");
  classes=iConfiguration.field("String_Node_Str");
switch (dbType) {
case DOCUMENT:
    final ODatabaseDocumentTx documentDatabase=new ODatabaseDocumentTx(dbURL);
  if (documentDatabase.exists() && dbAutoDropIfExists) {
    log(OETLProcessor.LOG_LEVELS.INFO,"String_Node_Str",dbURL);
    documentDatabase.open(dbUser,dbPassword);
    documentDatabase.drop();
  }
if (documentDatabase.exists()) {
  log(OETLProcessor.LOG_LEVELS.DEBUG,"String_Node_Str",dbURL);
  documentDatabase.open(dbUser,dbPassword);
}
 else if (dbAutoCreate) {
  documentDatabase.create();
}
 else throw new IllegalArgumentException("String_Node_Str" + dbURL + "String_Node_Str");
documentDatabase.close();
break;
case GRAPH:
final OrientGraphFactory factory=new OrientGraphFactory(dbURL);
if (dbAutoDropIfExists && factory.exists()) {
log(OETLProcessor.LOG_LEVELS.INFO,"String_Node_Str",dbURL);
factory.drop();
}
final OrientBaseGraph graphDatabase=tx ? factory.getTx() : factory.getNoTx();
graphDatabase.shutdown();
break;
}
}