Program: 51976
Project: 51976
Buggy source:
public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException {
  Request request=ObjectModelHelper.getRequest(objectModel);
  Context context=ContextUtil.obtainContext(objectModel);
  String token=(String)request.getAttribute("String_Node_Str");
  RequestItem requestItem=requestItemService.findByToken(context,token);
  String title;
  Item item=requestItem.getItem();
  String titleDC=item.getName();
  if (titleDC != null || titleDC.length() > 0)   title=titleDC;
 else   title="String_Node_Str";
  RequestItemAuthor author=new DSpace().getServiceManager().getServiceByName(RequestItemAuthorExtractor.class.getName(),RequestItemAuthorExtractor.class).getRequestItemAuthor(context,item);
  Object[] args=new String[]{requestItem.getReqName(),handleService.getCanonicalForm(item.getHandle()),title,author.getFullName(),author.getEmail()};
  String subject=I18nUtil.getMessage("String_Node_Str",context);
  String messageTemplate=MessageFormat.format(I18nUtil.getMessage("String_Node_Str",context),args);
  Division itemRequest=body.addInteractiveDivision("String_Node_Str",request.getRequestURI(),Division.METHOD_POST,"String_Node_Str");
  itemRequest.setHead(T_head);
  itemRequest.addPara(T_para1);
  List form=itemRequest.addList("String_Node_Str",List.TYPE_FORM);
  Text subj=form.addItem().addText("String_Node_Str");
  subj.setLabel(T_subject);
  subj.setValue(subject);
  subj.setSize(60);
  TextArea message=form.addItem().addTextArea("String_Node_Str");
  message.setSize(20,0);
  message.setLabel(T_message);
  message.setValue(parameters.getParameter("String_Node_Str",messageTemplate));
  form.addItem().addHidden("String_Node_Str").setValue(parameters.getParameter("String_Node_Str","String_Node_Str"));
  form.addItem().addButton("String_Node_Str").setValue(T_back);
  form.addItem().addButton("String_Node_Str").setValue(T_mail);
}

Fixed version (ground truth):
public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException {
  Request request=ObjectModelHelper.getRequest(objectModel);
  Context context=ContextUtil.obtainContext(objectModel);
  String token=(String)request.getAttribute("String_Node_Str");
  RequestItem requestItem=requestItemService.findByToken(context,token);
  String title;
  Item item=requestItem.getItem();
  String titleDC=item.getName();
  if (titleDC != null && titleDC.length() > 0)   title=titleDC;
 else   title="String_Node_Str";
  RequestItemAuthor author=new DSpace().getServiceManager().getServiceByName(RequestItemAuthorExtractor.class.getName(),RequestItemAuthorExtractor.class).getRequestItemAuthor(context,item);
  Object[] args=new String[]{requestItem.getReqName(),handleService.getCanonicalForm(item.getHandle()),title,author.getFullName(),author.getEmail()};
  String subject=I18nUtil.getMessage("String_Node_Str",context);
  String messageTemplate=MessageFormat.format(I18nUtil.getMessage("String_Node_Str",context),args);
  Division itemRequest=body.addInteractiveDivision("String_Node_Str",request.getRequestURI(),Division.METHOD_POST,"String_Node_Str");
  itemRequest.setHead(T_head);
  itemRequest.addPara(T_para1);
  List form=itemRequest.addList("String_Node_Str",List.TYPE_FORM);
  Text subj=form.addItem().addText("String_Node_Str");
  subj.setLabel(T_subject);
  subj.setValue(subject);
  subj.setSize(60);
  TextArea message=form.addItem().addTextArea("String_Node_Str");
  message.setSize(20,0);
  message.setLabel(T_message);
  message.setValue(parameters.getParameter("String_Node_Str",messageTemplate));
  form.addItem().addHidden("String_Node_Str").setValue(parameters.getParameter("String_Node_Str","String_Node_Str"));
  form.addItem().addButton("String_Node_Str").setValue(T_back);
  form.addItem().addButton("String_Node_Str").setValue(T_mail);
}