Program: 35564
Project: 35564
Buggy source:
/** 
 * Create the project with the current form values.
 */
private void createProject(){
  if (!view.getFormPanel().isValid()) {
    return;
  }
  final String name=view.getNameField().getValue();
  final String fullName=view.getFullNameField().getValue();
  final double budget=view.getBudgetField().getValue() != null ? view.getBudgetField().getValue().doubleValue() : ZERO;
  final Integer projectModelId=view.getModelsField().getValue() != null ? view.getModelsField().getValue().getId() : null;
  final String orgUnitId=view.getOrgUnitsField().getValue() != null ? String.valueOf(view.getOrgUnitsField().getValue().getId()) : null;
  if (Log.isDebugEnabled()) {
    final StringBuilder sb=new StringBuilder();
    sb.append("String_Node_Str");
    sb.append("String_Node_Str");
    sb.append(name);
    sb.append("String_Node_Str");
    sb.append(fullName);
    sb.append("String_Node_Str");
    sb.append(budget);
    sb.append("String_Node_Str");
    sb.append(projectModelId);
    sb.append("String_Node_Str");
    sb.append(orgUnitId);
    Log.debug(sb.toString());
  }
  final HashMap<String,Object> projectProperties=new HashMap<String,Object>();
  projectProperties.put(ProjectDTO.NAME,name);
  projectProperties.put(ProjectDTO.FULL_NAME,fullName);
  projectProperties.put("String_Node_Str",budget);
  projectProperties.put("String_Node_Str",projectModelId);
  projectProperties.put(ProjectDTO.ORG_UNIT_ID,orgUnitId);
  projectProperties.put("String_Node_Str",I18N.CONSTANTS.calendarDefaultName());
  dispatch.execute(new CreateEntity(ProjectDTO.ENTITY_NAME,projectProperties),new CommandResultHandler<CreateResult>(){
    @Override public void onCommandFailure(    Throwable arg0){
      N10N.error(I18N.CONSTANTS.createProjectFailed(),I18N.CONSTANTS.createProjectFailedDetails(),null);
    }
    @Override public void onCommandSuccess(    CreateResult result){
      final ProjectDTO project=(ProjectDTO)result.getEntity();
      if (Log.isDebugEnabled()) {
        Log.debug("String_Node_Str" + project.getId() + "String_Node_Str");
      }
      final Object[] eventParams=new Object[3];
      eventParams[0]=currentMode;
      eventParams[1]=project;
switch (currentMode) {
case FUNDED_BY_ANOTHER_PROJECT:
        eventParams[2]=view.getAmountField().getValue().doubleValue();
      break;
case FUNDING_ANOTHER_PROJECT:
    eventParams[2]=view.getAmountField().getValue().doubleValue();
  break;
case TEST_PROJECT:
view.getTestProjectsField().getStore().add(project);
view.getTestProjectsField().getStore().commitChanges();
break;
default :
break;
}
if (currentMode != Mode.TEST_PROJECT) {
hideView();
}
eventBus.fireEvent(new UpdateEvent(UpdateEvent.PROJECT_CREATE,eventParams));
}
}
,view.getCreateButton());
}

Fixed version (ground truth):
/** 
 * Create the project with the current form values.
 */
private void createProject(){
  if (!view.getFormPanel().isValid()) {
    return;
  }
  final String name=view.getNameField().getValue();
  final String fullName=view.getFullNameField().getValue();
  final double budget=view.getBudgetField().getValue() != null ? view.getBudgetField().getValue().doubleValue() : ZERO;
  final Integer projectModelId=view.getModelsField().getValue() != null ? view.getModelsField().getValue().getId() : null;
  final String orgUnitId=view.getOrgUnitsField().getValue() != null ? String.valueOf(view.getOrgUnitsField().getValue().getId()) : null;
  if (Log.isDebugEnabled()) {
    final StringBuilder sb=new StringBuilder();
    sb.append("String_Node_Str");
    sb.append("String_Node_Str");
    sb.append(name);
    sb.append("String_Node_Str");
    sb.append(fullName);
    sb.append("String_Node_Str");
    sb.append(budget);
    sb.append("String_Node_Str");
    sb.append(projectModelId);
    sb.append("String_Node_Str");
    sb.append(orgUnitId);
    Log.debug(sb.toString());
  }
  final HashMap<String,Object> projectProperties=new HashMap<String,Object>();
  projectProperties.put(ProjectDTO.NAME,name);
  projectProperties.put(ProjectDTO.FULL_NAME,fullName);
  projectProperties.put(ProjectDTO.BUDGET,budget);
  projectProperties.put(ProjectDTO.MODEL_ID,projectModelId);
  projectProperties.put(ProjectDTO.ORG_UNIT_ID,orgUnitId);
  projectProperties.put(ProjectDTO.CALENDAR_NAME,I18N.CONSTANTS.calendarDefaultName());
  projectProperties.put(ProjectDTO.CREATION_MODE,currentMode);
  if (currentMode == Mode.FUNDING_ANOTHER_PROJECT || currentMode == Mode.FUNDED_BY_ANOTHER_PROJECT) {
    projectProperties.put(ProjectDTO.AMOUNT,view.getAmountField().getValue().doubleValue());
    projectProperties.put(ProjectDTO.BASE_PROJECT,baseProject);
  }
  dispatch.execute(new CreateEntity(ProjectDTO.ENTITY_NAME,projectProperties),new CommandResultHandler<CreateResult>(){
    @Override public void onCommandFailure(    Throwable arg0){
      N10N.error(I18N.CONSTANTS.createProjectFailed(),I18N.CONSTANTS.createProjectFailedDetails(),null);
    }
    @Override public void onCommandSuccess(    CreateResult result){
      final ProjectDTO project=(ProjectDTO)result.getEntity();
      if (Log.isDebugEnabled()) {
        Log.debug("String_Node_Str" + project.getId() + "String_Node_Str");
      }
      final Object[] eventParams=new Object[3];
      eventParams[0]=currentMode;
      eventParams[1]=project;
switch (currentMode) {
case FUNDED_BY_ANOTHER_PROJECT:
        eventParams[2]=view.getAmountField().getValue().doubleValue();
      break;
case FUNDING_ANOTHER_PROJECT:
    eventParams[2]=view.getAmountField().getValue().doubleValue();
  break;
case TEST_PROJECT:
view.getTestProjectsField().getStore().add(project);
view.getTestProjectsField().getStore().commitChanges();
break;
default :
break;
}
if (currentMode != Mode.TEST_PROJECT) {
hideView();
}
eventBus.fireEvent(new UpdateEvent(UpdateEvent.PROJECT_CREATE,eventParams));
}
}
,view.getCreateButton());
}