Program: 142345
Project: 142345
Buggy source:
private void configUi(){
  TextView version=(TextView)findViewById(R.id.str_version);
  version.setText(CommCareApplication._().getCurrentVersionString());
  platform=CommCareApplication._().getCommCarePlatform();
  startButton=(Button)findViewById(R.id.home_start);
  startButton.setText(Localization.get("String_Node_Str"));
  startButton.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      Intent i=new Intent(getApplicationContext(),MenuList.class);
      startActivityForResult(i,GET_COMMAND);
    }
  }
);
  viewIncomplete=(Button)findViewById(R.id.home_forms_incomplete);
  viewIncomplete.setText(Localization.get("String_Node_Str"));
  viewIncomplete.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      Intent i=new Intent(getApplicationContext(),FormRecordListActivity.class);
      i.putExtra(FormRecord.META_STATUS,FormRecord.STATUS_INCOMPLETE);
      startActivityForResult(i,GET_INCOMPLETE_FORM);
    }
  }
);
  logoutButton=(Button)findViewById(R.id.home_logout);
  logoutButton.setText(Localization.get("String_Node_Str"));
  logoutButton.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      CommCareApplication._().logout();
      dispatchHomeScreen();
    }
  }
);
  TextView formGroupLabel=(TextView)findViewById(R.id.home_formrecords_label);
  formGroupLabel.setText(Localization.get("String_Node_Str"));
  viewOldForms=(Button)findViewById(R.id.home_forms_old);
  viewOldForms.setText(Localization.get("String_Node_Str"));
  viewOldForms.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      Intent i=new Intent(getApplicationContext(),FormRecordListActivity.class);
      startActivityForResult(i,GET_INCOMPLETE_FORM);
    }
  }
);
  syncButton=(Button)findViewById(R.id.home_sync);
  syncButton.setText(Localization.get("String_Node_Str"));
  syncButton.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      boolean formsToSend=checkAndStartUnsentTask(new ProcessTaskListener(){
        public void processTaskAllProcessed(){
        }
        public void processAndSendFinished(        int result,        int successfulSends){
          if (currentHome != CommCareHomeActivity.this) {
            System.out.println("String_Node_Str");
          }
          if (result == ProcessAndSendTask.FULL_SUCCESS) {
            String label=Localization.get("String_Node_Str",new String[]{String.valueOf(successfulSends)});
            Toast.makeText(currentHome,label,Toast.LENGTH_LONG).show();
            refreshView();
            syncData();
          }
 else           if (result == ProcessAndSendTask.FAILURE) {
            currentHome.dismissDialog(mCurrentDialog);
          }
 else {
            currentHome.dismissDialog(mCurrentDialog);
            Toast.makeText(currentHome,Localization.get("String_Node_Str"),Toast.LENGTH_LONG).show();
          }
        }
      }
);
      if (!formsToSend) {
        syncData();
      }
    }
  }
);
}

Fixed version (ground truth):
private void configUi(){
  TextView version=(TextView)findViewById(R.id.str_version);
  version.setText(CommCareApplication._().getCurrentVersionString());
  platform=CommCareApplication._().getCommCarePlatform();
  startButton=(Button)findViewById(R.id.home_start);
  startButton.setText(Localization.get("String_Node_Str"));
  startButton.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      Intent i=new Intent(getApplicationContext(),MenuList.class);
      startActivityForResult(i,GET_COMMAND);
    }
  }
);
  viewIncomplete=(Button)findViewById(R.id.home_forms_incomplete);
  viewIncomplete.setText(Localization.get("String_Node_Str"));
  viewIncomplete.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      Intent i=new Intent(getApplicationContext(),FormRecordListActivity.class);
      i.putExtra(FormRecord.META_STATUS,FormRecord.STATUS_INCOMPLETE);
      startActivityForResult(i,GET_INCOMPLETE_FORM);
    }
  }
);
  logoutButton=(Button)findViewById(R.id.home_logout);
  logoutButton.setText(Localization.get("String_Node_Str"));
  logoutButton.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      CommCareApplication._().logout();
      dispatchHomeScreen();
    }
  }
);
  TextView formGroupLabel=(TextView)findViewById(R.id.home_formrecords_label);
  formGroupLabel.setText(Localization.get("String_Node_Str"));
  viewOldForms=(Button)findViewById(R.id.home_forms_old);
  viewOldForms.setText(Localization.get("String_Node_Str"));
  viewOldForms.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      Intent i=new Intent(getApplicationContext(),FormRecordListActivity.class);
      startActivityForResult(i,GET_INCOMPLETE_FORM);
    }
  }
);
  syncButton=(Button)findViewById(R.id.home_sync);
  syncButton.setText(Localization.get("String_Node_Str"));
  syncButton.setOnClickListener(new OnClickListener(){
    public void onClick(    View v){
      boolean formsToSend=checkAndStartUnsentTask(new ProcessTaskListener(){
        public void processTaskAllProcessed(){
        }
        public void processAndSendFinished(        int result,        int successfulSends){
          if (currentHome != CommCareHomeActivity.this) {
            System.out.println("String_Node_Str");
          }
          if (result == ProcessAndSendTask.FULL_SUCCESS) {
            currentHome.dismissDialog(mCurrentDialog);
            String label=Localization.get("String_Node_Str",new String[]{String.valueOf(successfulSends)});
            Toast.makeText(currentHome,label,Toast.LENGTH_LONG).show();
            refreshView();
            syncData();
          }
 else           if (result == ProcessAndSendTask.FAILURE) {
            currentHome.dismissDialog(mCurrentDialog);
          }
 else {
            currentHome.dismissDialog(mCurrentDialog);
            Toast.makeText(currentHome,Localization.get("String_Node_Str"),Toast.LENGTH_LONG).show();
          }
        }
      }
);
      if (!formsToSend) {
        syncData();
      }
    }
  }
);
}