Program: 177863
Project: 177863
Buggy source:
public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.ui_main);
  final EditText txtEntity=(EditText)findViewById(R.id.txtEntity);
  final EditText txtFB=(EditText)findViewById(R.id.txtFBId);
  final CheckBox chkSSO=(CheckBox)findViewById(R.id.chkFacebook);
  final Button btn=(Button)findViewById(R.id.btnCommentView);
  final Button btnClearCache=(Button)findViewById(R.id.btnClearCache);
  final Button btnActionViewAuto=(Button)findViewById(R.id.btnActionViewAuto);
  final Button btnActionViewManual=(Button)findViewById(R.id.btnActionViewManual);
  btn.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      SocializeUI.getInstance().destroy(SampleActivity.this,true);
      setupOverrides();
      SocializeUI.getInstance().setFacebookAppId(txtFB.getText().toString());
      SocializeUI.getInstance().setFacebookSingleSignOnEnabled(chkSSO.isChecked());
      SocializeUI.getInstance().showCommentView(SampleActivity.this,txtEntity.getText().toString());
    }
  }
);
  btnClearCache.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      final ProgressDialog dialog=ProgressDialog.show(v.getContext(),"String_Node_Str","String_Node_Str");
      new AsyncTask<Void,Void,Void>(){
        @Override protected Void doInBackground(        Void... params){
          try {
            Socialize.getSocialize().init(SampleActivity.this);
            Socialize.getSocialize().clearSessionCache();
          }
  finally {
            Socialize.getSocialize().destroy();
          }
          return null;
        }
        @Override protected void onPostExecute(        Void result){
          dialog.dismiss();
        }
      }
.execute((Void)null);
    }
  }
);
  btnActionViewAuto.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      setupOverrides();
      Intent intent=new Intent(SampleActivity.this,ActionBarAutoActivity.class);
      SocializeUI.getInstance().setEntityUrl(SampleActivity.this,intent,txtEntity.getText().toString());
      SocializeUI.getInstance().setFacebookAppId(txtFB.getText().toString());
      SocializeUI.getInstance().setFacebookSingleSignOnEnabled(chkSSO.isChecked());
      startActivity(intent);
    }
  }
);
  btnActionViewManual.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      setupOverrides();
      Intent intent=new Intent(SampleActivity.this,ActionBarManualActivity.class);
      SocializeUI.getInstance().setEntityUrl(SampleActivity.this,intent,txtEntity.getText().toString());
      SocializeUI.getInstance().setFacebookAppId(txtFB.getText().toString());
      SocializeUI.getInstance().setFacebookSingleSignOnEnabled(chkSSO.isChecked());
      startActivity(intent);
    }
  }
);
  InputMethodManager imm=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
  imm.hideSoftInputFromWindow(txtEntity.getWindowToken(),0);
  imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(),0);
}

Fixed version (ground truth):
public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.ui_main);
  final EditText txtEntity=(EditText)findViewById(R.id.txtEntity);
  final EditText txtFB=(EditText)findViewById(R.id.txtFBId);
  final CheckBox chkSSO=(CheckBox)findViewById(R.id.chkFacebook);
  final Button btn=(Button)findViewById(R.id.btnCommentView);
  final Button btnClearCache=(Button)findViewById(R.id.btnClearCache);
  final Button btnActionViewAuto=(Button)findViewById(R.id.btnActionViewAuto);
  final Button btnActionViewManual=(Button)findViewById(R.id.btnActionViewManual);
  btn.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      SocializeUI.getInstance().destroy(SampleActivity.this,true);
      setupOverrides();
      SocializeUI.getInstance().setFacebookAppId(txtFB.getText().toString());
      SocializeUI.getInstance().setFacebookSingleSignOnEnabled(chkSSO.isChecked());
      SocializeUI.getInstance().showCommentView(SampleActivity.this,txtEntity.getText().toString());
    }
  }
);
  btnClearCache.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      final ProgressDialog dialog=ProgressDialog.show(v.getContext(),"String_Node_Str","String_Node_Str");
      new AsyncTask<Void,Void,Void>(){
        @Override protected Void doInBackground(        Void... params){
          try {
            Socialize.getSocialize().init(SampleActivity.this);
            Socialize.getSocialize().clearSessionCache(SampleActivity.this);
          }
  finally {
            Socialize.getSocialize().destroy();
          }
          return null;
        }
        @Override protected void onPostExecute(        Void result){
          dialog.dismiss();
        }
      }
.execute((Void)null);
    }
  }
);
  btnActionViewAuto.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      setupOverrides();
      Intent intent=new Intent(SampleActivity.this,ActionBarAutoActivity.class);
      SocializeUI.getInstance().setEntityUrl(SampleActivity.this,intent,txtEntity.getText().toString());
      SocializeUI.getInstance().setFacebookAppId(txtFB.getText().toString());
      SocializeUI.getInstance().setFacebookSingleSignOnEnabled(chkSSO.isChecked());
      startActivity(intent);
    }
  }
);
  btnActionViewManual.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      setupOverrides();
      Intent intent=new Intent(SampleActivity.this,ActionBarManualActivity.class);
      SocializeUI.getInstance().setEntityUrl(SampleActivity.this,intent,txtEntity.getText().toString());
      SocializeUI.getInstance().setFacebookAppId(txtFB.getText().toString());
      SocializeUI.getInstance().setFacebookSingleSignOnEnabled(chkSSO.isChecked());
      startActivity(intent);
    }
  }
);
  InputMethodManager imm=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
  imm.hideSoftInputFromWindow(txtEntity.getWindowToken(),0);
  imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(),0);
}