Program: 25293
Project: 25293
Buggy source:
public void configField(SchemaField iField){
  if (iField.getFeature(CoreFieldFeatures.EXPAND)) {
    iField.setFeature(ViewFieldFeatures.VISIBLE,false);
  }
  if (iField.getEntity().getFeature(ViewClassFeatures.EXPLICIT_ELEMENTS)) {
    if (!iField.isSettedFeature(ViewFieldFeatures.VISIBLE) && iField.getDescriptorInfo() == null) {
      iField.setFeature(ViewFieldFeatures.VISIBLE,false);
    }
  }
  if (iField.getFeature(CoreFieldFeatures.EMBEDDED)) {
    if (iField.getFeature(ViewFieldFeatures.RENDER) == null && !SchemaHelper.isMultiValueObject(iField))     iField.setFeature(ViewFieldFeatures.RENDER,ViewConstants.RENDER_OBJECTEMBEDDED);
  }
  String classRender=iField.getEntity().getFeature(ViewClassFeatures.RENDER);
  if (classRender != null)   if (classRender.equals(ViewConstants.RENDER_MENU)) {
    iField.setFeature(ViewFieldFeatures.RENDER,ViewConstants.RENDER_MENU);
  }
 else   if (classRender.equals(ViewConstants.RENDER_ACCORDION)) {
    iField.setFeature(ViewFieldFeatures.RENDER,ViewConstants.RENDER_ACCORDION);
  }
  if (SchemaHelper.isMultiValueObject(iField)) {
    iField.setEvent(new SchemaEventAdd(iField));
    iField.setEvent(new SchemaEventView(iField));
    iField.setEvent(new SchemaEventEdit(iField));
    iField.setEvent(new SchemaEventRemove(iField));
    iField.setEvent(new SchemaEventUp(iField));
    iField.setEvent(new SchemaEventDown(iField));
  }
 else   if (iField.getType() != null && !SchemaHelper.isJavaType(iField.getType().getName())) {
    iField.setEvent(new SchemaEventOpen(iField));
    iField.setEvent(new SchemaEventReset(iField));
    iField.setEvent(new SchemaEventSearch(iField));
  }
}

Fixed version (ground truth):
public void configField(SchemaField iField){
  if (iField.getFeature(CoreFieldFeatures.EXPAND)) {
    iField.setFeature(ViewFieldFeatures.VISIBLE,false);
  }
  if (iField.getEntity().getFeature(ViewClassFeatures.EXPLICIT_ELEMENTS)) {
    if (!iField.isSettedFeature(ViewFieldFeatures.VISIBLE) && iField.getDescriptorInfo() == null) {
      iField.setFeature(ViewFieldFeatures.VISIBLE,false);
    }
  }
  if (iField.getFeature(CoreFieldFeatures.EMBEDDED)) {
    if (iField.getFeature(ViewFieldFeatures.RENDER) == null && !SchemaHelper.isMultiValueObject(iField))     iField.setFeature(ViewFieldFeatures.RENDER,ViewConstants.RENDER_OBJECTEMBEDDED);
  }
  String classRender=iField.getEntity().getFeature(ViewClassFeatures.RENDER);
  if (classRender != null)   if (classRender.equals(ViewConstants.RENDER_MENU)) {
    iField.setFeature(ViewFieldFeatures.RENDER,ViewConstants.RENDER_MENU);
  }
 else   if (classRender.equals(ViewConstants.RENDER_ACCORDION)) {
    iField.setFeature(ViewFieldFeatures.RENDER,ViewConstants.RENDER_ACCORDION);
  }
  if (SchemaHelper.isMultiValueObject(iField)) {
    iField.setEvent(new SchemaEventAddInline(iField));
    iField.setEvent(new SchemaEventAdd(iField));
    iField.setEvent(new SchemaEventView(iField));
    iField.setEvent(new SchemaEventEdit(iField));
    iField.setEvent(new SchemaEventRemove(iField));
    iField.setEvent(new SchemaEventUp(iField));
    iField.setEvent(new SchemaEventDown(iField));
  }
 else   if (iField.getType() != null && !SchemaHelper.isJavaType(iField.getType().getName())) {
    iField.setEvent(new SchemaEventOpen(iField));
    iField.setEvent(new SchemaEventReset(iField));
    iField.setEvent(new SchemaEventSearch(iField));
  }
}