Program: 16198
Project: 16198
Buggy source:
public void render(final Radio item,final Object data,final int index) throws Exception {
  final Radiogroup radiogroup=item.getRadiogroup();
  final int size=radiogroup.getModel().getSize();
  final Template tm=resoloveTemplate(radiogroup,item,data,index,size,"String_Node_Str");
  if (tm == null) {
    item.setLabel(Objects.toString(data));
    if (data instanceof String) {
      item.setValue((String)data);
    }
  }
 else {
    final ForEachStatus iterStatus=new AbstractForEachStatus(){
      private static final long serialVersionUID=1L;
      @Override public int getIndex(){
        return index;
      }
      @Override public Object getEach(){
        return data;
      }
      @Override public Integer getEnd(){
        return size;
      }
    }
;
    final String var=(String)tm.getParameters().get(EACH_ATTR);
    final String varnm=var == null ? EACH_VAR : var;
    final String itervar=(String)tm.getParameters().get(STATUS_ATTR);
    final String itervarnm=itervar == null ? (var == null ? EACH_STATUS_VAR : varnm + STATUS_POST_VAR) : itervar;
    Object oldVar=radiogroup.getAttribute(varnm);
    Object oldIter=radiogroup.getAttribute(itervarnm);
    radiogroup.setAttribute(varnm,data);
    radiogroup.setAttribute(itervarnm,iterStatus);
    final Component[] items=tm.create(radiogroup,item,null,null);
    radiogroup.setAttribute(varnm,oldVar);
    radiogroup.setAttribute(itervarnm,oldIter);
    if (items.length != 1)     throw new UiException("String_Node_Str" + items.length);
    final Radio nr=(Radio)items[0];
    nr.setAttribute(BinderImpl.VAR,varnm);
    addItemReference(radiogroup,nr,index,varnm);
    nr.setAttribute(itervarnm,iterStatus);
    addTemplateTracking(radiogroup,nr,data,index,size);
    if (nr.getValue() == null && data instanceof String)     nr.setValue((String)data);
    item.setAttribute("String_Node_Str",nr);
    item.detach();
  }
}

Fixed version (ground truth):
public void render(final Radio item,final Object data,final int index) throws Exception {
  final Radiogroup radiogroup=item.getRadiogroup();
  final int size=radiogroup.getModel().getSize();
  final Template tm=resoloveTemplate(radiogroup,item,data,index,size,"String_Node_Str");
  if (tm == null) {
    item.setLabel(Objects.toString(data));
    item.setValue(data);
  }
 else {
    final ForEachStatus iterStatus=new AbstractForEachStatus(){
      private static final long serialVersionUID=1L;
      @Override public int getIndex(){
        return index;
      }
      @Override public Object getEach(){
        return data;
      }
      @Override public Integer getEnd(){
        return size;
      }
    }
;
    final String var=(String)tm.getParameters().get(EACH_ATTR);
    final String varnm=var == null ? EACH_VAR : var;
    final String itervar=(String)tm.getParameters().get(STATUS_ATTR);
    final String itervarnm=itervar == null ? (var == null ? EACH_STATUS_VAR : varnm + STATUS_POST_VAR) : itervar;
    Object oldVar=radiogroup.getAttribute(varnm);
    Object oldIter=radiogroup.getAttribute(itervarnm);
    radiogroup.setAttribute(varnm,data);
    radiogroup.setAttribute(itervarnm,iterStatus);
    final Component[] items=tm.create(radiogroup,item,null,null);
    radiogroup.setAttribute(varnm,oldVar);
    radiogroup.setAttribute(itervarnm,oldIter);
    if (items.length != 1)     throw new UiException("String_Node_Str" + items.length);
    final Radio nr=(Radio)items[0];
    nr.setAttribute(BinderImpl.VAR,varnm);
    addItemReference(radiogroup,nr,index,varnm);
    nr.setAttribute(itervarnm,iterStatus);
    addTemplateTracking(radiogroup,nr,data,index,size);
    if (nr.getValue() == null)     nr.setValue(data);
    item.setAttribute("String_Node_Str",nr);
    item.detach();
  }
}