Program: 35702
Project: 35702
Buggy source:
private void loadMap(){
  MapApiLoader.load(new MaskingAsyncMonitor(this,I18N.CONSTANTS.loadingComponent()),new AsyncCallback<Void>(){
    @Override public void onFailure(    Throwable throwable){
      removeAll();
      setLayout(new CenterLayout());
      add(new Html(I18N.CONSTANTS.connectionProblem()));
      layout();
    }
    @Override public void onSuccess(    Void result){
      removeAll();
      BoundingBoxDTO countryBounds=country.getBounds();
      LatLng boundsFromActivity=LatLng.newInstance(countryBounds.getCenterY(),countryBounds.getCenterX());
      map=new MapWidget(boundsFromActivity,8);
      MapType adminMap=MapTypeFactory.createLocalisationMapType(country);
      map.addMapType(adminMap);
      map.setCurrentMapType(adminMap);
      map.addControl(new SmallMapControl());
      setLayout(new FitLayout());
      add(map);
      map.addMapClickHandler(new MapClickHandler(){
        @Override public void onClick(        MapClickEvent event){
          if (event.getOverlay() != null) {
            int siteId=siteIdFromOverlay(event.getOverlay());
            highlightSite(siteId,false);
            eventBus.fireEvent(new SiteEvent(AppEvents.SiteSelected,SiteMap.this,siteId));
          }
        }
      }
);
      map.addMapRightClickHandler(new MapRightClickHandler(){
        public void onRightClick(        MapRightClickEvent event){
          if (event.getOverlay() != null) {
            showContextMenu(event);
          }
        }
      }
);
      Listener<BaseEvent> resizeListener=new Listener<BaseEvent>(){
        @Override public void handleEvent(        BaseEvent be){
          map.checkResizeAndCenter();
          if (pendingZoom != null) {
            zoomToBounds(pendingZoom);
          }
        }
      }
;
      addListener(Events.AfterLayout,resizeListener);
      addListener(Events.Resize,resizeListener);
      new MapDropTarget(SiteMap.this);
      layout();
      doLoadSites();
    }
  }
);
}

Fixed version (ground truth):
private void loadMap(){
  status.setBusy(I18N.CONSTANTS.loadingGoogleMaps());
  MapApiLoader.load(new MaskingAsyncMonitor(this,I18N.CONSTANTS.loadingComponent()),new AsyncCallback<Void>(){
    @Override public void onFailure(    Throwable throwable){
      removeAll();
      setLayout(new CenterLayout());
      add(new Html(I18N.CONSTANTS.connectionProblem()));
      layout();
    }
    @Override public void onSuccess(    Void result){
      removeAll();
      BoundingBoxDTO countryBounds=country.getBounds();
      LatLng boundsFromActivity=LatLng.newInstance(countryBounds.getCenterY(),countryBounds.getCenterX());
      map=new MapWidget(boundsFromActivity,8);
      MapType adminMap=MapTypeFactory.createLocalisationMapType(country);
      map.addMapType(adminMap);
      map.setCurrentMapType(adminMap);
      map.addControl(new SmallMapControl());
      setLayout(new FitLayout());
      add(map);
      map.addMapClickHandler(new MapClickHandler(){
        @Override public void onClick(        MapClickEvent event){
          if (event.getOverlay() != null) {
            int siteId=siteIdFromOverlay(event.getOverlay());
            highlightSite(siteId,false);
            eventBus.fireEvent(new SiteEvent(AppEvents.SiteSelected,SiteMap.this,siteId));
          }
        }
      }
);
      map.addMapRightClickHandler(new MapRightClickHandler(){
        public void onRightClick(        MapRightClickEvent event){
          if (event.getOverlay() != null) {
            showContextMenu(event);
          }
        }
      }
);
      Listener<BaseEvent> resizeListener=new Listener<BaseEvent>(){
        @Override public void handleEvent(        BaseEvent be){
          map.checkResizeAndCenter();
          if (pendingZoom != null) {
            zoomToBounds(pendingZoom);
          }
        }
      }
;
      addListener(Events.AfterLayout,resizeListener);
      addListener(Events.Resize,resizeListener);
      new MapDropTarget(SiteMap.this);
      layout();
      doLoadSites();
    }
  }
);
}