Program: 144383
Project: 144383
Buggy source:
private OrderItems transformToOrderItemsEntityBean(OrderItemsBean formBean){
  OrderItems entity=new OrderItems();
  Client client=clientService.findClientById(getClientId().toString());
  entity.setClientId(client.getClientId());
  if (formBean.getOrderItemId() != null) {
    entity.setOrderItemId(new Integer(formBean.getOrderItemId()));
  }
  Map sessionAttributes=ActionContext.getContext().getSession();
  entity.setOrderId((Integer)sessionAttributes.get("String_Node_Str"));
  entity.setCommodity(formBean.getDescription());
  entity.setClassification(formBean.getClassification());
  entity.setDeclaredValue(formBean.getDeclaredValue());
  entity.setWeight(formBean.getWeight());
  entity.setNameSize(formBean.getNameSize());
  entity.setServiceRequirement(orderService.findOrdersById((Integer)sessionAttributes.get("String_Node_Str")).getServiceRequirement());
  entity.setRate(formBean.getRate());
  entity.setComments(formBean.getRemarks());
  if (sessionAttributes.get("String_Node_Str").equals("String_Node_Str")) {
    entity.setStatus("String_Node_Str");
  }
 else {
    entity.setStatus("String_Node_Str");
  }
  entity.setVolume(formBean.getVolume());
  entity.setCreatedBy(commonUtils.getUserNameFromSession());
  entity.setModifiedBy(commonUtils.getUserNameFromSession());
  entity.setCreatedTimestamp(new Date());
  entity.setModifiedTimestamp(new Date());
  entity.setVesselScheduleId(formBean.getVesselScheduleId());
  entity.setFinalPickupDate(formBean.getFinalPickupDate());
  entity.setFinalDeliveryDate(formBean.getFinalDeliveryDate());
  entity.setDriverOrigin(formBean.getDriverOrigin());
  entity.setDriverDestination(formBean.getDriverDestination());
  entity.setTruckOrigin(formBean.getTruckOrigin());
  entity.setTruckDestination(formBean.getTruckDestination());
  entity.setVendorOrigin(formBean.getVendorOrigin());
  entity.setVendorDestination(formBean.getVendorDestination());
  entity.setVendorSea(formBean.getVendorSea());
  entity.setContainerId(formBean.getContainerId());
  entity.setServiceRequirement(formBean.getServiceRequirement());
  return entity;
}

Fixed version (ground truth):
private OrderItems transformToOrderItemsEntityBean(OrderItemsBean formBean){
  OrderItems entity=new OrderItems();
  Client client=clientService.findClientById(getClientId().toString());
  entity.setClientId(client.getClientId());
  if (formBean.getOrderItemId() != null) {
    entity.setOrderItemId(new Integer(formBean.getOrderItemId()));
  }
  Map sessionAttributes=ActionContext.getContext().getSession();
  entity.setOrderId((Integer)sessionAttributes.get("String_Node_Str"));
  entity.setCommodity(formBean.getDescription());
  entity.setClassification(formBean.getClassification());
  entity.setDeclaredValue(formBean.getDeclaredValue());
  entity.setWeight(formBean.getWeight());
  entity.setNameSize(formBean.getNameSize());
  entity.setServiceRequirement(orderService.findOrdersById((Integer)sessionAttributes.get("String_Node_Str")).getServiceRequirement());
  entity.setRate(formBean.getRate());
  entity.setComments(formBean.getRemarks());
  if (sessionAttributes.get("String_Node_Str").equals("String_Node_Str")) {
    entity.setStatus("String_Node_Str");
  }
 else   if (sessionAttributes.get("String_Node_Str").equals("String_Node_Str") || sessionAttributes.get("String_Node_Str").equals("String_Node_Str")) {
    entity.setStatus("String_Node_Str");
  }
 else {
    entity.setStatus("String_Node_Str");
  }
  entity.setVolume(formBean.getVolume());
  entity.setCreatedBy(commonUtils.getUserNameFromSession());
  entity.setModifiedBy(commonUtils.getUserNameFromSession());
  entity.setCreatedTimestamp(new Date());
  entity.setModifiedTimestamp(new Date());
  entity.setVesselScheduleId(formBean.getVesselScheduleId());
  entity.setFinalPickupDate(formBean.getFinalPickupDate());
  entity.setFinalDeliveryDate(formBean.getFinalDeliveryDate());
  entity.setDriverOrigin(formBean.getDriverOrigin());
  entity.setDriverDestination(formBean.getDriverDestination());
  entity.setTruckOrigin(formBean.getTruckOrigin());
  entity.setTruckDestination(formBean.getTruckDestination());
  entity.setVendorOrigin(formBean.getVendorOrigin());
  entity.setVendorDestination(formBean.getVendorDestination());
  entity.setVendorSea(formBean.getVendorSea());
  entity.setContainerId(formBean.getContainerId());
  entity.setServiceRequirement(formBean.getServiceRequirement());
  return entity;
}