Program: 160191
Project: 160191
Buggy source:
private void saveProfile(String editTeamUri) throws Exception {
  MemberProfile existingProfile=new MemberProfile();
  existingProfile.setMemberId("String_Node_Str");
  existingProfile.setName("String_Node_Str");
  existingProfile.setLocation("String_Node_Str");
  existingProfile.setBio("String_Node_Str");
  existingProfile.setGithubUsername("String_Node_Str");
  existingProfile.setTwitterUsername("String_Node_Str");
  existingProfile.setSpeakerdeckUsername("String_Node_Str");
  existingProfile.setLanyrdUsername("String_Node_Str");
  teamRepository.save(existingProfile);
  MockHttpServletRequestBuilder requestBuilder=put(editTeamUri).principal(principal);
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  performRequestAndExpectRedirect(requestBuilder,editTeamUri);
  MemberProfile profile=teamRepository.findByMemberId("String_Node_Str");
  assertThat(profile,not(nullValue()));
  assertEquals("String_Node_Str",profile.getMemberId());
  assertEquals("String_Node_Str",profile.getName());
  assertEquals("String_Node_Str",profile.getLocation());
  assertEquals("String_Node_Str",profile.getBio());
  assertEquals("String_Node_Str",profile.getGithubUsername());
  assertEquals("String_Node_Str",profile.getTwitterUsername());
  assertEquals("String_Node_Str",profile.getSpeakerdeckUsername());
  assertEquals("String_Node_Str",profile.getLanyrdUsername());
  assertEquals("String_Node_Str",profile.getVideoEmbeds());
  assertThat(profile.getGeoLocation(),not(nullValue()));
  assertThat((double)profile.getGeoLocation().getLatitude(),closeTo(-12.5,0.1));
  assertThat((double)profile.getGeoLocation().getLongitude(),closeTo(45.3,0.1));
}

Fixed version (ground truth):
private void saveProfile(String editTeamUri) throws Exception {
  MemberProfile existingProfile=new MemberProfile();
  existingProfile.setMemberId("String_Node_Str");
  existingProfile.setName("String_Node_Str");
  existingProfile.setLocation("String_Node_Str");
  existingProfile.setBio("String_Node_Str");
  existingProfile.setGithubUsername("String_Node_Str");
  existingProfile.setTwitterUsername("String_Node_Str");
  existingProfile.setSpeakerdeckUsername("String_Node_Str");
  existingProfile.setLanyrdUsername("String_Node_Str");
  teamRepository.save(existingProfile);
  MockHttpServletRequestBuilder requestBuilder=put(editTeamUri).principal(principal);
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  requestBuilder.param("String_Node_Str","String_Node_Str");
  performRequestAndExpectRedirect(requestBuilder,editTeamUri);
  MemberProfile profile=teamRepository.findByMemberId("String_Node_Str");
  assertThat(profile,not(nullValue()));
  assertEquals("String_Node_Str",profile.getMemberId());
  assertEquals("String_Node_Str",profile.getGithubUsername());
  assertEquals("String_Node_Str",profile.getName());
  assertEquals("String_Node_Str",profile.getLocation());
  assertEquals("String_Node_Str",profile.getBio());
  assertEquals("String_Node_Str",profile.getTwitterUsername());
  assertEquals("String_Node_Str",profile.getSpeakerdeckUsername());
  assertEquals("String_Node_Str",profile.getLanyrdUsername());
  assertEquals("String_Node_Str",profile.getVideoEmbeds());
  assertThat(profile.getGeoLocation(),not(nullValue()));
  assertThat((double)profile.getGeoLocation().getLatitude(),closeTo(-12.5,0.1));
  assertThat((double)profile.getGeoLocation().getLongitude(),closeTo(45.3,0.1));
}