Program: 129251
Project: 129251
Buggy source:
/** 
 * Adding the page to the wizard.
 */
public void addPages(){
  if (isToobar) {
    pathToSave=null;
  }
  ldifFileWizardPage0=new Step0WizardPage(connectionProperty,pathToSave,ERepositoryObjectType.METADATA_FILE_LDIF,!isRepositoryObjectEditable(),creation);
  ldifFileWizardPage1=new LdifFileWizardPage(1,connectionItem,isRepositoryObjectEditable(),existingNames,contextModeManager);
  ldifFileWizardPage2=new LdifFileWizardPage(2,connectionItem,isRepositoryObjectEditable(),existingNames,contextModeManager);
  if (creation) {
    setWindowTitle(Messages.getString("String_Node_Str"));
    ldifFileWizardPage0.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage0.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage0);
    ldifFileWizardPage1.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage1.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage1);
    ldifFileWizardPage2.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage2.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage2);
    ldifFileWizardPage3=new LdifFileWizardPage(3,connectionItem,isRepositoryObjectEditable(),null,contextModeManager);
    ldifFileWizardPage3.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage3.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage3);
    ldifFileWizardPage1.setPageComplete(false);
    ldifFileWizardPage2.setPageComplete(false);
    ldifFileWizardPage3.setPageComplete(false);
  }
 else {
    setWindowTitle(Messages.getString("String_Node_Str"));
    ldifFileWizardPage0.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage0.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage0);
    ldifFileWizardPage1.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage1.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage1);
    ldifFileWizardPage2.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage2.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage2);
    ldifFileWizardPage1.setPageComplete(true);
    ldifFileWizardPage2.setPageComplete(isRepositoryObjectEditable());
  }
}

Fixed version (ground truth):
/** 
 * Adding the page to the wizard.
 */
@Override public void addPages(){
  if (isToobar) {
    pathToSave=null;
  }
  ldifFileWizardPage0=new Step0WizardPage(connectionProperty,pathToSave,ERepositoryObjectType.METADATA_FILE_LDIF,!isRepositoryObjectEditable(),creation);
  ldifFileWizardPage1=new LdifFileWizardPage(1,connectionItem,isRepositoryObjectEditable(),existingNames,contextModeManager);
  ldifFileWizardPage2=new LdifFileWizardPage(2,connectionItem,isRepositoryObjectEditable(),existingNames,contextModeManager);
  if (creation) {
    setWindowTitle(Messages.getString("String_Node_Str"));
    ldifFileWizardPage0.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage0.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage0);
    ldifFileWizardPage1.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage1.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage1);
    ldifFileWizardPage2.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage2.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage2);
    ldifFileWizardPage3=new LdifFileWizardPage(3,connectionItem,isRepositoryObjectEditable(),null,contextModeManager);
    ldifFileWizardPage3.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage3.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage3);
    ldifFileWizardPage1.setPageComplete(false);
    ldifFileWizardPage2.setPageComplete(false);
    ldifFileWizardPage3.setPageComplete(false);
  }
 else {
    setWindowTitle(Messages.getString("String_Node_Str"));
    ldifFileWizardPage0.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage0.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage0);
    ldifFileWizardPage1.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage1.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage1);
    ldifFileWizardPage2.setTitle(Messages.getString("String_Node_Str") + "String_Node_Str" + Messages.getString("String_Node_Str")+ "String_Node_Str");
    ldifFileWizardPage2.setDescription(Messages.getString("String_Node_Str"));
    addPage(ldifFileWizardPage2);
    ldifFileWizardPage1.setPageComplete(true);
    ldifFileWizardPage2.setPageComplete(isRepositoryObjectEditable());
  }
}