Program: 160292
Project: 160292
Buggy source:
public double runOne(final int numberOfDocuments,final int sizeOfDocuments) throws Exception {
  String[] bigObj=new String[sizeOfDocuments];
  for (int i=0; i < sizeOfDocuments; i++) {
    bigObj[i]=_propertyValue;
  }
  final Map<String,Object> props=new HashMap<String,Object>();
  props.put("String_Node_Str",bigObj);
  String docIdTimestamp=Long.toString(System.currentTimeMillis());
  for (int i=0; i < numberOfDocuments; i++) {
    String docId=String.format("String_Node_Str",i,docIdTimestamp);
    try {
      addDocWithId(docId,props,"String_Node_Str",false);
    }
 catch (    IOException ioex) {
      Log.v("String_Node_Str",TAG + "String_Node_Str",ioex);
      fail();
    }
  }
  URL remote=getReplicationURL();
  final Replication replPush=database.createPushReplication(remote);
  replPush.setContinuous(false);
  if (!isSyncGateway(remote)) {
    replPush.setCreateTarget(true);
    Assert.assertTrue(replPush.shouldCreateTarget());
  }
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPush);
  runReplication(replPush);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPush);
  long startMillis=System.currentTimeMillis();
  final Replication replPull=(Replication)database.createPullReplication(remote);
  replPull.setContinuous(false);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPull);
  runReplication(replPull);
  double executionTime=Long.valueOf(System.currentTimeMillis() - startMillis);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + executionTime+ "String_Node_Str"+ numberOfDocuments+ "String_Node_Str"+ sizeOfDocuments);
  assertNotNull(database);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPull);
  return executionTime;
}

Fixed version (ground truth):
public double runOne(final int numberOfDocuments,final int sizeOfDocuments) throws Exception {
  char[] array=new char[sizeOfDocuments];
  Arrays.fill(array,'*');
  String body=new String(array);
  final Map<String,Object> props=new HashMap<String,Object>();
  props.put("String_Node_Str",body);
  String docIdTimestamp=Long.toString(System.currentTimeMillis());
  for (int i=0; i < numberOfDocuments; i++) {
    String docId=String.format("String_Node_Str",i,docIdTimestamp);
    try {
      addDocWithId(docId,props,null,false);
    }
 catch (    IOException ioex) {
      Log.v("String_Node_Str",TAG + "String_Node_Str",ioex);
      fail();
    }
  }
  URL remote=getReplicationURL();
  final Replication replPush=database.createPushReplication(remote);
  replPush.setContinuous(false);
  if (!isSyncGateway(remote)) {
    replPush.setCreateTarget(true);
    Assert.assertTrue(replPush.shouldCreateTarget());
  }
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPush);
  runReplication(replPush);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPush);
  Database database2=ensureEmptyDatabase("String_Node_Str");
  long startMillis=System.currentTimeMillis();
  final Replication replPull=database2.createPullReplication(remote);
  replPull.setContinuous(false);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPull);
  runReplication(replPull);
  double executionTime=Long.valueOf(System.currentTimeMillis() - startMillis);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + executionTime+ "String_Node_Str"+ numberOfDocuments+ "String_Node_Str"+ sizeOfDocuments);
  assertNotNull(database2);
  Log.v("String_Node_Str",TAG + "String_Node_Str" + replPull);
  return executionTime;
}