Program: 52805
Project: 52805
Buggy source:
@Override protected void createFormElements(Composite editArea){
  bindings.createLabel(editArea,type.name());
  if (!allowSelectionOfSecurity) {
    bindings.createLabel(editArea,((Model)getModel()).getSecurity().getName());
  }
 else {
    bindings.bindComboViewer(editArea,Messages.ColumnSecurity,"String_Node_Str",new LabelProvider(){
      @Override public String getText(      Object element){
        return ((Security)element).getName();
      }
    }
,getModel().getClient().getSecurities().toArray());
  }
  bindings.bindComboViewer(editArea,Messages.ColumnPortfolio,"String_Node_Str",new LabelProvider(){
    @Override public String getText(    Object element){
      return ((Portfolio)element).getName();
    }
  }
,getModel().getClient().getPortfolios().toArray());
  bindings.bindMandatorySharesInput(editArea,Messages.ColumnShares,"String_Node_Str").setFocus();
  Label label=new Label(editArea,SWT.NONE);
  label.setText(Messages.ColumnPrice);
  Label lblPrice=new Label(editArea,SWT.BORDER | SWT.READ_ONLY | SWT.NO_FOCUS);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.FILL).grab(true,false).applyTo(lblPrice);
  getBindingContext().bindValue(SWTObservables.observeText(lblPrice),BeansObservables.observeValue(getModel(),"String_Node_Str"),new UpdateValueStrategy(false,UpdateValueStrategy.POLICY_UPDATE).setConverter(new StringToCurrencyConverter(Values.Amount)),new UpdateValueStrategy(false,UpdateValueStrategy.POLICY_UPDATE).setConverter(new CurrencyToStringConverter(Values.Amount)));
  bindings.bindAmountInput(editArea,Messages.ColumnFees,"String_Node_Str");
  bindings.bindMandatoryAmountInput(editArea,Messages.ColumnTotal,"String_Node_Str");
  bindings.bindDatePicker(editArea,Messages.ColumnDate,"String_Node_Str");
}

Fixed version (ground truth):
@Override protected void createFormElements(Composite editArea){
  bindings().createLabel(editArea,type.name());
  if (!allowSelectionOfSecurity) {
    bindings().createLabel(editArea,((Model)getModel()).getSecurity().getName());
  }
 else {
    bindings().bindComboViewer(editArea,Messages.ColumnSecurity,"String_Node_Str",new LabelProvider(){
      @Override public String getText(      Object element){
        return ((Security)element).getName();
      }
    }
,getModel().getClient().getSecurities().toArray());
  }
  bindings().bindComboViewer(editArea,Messages.ColumnPortfolio,"String_Node_Str",new LabelProvider(){
    @Override public String getText(    Object element){
      return ((Portfolio)element).getName();
    }
  }
,getModel().getClient().getPortfolios().toArray());
  bindings().bindMandatorySharesInput(editArea,Messages.ColumnShares,"String_Node_Str").setFocus();
  Label label=new Label(editArea,SWT.NONE);
  label.setText(Messages.ColumnPrice);
  Label lblPrice=new Label(editArea,SWT.BORDER | SWT.READ_ONLY | SWT.NO_FOCUS);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.FILL).grab(true,false).applyTo(lblPrice);
  getBindingContext().bindValue(SWTObservables.observeText(lblPrice),BeansObservables.observeValue(getModel(),"String_Node_Str"),new UpdateValueStrategy(false,UpdateValueStrategy.POLICY_UPDATE).setConverter(new StringToCurrencyConverter(Values.Amount)),new UpdateValueStrategy(false,UpdateValueStrategy.POLICY_UPDATE).setConverter(new CurrencyToStringConverter(Values.Amount)));
  bindings().bindAmountInput(editArea,Messages.ColumnFees,"String_Node_Str");
  bindings().bindMandatoryAmountInput(editArea,Messages.ColumnTotal,"String_Node_Str");
  bindings().bindDatePicker(editArea,Messages.ColumnDate,"String_Node_Str");
}