Program: 122793
Project: 122793
Buggy source:
@Override public void set(B bean,Object value){
  Object finalValue=value;
  IElementParameter tmpParam=(IElementParameter)itemsValue[curCol];
  boolean included=false;
  for (  Object object : param.getListItemsValue()) {
    if (object instanceof IElementParameter) {
      if (((IElementParameter)object).getShowIf() != null && ((IElementParameter)object).getShowIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
      if (((IElementParameter)object).getNotShowIf() != null && ((IElementParameter)object).getNotShowIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
      if (((IElementParameter)object).getReadOnlyIf() != null && ((IElementParameter)object).getReadOnlyIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
      if (((IElementParameter)object).getNotReadOnlyIf() != null && ((IElementParameter)object).getNotReadOnlyIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
    }
  }
  if (included) {
    IElementParameter param=element.getElementParameter(EParameterName.UPDATE_COMPONENTS.getName());
    if (param != null) {
      param.setValue(Boolean.TRUE);
    }
  }
switch (tmpParam.getFieldType()) {
case CONTEXT_PARAM_NAME_LIST:
case CLOSED_LIST:
case COLUMN_LIST:
case COMPONENT_LIST:
case CONNECTION_LIST:
case LOOKUP_COLUMN_LIST:
case PREV_COLUMN_LIST:
    if (value instanceof String) {
      Object[] itemNames=((IElementParameter)itemsValue[curCol]).getListItemsDisplayName();
      Object[] itemValues=((IElementParameter)itemsValue[curCol]).getListItemsValue();
      boolean found=false;
      int index=0;
      for (int j=0; j < itemNames.length && !found; j++) {
        if (itemNames[j].equals(value)) {
          found=true;
          index=j;
        }
      }
      if (value != null && (index >= 0)) {
        finalValue=itemValues[new Integer(index)];
      }
    }
  break;
case COLOR:
if (value instanceof RGB) {
  RGB rgb=(RGB)value;
  finalValue=rgb.red + "String_Node_Str" + rgb.green+ "String_Node_Str"+ rgb.blue;
}
default :
}
((Map<String,Object>)bean).put(items[curCol],finalValue);
resetValuesIfNeeded(element,param,(Map<String,Object>)bean);
}

Fixed version (ground truth):
@Override public void set(B bean,Object value){
  Object finalValue=value;
  IElementParameter tmpParam=(IElementParameter)itemsValue[curCol];
  boolean included=false;
  for (  Object object : param.getListItemsValue()) {
    if (object instanceof IElementParameter) {
      if (((IElementParameter)object).getShowIf() != null && ((IElementParameter)object).getShowIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
      if (((IElementParameter)object).getNotShowIf() != null && ((IElementParameter)object).getNotShowIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
      if (((IElementParameter)object).getReadOnlyIf() != null && ((IElementParameter)object).getReadOnlyIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
      if (((IElementParameter)object).getNotReadOnlyIf() != null && ((IElementParameter)object).getNotReadOnlyIf().contains(tmpParam.getName())) {
        included=true;
        break;
      }
    }
  }
  if (included) {
    IElementParameter param=element.getElementParameter(EParameterName.UPDATE_COMPONENTS.getName());
    if (param != null) {
      param.setValue(Boolean.TRUE);
    }
  }
switch (tmpParam.getFieldType()) {
case CONTEXT_PARAM_NAME_LIST:
case CLOSED_LIST:
case COLUMN_LIST:
case COMPONENT_LIST:
case CONNECTION_LIST:
case LOOKUP_COLUMN_LIST:
case PREV_COLUMN_LIST:
    if (value instanceof String) {
      Object[] itemNames=((IElementParameter)itemsValue[curCol]).getListItemsDisplayName();
      Object[] itemValues=((IElementParameter)itemsValue[curCol]).getListItemsValue();
      boolean found=false;
      int index=0;
      for (int j=0; j < itemNames.length && !found; j++) {
        if (itemNames[j].equals(value)) {
          found=true;
          index=j;
        }
      }
      if (value != null && (index >= 0)) {
        finalValue=itemValues[new Integer(index)];
      }
    }
  break;
case COLOR:
if (value instanceof RGB) {
  RGB rgb=(RGB)value;
  finalValue=rgb.red + "String_Node_Str" + rgb.green+ "String_Node_Str"+ rgb.blue;
}
default :
}
((Map<String,Object>)bean).put(items[curCol],finalValue);
resetValuesIfNeeded(element,param,(Map<String,Object>)bean);
if (param.getFieldType().equals(EParameterFieldType.TABLE)) {
element.setPropertyValue(param.getName(),param.getValue());
}
}