Program: 86261
Project: 86261
Buggy source:
/** 
 * Swaps fragments in the main content view 
 */
@SuppressLint("String_Node_Str") protected void selectItem(int position){
  try {
    setSupportProgressBarIndeterminateVisibility(false);
  }
 catch (  Exception e) {
  }
  Item item=navAdapter.getItem(position);
  if (item.type == Item.TYPE_SEPARATOR) {
    return;
  }
 else   if (item.type == Item.TYPE_TEXT) {
    if (item.tag.equals("String_Node_Str")) {
      fragment=new SearchFragment();
      setTwoPane(false);
      setFabVisible(true,new View.OnClickListener(){
        @Override public void onClick(        View v){
          ActivityOptionsCompat options=ActivityOptionsCompat.makeScaleUpAnimation(v,Math.round(v.getX()),Math.round(v.getY()),v.getWidth(),v.getHeight());
          ((SearchFragment)fragment).go(options.toBundle());
        }
      }
);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      fragment=new AccountFragment();
      setTwoPane(false);
      setFabVisible(false);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      fragment=new StarredFragment();
      setTwoPane(true);
      setFabVisible(false);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      fragment=new InfoFragment();
      setTwoPane(false);
      setFabVisible(false);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      Intent intent=new Intent(this,MainPreferenceActivity.class);
      startActivity(intent);
      drawerList.setItemChecked(position,false);
      return;
    }
 else     if (item.tag.equals("String_Node_Str")) {
      Intent intent=new Intent(this,AboutActivity.class);
      startActivity(intent);
      drawerList.setItemChecked(position,false);
      return;
    }
    FragmentManager fragmentManager=getSupportFragmentManager();
    fragmentManager.beginTransaction().replace(R.id.content_frame,fragment).commit();
    deselectItemsByType(Item.TYPE_TEXT);
    drawerList.setItemChecked(selectedItemPos,false);
    drawerList.setItemChecked(position,true);
    selectedItemPos=position;
    setTitle(navAdapter.getItem(position).text);
    drawerLayout.closeDrawer(drawer);
  }
 else   if (item.type == Item.TYPE_ACCOUNT) {
    deselectItemsByType(Item.TYPE_ACCOUNT);
    drawerList.setItemChecked(position,true);
    selectaccount(item.accountId);
    drawerLayout.closeDrawer(drawer);
    return;
  }
}

Fixed version (ground truth):
/** 
 * Swaps fragments in the main content view 
 */
@SuppressLint("String_Node_Str") protected void selectItem(int position){
  try {
    setSupportProgressBarIndeterminateVisibility(false);
  }
 catch (  Exception e) {
  }
  Item item=navAdapter.getItem(position);
  if (item.type == Item.TYPE_SEPARATOR) {
    return;
  }
 else   if (item.type == Item.TYPE_TEXT) {
    if (item.tag.equals("String_Node_Str")) {
      fragment=new SearchFragment();
      setTwoPane(false);
      setFabVisible(true);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      fragment=new AccountFragment();
      setTwoPane(false);
      setFabVisible(false);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      fragment=new StarredFragment();
      setTwoPane(true);
      setFabVisible(false);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      fragment=new InfoFragment();
      setTwoPane(false);
      setFabVisible(false);
    }
 else     if (item.tag.equals("String_Node_Str")) {
      Intent intent=new Intent(this,MainPreferenceActivity.class);
      startActivity(intent);
      drawerList.setItemChecked(position,false);
      return;
    }
 else     if (item.tag.equals("String_Node_Str")) {
      Intent intent=new Intent(this,AboutActivity.class);
      startActivity(intent);
      drawerList.setItemChecked(position,false);
      return;
    }
    setFabOnClickListener(item.tag);
    FragmentManager fragmentManager=getSupportFragmentManager();
    fragmentManager.beginTransaction().replace(R.id.content_frame,fragment).commit();
    deselectItemsByType(Item.TYPE_TEXT);
    drawerList.setItemChecked(selectedItemPos,false);
    drawerList.setItemChecked(position,true);
    selectedItemPos=position;
    selectedItemTag=item.tag;
    setTitle(navAdapter.getItem(position).text);
    drawerLayout.closeDrawer(drawer);
  }
 else   if (item.type == Item.TYPE_ACCOUNT) {
    deselectItemsByType(Item.TYPE_ACCOUNT);
    drawerList.setItemChecked(position,true);
    selectaccount(item.accountId);
    drawerLayout.closeDrawer(drawer);
    return;
  }
}