Program: 79834
Project: 79834
Buggy source:
private void loadNodeData(){
  TagDTO tag1=new TagDTO();
  tag1.setId(impTagId);
  TagDTO tag2=new TagDTO();
  tag2.setId(wlTagId);
  TagDTO tag3=new TagDTO();
  tag3.setId(sampleTagId);
  tags=new ArrayList<TagDTO>();
  tags.add(tag1);
  tags.add(tag2);
  tags.add(tag3);
  NodeDTO firstFolderNode=new NodeDTO();
  firstFolderNode.setName("String_Node_Str");
  firstFolderNode.setNodeType(NodeType.FOLDER.name());
  firstFolderNode.setProjectId(firstProjectId);
  ConversationDTO conversationDTO=new ConversationDTO();
  conversationDTO.setWorkspaceId(demoWorkspaceId);
  RfRequestDTO rfRequestDTO=new RfRequestDTO();
  rfRequestDTO.setApiUrl(hostUri + "String_Node_Str");
  rfRequestDTO.setMethodType("String_Node_Str");
  conversationDTO.setRfRequestDTO(rfRequestDTO);
  ConversationDTO postConversationDTO=new ConversationDTO();
  postConversationDTO.setWorkspaceId(demoWorkspaceId);
  RfRequestDTO rfRequestDTO2=new RfRequestDTO();
  rfRequestDTO2.setApiUrl(hostUri + "String_Node_Str");
  rfRequestDTO2.setMethodType("String_Node_Str");
  JSONObject jsonObject=new JSONObject();
  jsonObject.put("String_Node_Str","String_Node_Str");
  jsonObject.put("String_Node_Str","String_Node_Str");
  rfRequestDTO2.setApiBody(jsonObject.toString(4));
  postConversationDTO.setRfRequestDTO(rfRequestDTO2);
  ConversationDTO createdConversation=conversationController.create(conversationDTO);
  ConversationDTO createdPostConversation=conversationController.create(postConversationDTO);
  NodeDTO createdFolderNode=nodeController.create(firstProjectRefId,firstFolderNode);
  NodeDTO childNode=new NodeDTO();
  childNode.setName("String_Node_Str");
  childNode.setDescription("String_Node_Str");
  childNode.setProjectId(firstProjectId);
  childNode.setConversationDTO(createdConversation);
  NodeDTO createdChildNode=nodeController.create(createdFolderNode.getId(),childNode);
  nodeController.addTags(createdChildNode.getId(),tags);
  createdConversation.setNodeDTO(createdChildNode);
  conversationController.update(createdConversation.getId(),createdConversation);
  NodeDTO secondNode=new NodeDTO();
  secondNode.setName("String_Node_Str");
  secondNode.setDescription("String_Node_Str");
  secondNode.setProjectId(firstProjectId);
  secondNode.setConversationDTO(createdPostConversation);
  NodeDTO createdSecondNode=nodeController.create(firstProjectRefId,secondNode);
  nodeController.addTags(createdSecondNode.getId(),tags);
  createdPostConversation.setNodeDTO(createdSecondNode);
  conversationController.update(createdPostConversation.getId(),createdPostConversation);
  NodeDTO dummyNode=new NodeDTO();
  dummyNode.setName("String_Node_Str");
  dummyNode.setProjectId(firstProjectId);
  nodeController.create(firstProjectRefId,dummyNode);
  NodeDTO testNode=new NodeDTO();
  testNode.setName("String_Node_Str");
  testNode.setProjectId(firstProjectId);
  nodeController.create(firstProjectRefId,testNode);
  conversationDTO=new ConversationDTO();
  conversationDTO.setWorkspaceId(demoWorkspaceId);
  rfRequestDTO=new RfRequestDTO();
  rfRequestDTO.setApiUrl(hostUri + "String_Node_Str" + demoWorkspaceId+ "String_Node_Str");
  rfRequestDTO.setMethodType("String_Node_Str");
  conversationDTO.setRfRequestDTO(rfRequestDTO);
  createdConversation=conversationController.create(conversationDTO);
  conversationDTO.setId(createdConversation.getId());
  NodeDTO starredNode=new NodeDTO();
  starredNode.setName("String_Node_Str");
  starredNode.setDescription("String_Node_Str");
  starredNode.setStarred(Boolean.TRUE);
  starredNode.setProjectId(firstProjectId);
  starredNode.setConversationDTO(conversationDTO);
  NodeDTO createdStarredNode=nodeController.create(firstProjectRefId,starredNode);
  createdConversation.setNodeDTO(createdStarredNode);
  conversationController.update(createdConversation.getId(),createdConversation);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  UrlParamDTO urlParamDTO=new UrlParamDTO();
  urlParamDTO.setKey("String_Node_Str");
  urlParamDTO.setValue("String_Node_Str");
  List<UrlParamDTO> urlParams=new ArrayList<UrlParamDTO>();
  urlParams.add(urlParamDTO);
  JSONObject jsonObjectSample=new JSONObject();
  jsonObjectSample.put("String_Node_Str","String_Node_Str");
  jsonObjectSample.put("String_Node_Str","String_Node_Str");
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",urlParams,jsonObjectSample,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  BasicAuthDTO basicAuth=new BasicAuthDTO();
  basicAuth.setUsername("String_Node_Str");
  basicAuth.setPassword("String_Node_Str");
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,basicAuth);
}

Fixed version (ground truth):
private void loadNodeData(){
  TagDTO tag1=new TagDTO();
  tag1.setId(impTagId);
  TagDTO tag2=new TagDTO();
  tag2.setId(wlTagId);
  TagDTO tag3=new TagDTO();
  tag3.setId(sampleTagId);
  tags=new ArrayList<TagDTO>();
  tags.add(tag1);
  tags.add(tag2);
  tags.add(tag3);
  NodeDTO firstFolderNode=new NodeDTO();
  firstFolderNode.setName("String_Node_Str");
  firstFolderNode.setNodeType(NodeType.FOLDER.name());
  firstFolderNode.setProjectId(firstProjectId);
  firstFolderNode.setWorkspaceId(demoWorkspaceId);
  ConversationDTO conversationDTO=new ConversationDTO();
  conversationDTO.setWorkspaceId(demoWorkspaceId);
  RfRequestDTO rfRequestDTO=new RfRequestDTO();
  rfRequestDTO.setApiUrl(hostUri + "String_Node_Str");
  rfRequestDTO.setMethodType("String_Node_Str");
  conversationDTO.setRfRequestDTO(rfRequestDTO);
  ConversationDTO postConversationDTO=new ConversationDTO();
  postConversationDTO.setWorkspaceId(demoWorkspaceId);
  RfRequestDTO rfRequestDTO2=new RfRequestDTO();
  rfRequestDTO2.setApiUrl(hostUri + "String_Node_Str");
  rfRequestDTO2.setMethodType("String_Node_Str");
  JSONObject jsonObject=new JSONObject();
  jsonObject.put("String_Node_Str","String_Node_Str");
  jsonObject.put("String_Node_Str","String_Node_Str");
  rfRequestDTO2.setApiBody(jsonObject.toString(4));
  postConversationDTO.setRfRequestDTO(rfRequestDTO2);
  ConversationDTO createdConversation=conversationController.create(conversationDTO);
  ConversationDTO createdPostConversation=conversationController.create(postConversationDTO);
  NodeDTO createdFolderNode=nodeController.create(firstProjectRefId,firstFolderNode);
  NodeDTO childNode=new NodeDTO();
  childNode.setName("String_Node_Str");
  childNode.setDescription("String_Node_Str");
  childNode.setProjectId(firstProjectId);
  childNode.setWorkspaceId(demoWorkspaceId);
  childNode.setConversationDTO(createdConversation);
  NodeDTO createdChildNode=nodeController.create(createdFolderNode.getId(),childNode);
  nodeController.addTags(createdChildNode.getId(),tags);
  createdConversation.setNodeDTO(createdChildNode);
  conversationController.update(createdConversation.getId(),createdConversation);
  NodeDTO secondNode=new NodeDTO();
  secondNode.setName("String_Node_Str");
  secondNode.setDescription("String_Node_Str");
  secondNode.setProjectId(firstProjectId);
  secondNode.setWorkspaceId(demoWorkspaceId);
  secondNode.setConversationDTO(createdPostConversation);
  NodeDTO createdSecondNode=nodeController.create(firstProjectRefId,secondNode);
  nodeController.addTags(createdSecondNode.getId(),tags);
  createdPostConversation.setNodeDTO(createdSecondNode);
  conversationController.update(createdPostConversation.getId(),createdPostConversation);
  NodeDTO dummyNode=new NodeDTO();
  dummyNode.setName("String_Node_Str");
  dummyNode.setProjectId(firstProjectId);
  nodeController.create(firstProjectRefId,dummyNode);
  NodeDTO testNode=new NodeDTO();
  testNode.setName("String_Node_Str");
  testNode.setProjectId(firstProjectId);
  nodeController.create(firstProjectRefId,testNode);
  conversationDTO=new ConversationDTO();
  conversationDTO.setWorkspaceId(demoWorkspaceId);
  rfRequestDTO=new RfRequestDTO();
  rfRequestDTO.setApiUrl(hostUri + "String_Node_Str" + demoWorkspaceId+ "String_Node_Str");
  rfRequestDTO.setMethodType("String_Node_Str");
  conversationDTO.setRfRequestDTO(rfRequestDTO);
  createdConversation=conversationController.create(conversationDTO);
  conversationDTO.setId(createdConversation.getId());
  NodeDTO starredNode=new NodeDTO();
  starredNode.setName("String_Node_Str");
  starredNode.setDescription("String_Node_Str");
  starredNode.setStarred(Boolean.TRUE);
  starredNode.setProjectId(firstProjectId);
  starredNode.setConversationDTO(conversationDTO);
  NodeDTO createdStarredNode=nodeController.create(firstProjectRefId,starredNode);
  createdConversation.setNodeDTO(createdStarredNode);
  conversationController.update(createdConversation.getId(),createdConversation);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  UrlParamDTO urlParamDTO=new UrlParamDTO();
  urlParamDTO.setKey("String_Node_Str");
  urlParamDTO.setValue("String_Node_Str");
  List<UrlParamDTO> urlParams=new ArrayList<UrlParamDTO>();
  urlParams.add(urlParamDTO);
  JSONObject jsonObjectSample=new JSONObject();
  jsonObjectSample.put("String_Node_Str","String_Node_Str");
  jsonObjectSample.put("String_Node_Str","String_Node_Str");
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",urlParams,jsonObjectSample,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,null);
  BasicAuthDTO basicAuth=new BasicAuthDTO();
  basicAuth.setUsername("String_Node_Str");
  basicAuth.setPassword("String_Node_Str");
  createSampleRequest("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",null,null,basicAuth);
}