Program: 164558
Project: 164558
Buggy source:
public static Pair<Event,String> initEvent(List<TicketCategoryModification> categories,OrganizationRepository organizationRepository,UserManager userManager,EventManager eventManager){
  String organizationName=UUID.randomUUID().toString();
  String username=UUID.randomUUID().toString();
  String eventName=UUID.randomUUID().toString();
  organizationRepository.create(organizationName,"String_Node_Str","String_Node_Str");
  Organization organization=organizationRepository.findByName(organizationName).get(0);
  userManager.insertUser(organization.getId(),username,"String_Node_Str","String_Node_Str","String_Node_Str",Role.OPERATOR);
  LocalDateTime expiration=LocalDateTime.now().plusDays(5).plusHours(1);
  Map<String,String> desc=new HashMap<>();
  desc.put("String_Node_Str","String_Node_Str");
  desc.put("String_Node_Str","String_Node_Str");
  desc.put("String_Node_Str","String_Node_Str");
  EventModification em=new EventModification(null,Event.EventType.INTERNAL,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,eventName,"String_Node_Str",organization.getId(),"String_Node_Str",desc,new DateTimeModification(LocalDate.now().plusDays(5),LocalTime.now()),new DateTimeModification(expiration.toLocalDate(),expiration.toLocalTime()),BigDecimal.TEN,"String_Node_Str",AVAILABLE_SEATS,BigDecimal.ONE,true,null,categories,false,new LocationDescriptor("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),7,null);
  eventManager.createEvent(em);
  return Pair.of(eventManager.getSingleEvent(eventName,username),username);
}

Fixed version (ground truth):
public static Pair<Event,String> initEvent(List<TicketCategoryModification> categories,OrganizationRepository organizationRepository,UserManager userManager,EventManager eventManager){
  String organizationName=UUID.randomUUID().toString();
  String username=UUID.randomUUID().toString();
  String eventName=UUID.randomUUID().toString();
  organizationRepository.create(organizationName,"String_Node_Str","String_Node_Str");
  Organization organization=organizationRepository.findByName(organizationName).get(0);
  userManager.insertUser(organization.getId(),username,"String_Node_Str","String_Node_Str","String_Node_Str",Role.OPERATOR);
  userManager.insertUser(organization.getId(),username + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",Role.OWNER);
  LocalDateTime expiration=LocalDateTime.now().plusDays(5).plusHours(1);
  Map<String,String> desc=new HashMap<>();
  desc.put("String_Node_Str","String_Node_Str");
  desc.put("String_Node_Str","String_Node_Str");
  desc.put("String_Node_Str","String_Node_Str");
  EventModification em=new EventModification(null,Event.EventType.INTERNAL,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,eventName,"String_Node_Str",organization.getId(),"String_Node_Str",desc,new DateTimeModification(LocalDate.now().plusDays(5),LocalTime.now()),new DateTimeModification(expiration.toLocalDate(),expiration.toLocalTime()),BigDecimal.TEN,"String_Node_Str",AVAILABLE_SEATS,BigDecimal.ONE,true,null,categories,false,new LocationDescriptor("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),7,null);
  eventManager.createEvent(em);
  return Pair.of(eventManager.getSingleEvent(eventName,username),username);
}