Program: 131871
Project: 131871
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=(String)resolve(iConfiguration.field("String_Node_Str"));
  if (iConfiguration.containsField("String_Node_Str"))   dbUser=(String)resolve(iConfiguration.field("String_Node_Str"));
  if (iConfiguration.containsField("String_Node_Str"))   dbPassword=(String)resolve(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");
  if (iConfiguration.containsField("String_Node_Str"))   standardElementConstraints=(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=(String)resolve(iConfiguration.field("String_Node_Str"));
  if (iConfiguration.containsField("String_Node_Str"))   dbUser=(String)resolve(iConfiguration.field("String_Node_Str"));
  if (iConfiguration.containsField("String_Node_Str"))   dbPassword=(String)resolve(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");
  if (iConfiguration.containsField("String_Node_Str"))   standardElementConstraints=(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,dbUser,dbPassword);
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;
}
}