Program: 47445
Project: 47445
Buggy source:
private static void showScheduleDialog(final String fileNameWithPath){
  try {
    final String url=GWT.getHostPageBaseURL() + "String_Node_Str";
    RequestBuilder requestBuilder=new RequestBuilder(RequestBuilder.GET,url);
    requestBuilder.setHeader("String_Node_Str","String_Node_Str");
    requestBuilder.sendRequest(null,new RequestCallback(){
      public void onError(      Request request,      Throwable caught){
        MantleLoginDialog.performLogin(new AsyncCallback<Boolean>(){
          public void onFailure(          Throwable caught){
          }
          public void onSuccess(          Boolean result){
            showScheduleDialog(fileNameWithPath);
          }
        }
);
      }
      public void onResponseReceived(      Request request,      Response response){
        String moduleBaseURL=GWT.getModuleBaseURL();
        String moduleName=GWT.getModuleName();
        final String contextURL=moduleBaseURL.substring(0,moduleBaseURL.lastIndexOf(moduleName));
        String urlPath=fileNameWithPath.replaceAll("String_Node_Str","String_Node_Str");
        RequestBuilder scheduleFileRequestBuilder=new RequestBuilder(RequestBuilder.GET,contextURL + "String_Node_Str" + urlPath+ "String_Node_Str");
        scheduleFileRequestBuilder.setHeader("String_Node_Str","String_Node_Str");
        try {
          scheduleFileRequestBuilder.sendRequest(null,new RequestCallback(){
            public void onError(            Request request,            Throwable exception){
              MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),exception.toString(),false,false,true);
              dialogBox.center();
            }
            public void onResponseReceived(            Request request,            Response response){
              if (response.getStatusCode() == Response.SC_OK) {
                final boolean hasParams=Boolean.parseBoolean(response.getText());
                RequestBuilder emailValidRequest=new RequestBuilder(RequestBuilder.GET,contextURL + "String_Node_Str");
                emailValidRequest.setHeader("String_Node_Str","String_Node_Str");
                try {
                  emailValidRequest.sendRequest(null,new RequestCallback(){
                    public void onError(                    Request request,                    Throwable exception){
                      MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),exception.toString(),false,false,true);
                      dialogBox.center();
                    }
                    public void onResponseReceived(                    Request request,                    Response response){
                      if (response.getStatusCode() == Response.SC_OK) {
                        final boolean isEmailConfValid=Boolean.parseBoolean(response.getText());
                        final NewScheduleDialog dialog=new NewScheduleDialog(fileNameWithPath,null,hasParams,isEmailConfValid);
                        dialog.center();
                      }
                    }
                  }
);
                }
 catch (                RequestException e) {
                  MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),e.toString(),false,false,true);
                  dialogBox.center();
                }
              }
 else {
                MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str") + "String_Node_Str" + response.getStatusCode(),false,false,true);
                dialogBox.center();
              }
            }
          }
);
        }
 catch (        RequestException e) {
          MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),e.toString(),false,false,true);
          dialogBox.center();
        }
      }
    }
);
  }
 catch (  RequestException e) {
    Window.alert(e.getMessage());
  }
}

Fixed version (ground truth):
private static void showScheduleDialog(final String fileNameWithPath){
  final SolutionFileActionEvent event=new SolutionFileActionEvent();
  event.setAction(ScheduleHelper.class.getName());
  try {
    final String url=GWT.getHostPageBaseURL() + "String_Node_Str";
    RequestBuilder requestBuilder=new RequestBuilder(RequestBuilder.GET,url);
    requestBuilder.setHeader("String_Node_Str","String_Node_Str");
    requestBuilder.sendRequest(null,new RequestCallback(){
      public void onError(      Request request,      Throwable caught){
        MantleLoginDialog.performLogin(new AsyncCallback<Boolean>(){
          public void onFailure(          Throwable caught){
          }
          public void onSuccess(          Boolean result){
            showScheduleDialog(fileNameWithPath);
          }
        }
);
      }
      public void onResponseReceived(      Request request,      Response response){
        String moduleBaseURL=GWT.getModuleBaseURL();
        String moduleName=GWT.getModuleName();
        final String contextURL=moduleBaseURL.substring(0,moduleBaseURL.lastIndexOf(moduleName));
        String urlPath=fileNameWithPath.replaceAll("String_Node_Str","String_Node_Str");
        RequestBuilder scheduleFileRequestBuilder=new RequestBuilder(RequestBuilder.GET,contextURL + "String_Node_Str" + urlPath+ "String_Node_Str");
        scheduleFileRequestBuilder.setHeader("String_Node_Str","String_Node_Str");
        try {
          scheduleFileRequestBuilder.sendRequest(null,new RequestCallback(){
            public void onError(            Request request,            Throwable exception){
              MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),exception.toString(),false,false,true);
              dialogBox.center();
              event.setMessage(exception.getLocalizedMessage());
              EventBusUtil.EVENT_BUS.fireEvent(event);
            }
            public void onResponseReceived(            Request request,            Response response){
              if (response.getStatusCode() == Response.SC_OK) {
                final boolean hasParams=Boolean.parseBoolean(response.getText());
                RequestBuilder emailValidRequest=new RequestBuilder(RequestBuilder.GET,contextURL + "String_Node_Str");
                emailValidRequest.setHeader("String_Node_Str","String_Node_Str");
                try {
                  emailValidRequest.sendRequest(null,new RequestCallback(){
                    public void onError(                    Request request,                    Throwable exception){
                      MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),exception.toString(),false,false,true);
                      dialogBox.center();
                      event.setMessage(exception.getLocalizedMessage());
                      EventBusUtil.EVENT_BUS.fireEvent(event);
                    }
                    public void onResponseReceived(                    Request request,                    Response response){
                      if (response.getStatusCode() == Response.SC_OK) {
                        final boolean isEmailConfValid=Boolean.parseBoolean(response.getText());
                        final NewScheduleDialog dialog=new NewScheduleDialog(fileNameWithPath,null,hasParams,isEmailConfValid);
                        dialog.center();
                        event.setMessage("String_Node_Str");
                        EventBusUtil.EVENT_BUS.fireEvent(event);
                      }
                    }
                  }
);
                }
 catch (                RequestException e) {
                  MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),e.toString(),false,false,true);
                  dialogBox.center();
                  event.setMessage(e.getLocalizedMessage());
                  EventBusUtil.EVENT_BUS.fireEvent(event);
                }
              }
 else {
                MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str") + "String_Node_Str" + response.getStatusCode(),false,false,true);
                dialogBox.center();
                event.setMessage(Messages.getString("String_Node_Str") + "String_Node_Str" + response.getStatusCode());
                EventBusUtil.EVENT_BUS.fireEvent(event);
              }
            }
          }
);
        }
 catch (        RequestException e) {
          MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),e.toString(),false,false,true);
          dialogBox.center();
          event.setMessage(e.getLocalizedMessage());
          EventBusUtil.EVENT_BUS.fireEvent(event);
        }
      }
    }
);
  }
 catch (  RequestException e) {
    Window.alert(e.getMessage());
    event.setMessage(e.getLocalizedMessage());
    EventBusUtil.EVENT_BUS.fireEvent(event);
  }
}