Program: 13852
Project: 13852
Buggy source:
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  ((WordPress)getApplicationContext()).component().inject(this);
  int localPostId;
  if (savedInstanceState == null) {
    mSite=(SiteModel)getIntent().getSerializableExtra(WordPress.SITE);
    localPostId=getIntent().getIntExtra(KEY_LOCAL_POST_ID,0);
  }
 else {
    mSite=(SiteModel)savedInstanceState.getSerializable(WordPress.SITE);
    localPostId=savedInstanceState.getInt(KEY_LOCAL_POST_ID,0);
  }
  mPost=mPostStore.getPostByLocalPostId(localPostId);
  if (mSite == null) {
    ToastUtils.showToast(this,R.string.blog_not_found,ToastUtils.Duration.SHORT);
    finish();
    return;
  }
  setContentView(R.layout.post_settings_tags_fragment);
  ActionBar actionBar=getSupportActionBar();
  if (actionBar != null) {
    actionBar.setHomeButtonEnabled(true);
    actionBar.setDisplayHomeAsUpEnabled(true);
  }
  mTagsEditText=(EditText)findViewById(R.id.tags_edit_text);
  RecyclerView recyclerView=(RecyclerView)findViewById(R.id.tags_suggestion_list);
  recyclerView.setHasFixedSize(true);
  recyclerView.setLayoutManager(new LinearLayoutManager(this));
  mAdapter=new TagsRecyclerViewAdapter(this);
  mAdapter.setAllTags(mTaxonomyStore.getTagsForPost(mPost,mSite));
  recyclerView.setAdapter(mAdapter);
  if (mTagsEditText != null) {
    mTagsEditText.addTextChangedListener(this);
    String tags=TextUtils.join("String_Node_Str",mPost.getTagNameList());
    if (!tags.equals("String_Node_Str")) {
      tags+="String_Node_Str";
      mTagsEditText.setText(tags);
      mTagsEditText.setSelection(mTagsEditText.length());
    }
  }
}

Fixed version (ground truth):
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  ((WordPress)getApplicationContext()).component().inject(this);
  int localPostId;
  if (savedInstanceState == null) {
    mSite=(SiteModel)getIntent().getSerializableExtra(WordPress.SITE);
    localPostId=getIntent().getIntExtra(KEY_LOCAL_POST_ID,0);
  }
 else {
    mSite=(SiteModel)savedInstanceState.getSerializable(WordPress.SITE);
    localPostId=savedInstanceState.getInt(KEY_LOCAL_POST_ID,0);
  }
  mPost=mPostStore.getPostByLocalPostId(localPostId);
  if (mSite == null) {
    ToastUtils.showToast(this,R.string.blog_not_found,ToastUtils.Duration.SHORT);
    finish();
    return;
  }
  setContentView(R.layout.post_settings_tags_fragment);
  ActionBar actionBar=getSupportActionBar();
  if (actionBar != null) {
    actionBar.setHomeButtonEnabled(true);
    actionBar.setDisplayHomeAsUpEnabled(true);
  }
  mTagsEditText=(EditText)findViewById(R.id.tags_edit_text);
  RecyclerView recyclerView=(RecyclerView)findViewById(R.id.tags_suggestion_list);
  recyclerView.setHasFixedSize(true);
  recyclerView.setLayoutManager(new LinearLayoutManager(this));
  mAdapter=new TagsRecyclerViewAdapter(this);
  mAdapter.setAllTags(mTaxonomyStore.getTagsForSite(mSite));
  recyclerView.setAdapter(mAdapter);
  if (mTagsEditText != null) {
    mTagsEditText.addTextChangedListener(this);
    String tags=TextUtils.join("String_Node_Str",mPost.getTagNameList());
    if (!tags.equals("String_Node_Str")) {
      tags+="String_Node_Str";
      mTagsEditText.setText(tags);
      mTagsEditText.setSelection(mTagsEditText.length());
    }
  }
}