Program: 48143
Project: 48143
Buggy source:
@Override public DataSerializableFactory createFactory(){
  ConstructorFunction<Integer,IdentifiedDataSerializable> constructors[]=new ConstructorFunction[LEN];
  constructors[KEY_VALUE_SOURCE_MAP]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new MapKeyValueSource();
    }
  }
;
  constructors[KEY_VALUE_SOURCE_MULTIMAP]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new MultiMapKeyValueSource();
    }
  }
;
  constructors[REDUCER_CHUNK_MESSAGE]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new IntermediateChunkNotification();
    }
  }
;
  constructors[REDUCER_LAST_CHUNK_MESSAGE]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new LastChunkNotification();
    }
  }
;
  constructors[TRACKED_JOB_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new KeyValueJobOperation();
    }
  }
;
  constructors[REQUEST_PARTITION_MAPPING]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionMapping();
    }
  }
;
  constructors[REQUEST_PARTITION_REDUCING]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionReducing();
    }
  }
;
  constructors[REQUEST_PARTITION_PROCESSED]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionProcessed();
    }
  }
;
  constructors[GET_RESULT_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new GetResultOperation();
    }
  }
;
  constructors[START_PROCESSING_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new StartProcessingJobOperation();
    }
  }
;
  constructors[REQUEST_PARTITION_RESULT]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionResult();
    }
  }
;
  constructors[REDUCING_FINISHED_MESSAGE]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new ReducingFinishedNotification();
    }
  }
;
  constructors[FIRE_NOTIFICATION_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new FireNotificationOperation();
    }
  }
;
  constructors[REQUEST_MEMBERID_ASSIGNMENT]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestMemberIdAssignment();
    }
  }
;
  constructors[PROCESS_STATS_UPDATE_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new ProcessStatsUpdateOperation();
    }
  }
;
  constructors[NOTIFY_REMOTE_EXCEPTION_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new NotifyRemoteExceptionOperation();
    }
  }
;
  constructors[CANCEL_JOB_SUPERVISOR_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new CancelJobSupervisorOperation();
    }
  }
;
  constructors[KEY_VALUE_SOURCE_LIST]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new ListKeyValueSource();
    }
  }
;
  constructors[KEY_VALUE_SOURCE_SET]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new SetKeyValueSource();
    }
  }
;
  constructors[KEYS_ASSIGNMENT_RESULT]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new KeysAssignmentResult();
    }
  }
;
  constructors[KEYS_ASSIGNMENT_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new KeysAssignmentOperation();
    }
  }
;
  constructors[POSTPONE_PARTITION_PROCESSING_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new PostPonePartitionProcessing();
    }
  }
;
  return new ArrayDataSerializableFactory(constructors);
}

Fixed version (ground truth):
@Override public DataSerializableFactory createFactory(){
  ConstructorFunction<Integer,IdentifiedDataSerializable> constructors[]=new ConstructorFunction[LEN];
  constructors[KEY_VALUE_SOURCE_MAP]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new MapKeyValueSource();
    }
  }
;
  constructors[KEY_VALUE_SOURCE_MULTIMAP]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new MultiMapKeyValueSource();
    }
  }
;
  constructors[REDUCER_CHUNK_MESSAGE]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new IntermediateChunkNotification();
    }
  }
;
  constructors[REDUCER_LAST_CHUNK_MESSAGE]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new LastChunkNotification();
    }
  }
;
  constructors[TRACKED_JOB_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new KeyValueJobOperation();
    }
  }
;
  constructors[REQUEST_PARTITION_MAPPING]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionMapping();
    }
  }
;
  constructors[REQUEST_PARTITION_REDUCING]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionReducing();
    }
  }
;
  constructors[REQUEST_PARTITION_PROCESSED]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionProcessed();
    }
  }
;
  constructors[GET_RESULT_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new GetResultOperation();
    }
  }
;
  constructors[START_PROCESSING_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new StartProcessingJobOperation();
    }
  }
;
  constructors[REQUEST_PARTITION_RESULT]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestPartitionResult();
    }
  }
;
  constructors[REDUCING_FINISHED_MESSAGE]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new ReducingFinishedNotification();
    }
  }
;
  constructors[FIRE_NOTIFICATION_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new FireNotificationOperation();
    }
  }
;
  constructors[REQUEST_MEMBERID_ASSIGNMENT]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new RequestMemberIdAssignment();
    }
  }
;
  constructors[PROCESS_STATS_UPDATE_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new ProcessStatsUpdateOperation();
    }
  }
;
  constructors[NOTIFY_REMOTE_EXCEPTION_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new NotifyRemoteExceptionOperation();
    }
  }
;
  constructors[CANCEL_JOB_SUPERVISOR_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new CancelJobSupervisorOperation();
    }
  }
;
  constructors[KEY_VALUE_SOURCE_LIST]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new ListKeyValueSource();
    }
  }
;
  constructors[KEY_VALUE_SOURCE_SET]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new SetKeyValueSource();
    }
  }
;
  constructors[KEYS_ASSIGNMENT_RESULT]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new KeysAssignmentResult();
    }
  }
;
  constructors[KEYS_ASSIGNMENT_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new KeysAssignmentOperation();
    }
  }
;
  constructors[POSTPONE_PARTITION_PROCESSING_OPERATION]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new PostPonePartitionProcessing();
    }
  }
;
  constructors[HASH_MAP_ADAPTER]=new ConstructorFunction<Integer,IdentifiedDataSerializable>(){
    @Override public IdentifiedDataSerializable createNew(    Integer arg){
      return new HashMapAdapter();
    }
  }
;
  return new ArrayDataSerializableFactory(constructors);
}