Program: 47502
Project: 47502
Buggy source:
public void fetchMantleSettings(final AsyncCallback<HashMap<String,String>> callback){
  final RequestCallback internalCallback=new RequestCallback(){
    public void onError(    Request request,    Throwable exception){
      MessageDialogBox dialog=new MessageDialogBox(Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"),true,false,true);
      dialog.center();
    }
    public void onResponseReceived(    Request request,    Response response){
      JsArray<JsSetting> jsSettings=JsSetting.parseSettingsJson(JsonUtils.escapeJsonForEval(response.getText()));
      for (int i=0; i < jsSettings.length(); i++) {
        settings.put(jsSettings.get(i).getName(),jsSettings.get(i).getValue());
      }
      settings.put("String_Node_Str","String_Node_Str" + isAdministrator);
      if (callback != null) {
        callback.onSuccess(settings);
      }
      fireMantleSettingsFetched();
    }
  }
;
  final RequestBuilder builder=new RequestBuilder(RequestBuilder.GET,GWT.getHostPageBaseURL() + "String_Node_Str");
  builder.setHeader("String_Node_Str","String_Node_Str");
  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){
        try {
          builder.sendRequest(null,internalCallback);
        }
 catch (        RequestException e) {
        }
        MantleSettingsManager.getInstance().isAdministrator=false;
      }
      public void onResponseReceived(      Request request,      Response response){
        try {
          builder.sendRequest(null,internalCallback);
        }
 catch (        RequestException e) {
        }
        MantleSettingsManager.getInstance().isAdministrator=isAdministrator;
      }
    }
);
  }
 catch (  RequestException e) {
    Window.alert(e.getMessage());
  }
}

Fixed version (ground truth):
public void fetchMantleSettings(final AsyncCallback<HashMap<String,String>> callback){
  final RequestCallback internalCallback=new RequestCallback(){
    public void onError(    Request request,    Throwable exception){
      MessageDialogBox dialog=new MessageDialogBox(Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"),true,false,true);
      dialog.center();
    }
    public void onResponseReceived(    Request request,    Response response){
      JsArray<JsSetting> jsSettings=null;
      try {
        jsSettings=JsSetting.parseSettingsJson(response.getText());
      }
 catch (      Throwable t) {
      }
      for (int i=0; i < jsSettings.length(); i++) {
        settings.put(jsSettings.get(i).getName(),jsSettings.get(i).getValue());
      }
      settings.put("String_Node_Str","String_Node_Str" + isAdministrator);
      if (callback != null) {
        callback.onSuccess(settings);
      }
      fireMantleSettingsFetched();
    }
  }
;
  final RequestBuilder builder=new RequestBuilder(RequestBuilder.GET,GWT.getHostPageBaseURL() + "String_Node_Str");
  builder.setHeader("String_Node_Str","String_Node_Str");
  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){
        try {
          builder.sendRequest(null,internalCallback);
        }
 catch (        RequestException e) {
        }
        MantleSettingsManager.getInstance().isAdministrator=false;
      }
      public void onResponseReceived(      Request request,      Response response){
        try {
          builder.sendRequest(null,internalCallback);
        }
 catch (        RequestException e) {
        }
        MantleSettingsManager.getInstance().isAdministrator=isAdministrator;
      }
    }
);
  }
 catch (  RequestException e) {
    Window.alert(e.getMessage());
  }
}