} catch (MergeException e) {
MessagingUtils.informationDialog("Convert not possible", "Person can not be transformed into team. Probably it is referenced in a way that allows only persons. Check referencing objects view for details.");
}
- if (result != null &&result.isOk()){
+ if (result != null && result.isOk()){
team = (Team)result.getCdmEntity();
editor.getEditorInput().getModel().remove(person);
editor.getEditorInput().getModel().add(team);