Program: 188331
Project: 188331
Buggy source:
public void createFolder(final IndexedRepresentation representation,final AsyncCallback<ActionImpact> callback){
  Dialogs.showPromptDialog(messages.createFolderTitle(),null,messages.createFolderPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),new AsyncCallback<String>(){
    @Override public void onFailure(    Throwable caught){
      Toast.showInfo(messages.dialogFailure(),messages.renameFailed());
    }
    @Override public void onSuccess(    final String newName){
      Dialogs.showPromptDialog(messages.outcomeDetailTitle(),null,messages.outcomeDetailPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),new AsyncCallback<String>(){
        @Override public void onFailure(        Throwable caught){
        }
        @Override public void onSuccess(        final String details){
          BrowserService.Util.getInstance().createFolder(representation.getAipId(),representation.getId(),null,newName,details,new LoadingAsyncCallback<IndexedFile>(){
            @Override public void onSuccessImpl(            IndexedFile newFolder){
              HistoryUtils.openBrowse(newFolder);
              callback.onSuccess(ActionImpact.UPDATED);
            }
            @Override public void onFailureImpl(            Throwable caught){
              if (caught instanceof NotFoundException) {
                Toast.showError(messages.moveNoSuchObject(caught.getMessage()));
              }
 else {
                callback.onFailure(caught);
              }
            }
          }
);
        }
      }
);
    }
  }
);
}

Fixed version (ground truth):
public void createFolder(final IndexedRepresentation representation,final AsyncCallback<ActionImpact> callback){
  Dialogs.showPromptDialog(messages.createFolderTitle(),null,messages.createFolderPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),new AsyncCallback<String>(){
    @Override public void onFailure(    Throwable caught){
    }
    @Override public void onSuccess(    final String newName){
      Dialogs.showPromptDialog(messages.outcomeDetailTitle(),null,messages.outcomeDetailPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),new AsyncCallback<String>(){
        @Override public void onFailure(        Throwable caught){
        }
        @Override public void onSuccess(        final String details){
          BrowserService.Util.getInstance().createFolder(representation.getAipId(),representation.getId(),null,newName,details,new LoadingAsyncCallback<IndexedFile>(){
            @Override public void onSuccessImpl(            IndexedFile newFolder){
              HistoryUtils.openBrowse(newFolder);
              callback.onSuccess(ActionImpact.UPDATED);
            }
            @Override public void onFailureImpl(            Throwable caught){
              if (caught instanceof NotFoundException) {
                Toast.showError(messages.moveNoSuchObject(caught.getMessage()));
              }
 else {
                callback.onFailure(caught);
              }
            }
          }
);
        }
      }
);
    }
  }
);
}