Program: 39061
Project: 39061
Buggy source:
public void onModuleLoad(){
  UserAgent.assertNotInIFrame();
  initHostname();
  Window.setTitle(M.windowTitle1(myHost));
  initHistoryHooks();
  populateBottomMenu();
  final RootPanel menuArea=RootPanel.get("String_Node_Str");
  final Grid menuLine=new Grid(1,3);
  menuLeft=new TabPanel();
  menuRight=new LinkMenuBar();
  searchPanel=new SearchPanel();
  menuLeft.setStyleName("String_Node_Str");
  menuLine.setStyleName("String_Node_Str");
  menuArea.add(menuLine);
  final FlowPanel menuRightPanel=new FlowPanel();
  menuRightPanel.setStyleName("String_Node_Str");
  menuRightPanel.add(menuRight);
  menuRightPanel.add(searchPanel);
  menuLine.setWidget(0,0,menuLeft);
  menuLine.setWidget(0,1,new FlowPanel());
  menuLine.setWidget(0,2,menuRightPanel);
  final CellFormatter fmt=menuLine.getCellFormatter();
  fmt.setStyleName(0,0,"String_Node_Str");
  fmt.setStyleName(0,1,"String_Node_Str");
  fmt.setStyleName(0,2,"String_Node_Str");
  siteHeader=RootPanel.get("String_Node_Str");
  siteFooter=RootPanel.get("String_Node_Str");
  body=new ViewSite<Screen>(){
    @Override protected void onShowView(    Screen view){
      super.onShowView(view);
      view.onShowView();
    }
  }
;
  RootPanel.get("String_Node_Str").add(body);
  final RpcStatus rpcStatus=new RpcStatus(menuArea);
  JsonUtil.addRpcStartHandler(rpcStatus);
  JsonUtil.addRpcCompleteHandler(rpcStatus);
  final HostPageDataService hpd=GWT.create(HostPageDataService.class);
  hpd.load(new GerritCallback<HostPageData>(){
    public void onSuccess(    final HostPageData result){
      myConfig=result.config;
      if (result.xsrfToken != null) {
        JsonUtil.getDefaultXsrfManager().setToken(null,result.xsrfToken);
      }
      if (result.userAccount != null) {
        myAccount=result.userAccount;
        applyUserPreferences();
      }
      onModuleLoad2();
    }
  }
);
}

Fixed version (ground truth):
public void onModuleLoad(){
  UserAgent.assertNotInIFrame();
  initHostname();
  Window.setTitle(M.windowTitle1(myHost));
  initHistoryHooks();
  populateBottomMenu();
  final RootPanel menuArea=RootPanel.get("String_Node_Str");
  final Grid menuLine=new Grid(1,3);
  menuLeft=new TabPanel();
  menuRight=new LinkMenuBar();
  searchPanel=new SearchPanel();
  menuLeft.setStyleName("String_Node_Str");
  menuLine.setStyleName("String_Node_Str");
  menuArea.add(menuLine);
  final FlowPanel menuRightPanel=new FlowPanel();
  menuRightPanel.setStyleName("String_Node_Str");
  menuRightPanel.add(menuRight);
  menuRightPanel.add(searchPanel);
  menuLine.setWidget(0,0,menuLeft);
  menuLine.setWidget(0,1,new FlowPanel());
  menuLine.setWidget(0,2,menuRightPanel);
  final CellFormatter fmt=menuLine.getCellFormatter();
  fmt.setStyleName(0,0,"String_Node_Str");
  fmt.setStyleName(0,1,"String_Node_Str");
  fmt.setStyleName(0,2,"String_Node_Str");
  siteHeader=RootPanel.get("String_Node_Str");
  siteFooter=RootPanel.get("String_Node_Str");
  body=new ViewSite<Screen>(){
    @Override protected void onShowView(    Screen view){
      super.onShowView(view);
      view.onShowView();
    }
  }
;
  RootPanel.get("String_Node_Str").add(body);
  final RpcStatus rpcStatus=new RpcStatus(menuArea);
  JsonUtil.addRpcStartHandler(rpcStatus);
  JsonUtil.addRpcCompleteHandler(rpcStatus);
  JsonUtil.setDefaultXsrfManager(new XsrfManager(){
    @Override public String getToken(    JsonDefTarget proxy){
      return Cookies.getCookie("String_Node_Str");
    }
    @Override public void setToken(    JsonDefTarget proxy,    String token){
    }
  }
);
  final HostPageDataService hpd=GWT.create(HostPageDataService.class);
  hpd.load(new GerritCallback<HostPageData>(){
    public void onSuccess(    final HostPageData result){
      myConfig=result.config;
      if (result.userAccount != null) {
        myAccount=result.userAccount;
        applyUserPreferences();
      }
      onModuleLoad2();
    }
  }
);
}