final PhdParticipantBean participantBean = new PhdParticipantBean();
participantBean.setIndividualProgramProcess(individualProcess);
final Teacher teacher = User.findByUsername(getGuidingBean().getTeacherId()).getPerson().getTeacher();
if (teacher == null) {
throw new PhdMigrationGuidingNotFoundException("The guiding is not present in the system as a teacher");
}
for (PhdParticipant existingParticipant : individualProcess.getParticipantsSet()) {
if (!existingParticipant.isInternal()) {
continue;