Program: 188364
Project: 188364
Buggy source:
public void createFolder(final IndexedRepresentation representation,final AsyncCallback<ActionImpact> callback){
  Dialogs.showPromptDialog(messages.createFolderTitle(),null,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,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,null,messages.createFolderPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),true,new AsyncCallback<String>(){
    @Override public void onFailure(    Throwable caught){
    }
    @Override public void onSuccess(    final String newName){
      Dialogs.showPromptDialog(messages.outcomeDetailTitle(),null,null,messages.outcomeDetailPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),false,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);
              }
            }
          }
);
        }
      }
);
    }
  }
);
}