Program: 39430
Project: 39430
Buggy source:
private void doLogin(){
  boolean isEmail=false;
  String user=mTitUserId.getText().toString();
  String password=mTitPassWord.getText().toString();
  if (TextUtils.isEmpty(user)) {
    mTilUserId.setError("String_Node_Str");
    return;
  }
  if (TextUtils.isEmpty(password)) {
    mTilPassWord.setError("String_Node_Str");
    return;
  }
  hideKeyboard();
  isEmail=isNameAddressFormat(user);
  userManager.login(isEmail ? null : user,password,isEmail ? user : null,new Handler(){
    @Override public void handleMessage(    Message msg){
      super.handleMessage(msg);
      if (msg.what == Constant.MSG_ERROR) {
        SnackBarUtil.showSnackInfo(mTilUserId,LoginActivity.this,msg.obj.toString());
      }
 else {
        SnackBarUtil.showSnackInfo(mTilUserId,LoginActivity.this,"String_Node_Str");
        new Handler().postDelayed(new Runnable(){
          @Override public void run(){
            SnackBarUtil.showSnackInfo(mTilUserId,LoginActivity.this,"String_Node_Str");
            accountManager.initAccountData(new Handler(){
              @Override public void handleMessage(              Message msg){
                super.handleMessage(msg);
                recordManager.initRecordTypeData(new Handler(){
                  @Override public void handleMessage(                  Message msg){
                    super.handleMessage(msg);
                    recordManager.initRecordData(new Handler(){
                      @Override public void handleMessage(                      Message msg){
                        super.handleMessage(msg);
                        new Handler().postDelayed(new Runnable(){
                          @Override public void run(){
                            setResult(RESULT_OK);
                            finish();
                          }
                        }
,500);
                      }
                    }
);
                  }
                }
);
              }
            }
);
          }
        }
,500);
      }
    }
  }
);
}

Fixed version (ground truth):
private void doLogin(){
  boolean isEmail=false;
  String user=mTitUserId.getText().toString();
  String password=mTitPassWord.getText().toString();
  if (TextUtils.isEmpty(user)) {
    mTilUserId.setError("String_Node_Str");
    return;
  }
  if (TextUtils.isEmpty(password)) {
    mTilPassWord.setError("String_Node_Str");
    return;
  }
  hideKeyboard();
  isEmail=isNameAddressFormat(user);
  userManager.login(isEmail ? null : user,password,isEmail ? user : null,new Handler(){
    @Override public void handleMessage(    Message msg){
      super.handleMessage(msg);
      if (msg.what == Constant.MSG_ERROR) {
        SnackBarUtil.showSnackInfo(mTilUserId,LoginActivity.this,msg.obj.toString());
      }
 else {
        SnackBarUtil.showSnackInfo(mTilUserId,LoginActivity.this,"String_Node_Str");
        new Handler().postDelayed(new Runnable(){
          @Override public void run(){
            SnackBarUtil.showSnackInfo(mTilUserId,LoginActivity.this,"String_Node_Str");
            accountManager.initAccountData(new Handler(){
              @Override public void handleMessage(              Message msg){
                super.handleMessage(msg);
                recordManager.initRecordTypeData(new Handler(){
                  @Override public void handleMessage(                  Message msg){
                    super.handleMessage(msg);
                    recordManager.initRecordData(new Handler(){
                      @Override public void handleMessage(                      Message msg){
                        super.handleMessage(msg);
                        new Handler().postDelayed(new Runnable(){
                          @Override public void run(){
                            setResult(RESULT_OK);
                            finish();
                          }
                        }
,600);
                      }
                    }
);
                  }
                }
);
              }
            }
);
          }
        }
,600);
      }
    }
  }
);
}