Program: 14090
Project: 14090
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  setHasOptionsMenu(true);
  final ViewGroup rootView=(ViewGroup)inflater.inflate(R.layout.people_list_fragment,container,false);
  mLocalTableBlogID=getArguments().getInt(ARG_LOCAL_TABLE_BLOG_ID);
  final Blog blog=WordPress.getBlog(mLocalTableBlogID);
  final boolean isPrivate=blog != null && blog.isPrivate();
  mFilteredRecyclerView=(FilteredRecyclerView)rootView.findViewById(R.id.filtered_recycler_view);
  mFilteredRecyclerView.addItemDecoration(new PeopleItemDecoration(getActivity(),R.drawable.people_list_divider));
  mFilteredRecyclerView.setLogT(AppLog.T.PEOPLE);
  mFilteredRecyclerView.setSwipeToRefreshEnabled(false);
  mFilteredRecyclerView.setFilterListener(new FilteredRecyclerView.FilterListener(){
    @Override public List<FilterCriteria> onLoadFilterCriteriaOptions(    boolean refresh){
      ArrayList<FilterCriteria> list=new ArrayList<>();
      Collections.addAll(list,PeopleListFilter.values());
      if (!isPrivate) {
        list.remove(PeopleListFilter.VIEWERS);
      }
      return list;
    }
    @Override public void onLoadFilterCriteriaOptionsAsync(    FilteredRecyclerView.FilterCriteriaAsyncLoaderListener listener,    boolean refresh){
    }
    @Override public FilterCriteria onRecallSelection(){
      mPeopleListFilter=AppPrefs.getPeopleListFilter();
      if (mPeopleListFilter == PeopleListFilter.VIEWERS && !isPrivate) {
        mPeopleListFilter=PeopleListFilter.TEAM;
        AppPrefs.setPeopleListFilter(mPeopleListFilter);
      }
      return mPeopleListFilter;
    }
    @Override public void onLoadData(){
      updatePeople(false);
    }
    @Override public void onFilterSelected(    int position,    FilterCriteria criteria){
      mPeopleListFilter=(PeopleListFilter)criteria;
      AppPrefs.setPeopleListFilter(mPeopleListFilter);
    }
    @Override public String onShowEmptyViewMessage(    EmptyViewMessageType emptyViewMsgType){
      if (emptyViewMsgType == EmptyViewMessageType.NO_CONTENT) {
        if (mPeopleListFilter == null) {
          return "String_Node_Str";
        }
 else {
switch (mPeopleListFilter) {
case FOLLOWERS:
            return getString(R.string.people_empty_list_filtered_followers);
case EMAIL_FOLLOWERS:
          return getString(R.string.people_empty_list_filtered_email_followers);
case VIEWERS:
        return getString(R.string.people_empty_list_filtered_viewers);
default :
      return "String_Node_Str";
  }
}
}
 else {
int stringId=0;
switch (emptyViewMsgType) {
case LOADING:
  stringId=R.string.people_fetching;
break;
case NETWORK_ERROR:
stringId=R.string.no_network_message;
break;
case GENERIC_ERROR:
switch (mPeopleListFilter) {
case TEAM:
stringId=R.string.error_fetch_users_list;
break;
case FOLLOWERS:
stringId=R.string.error_fetch_followers_list;
break;
case EMAIL_FOLLOWERS:
stringId=R.string.error_fetch_viewers_list;
break;
}
break;
}
return getString(stringId);
}
}
@Override public void onShowCustomEmptyView(EmptyViewMessageType emptyViewMsgType){
}
}
);
return rootView;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  setHasOptionsMenu(true);
  final ViewGroup rootView=(ViewGroup)inflater.inflate(R.layout.people_list_fragment,container,false);
  mLocalTableBlogID=getArguments().getInt(ARG_LOCAL_TABLE_BLOG_ID);
  final Blog blog=WordPress.getBlog(mLocalTableBlogID);
  final boolean isPrivate=blog != null && blog.isPrivate();
  mFilteredRecyclerView=(FilteredRecyclerView)rootView.findViewById(R.id.filtered_recycler_view);
  mFilteredRecyclerView.addItemDecoration(new PeopleItemDecoration(getActivity(),R.drawable.people_list_divider));
  mFilteredRecyclerView.setLogT(AppLog.T.PEOPLE);
  mFilteredRecyclerView.setSwipeToRefreshEnabled(false);
  mFilteredRecyclerView.setFilterListener(new FilteredRecyclerView.FilterListener(){
    @Override public List<FilterCriteria> onLoadFilterCriteriaOptions(    boolean refresh){
      ArrayList<FilterCriteria> list=new ArrayList<>();
      Collections.addAll(list,PeopleListFilter.values());
      if (!isPrivate) {
        list.remove(PeopleListFilter.VIEWERS);
      }
      return list;
    }
    @Override public void onLoadFilterCriteriaOptionsAsync(    FilteredRecyclerView.FilterCriteriaAsyncLoaderListener listener,    boolean refresh){
    }
    @Override public FilterCriteria onRecallSelection(){
      mPeopleListFilter=AppPrefs.getPeopleListFilter();
      if (mPeopleListFilter == PeopleListFilter.VIEWERS && !isPrivate) {
        mPeopleListFilter=PeopleListFilter.TEAM;
        AppPrefs.setPeopleListFilter(mPeopleListFilter);
      }
      return mPeopleListFilter;
    }
    @Override public void onLoadData(){
      updatePeople(false);
    }
    @Override public void onFilterSelected(    int position,    FilterCriteria criteria){
      mPeopleListFilter=(PeopleListFilter)criteria;
      AppPrefs.setPeopleListFilter(mPeopleListFilter);
    }
    @Override public String onShowEmptyViewMessage(    EmptyViewMessageType emptyViewMsgType){
      if (emptyViewMsgType == EmptyViewMessageType.NO_CONTENT) {
        if (mPeopleListFilter == null) {
          return "String_Node_Str";
        }
 else {
switch (mPeopleListFilter) {
case FOLLOWERS:
            return getString(R.string.people_empty_list_filtered_followers);
case EMAIL_FOLLOWERS:
          return getString(R.string.people_empty_list_filtered_email_followers);
case VIEWERS:
        return getString(R.string.people_empty_list_filtered_viewers);
default :
      return "String_Node_Str";
  }
}
}
 else {
int stringId=0;
switch (emptyViewMsgType) {
case LOADING:
  stringId=R.string.people_fetching;
break;
case NETWORK_ERROR:
stringId=R.string.no_network_message;
break;
case GENERIC_ERROR:
switch (mPeopleListFilter) {
case TEAM:
stringId=R.string.error_fetch_users_list;
break;
case FOLLOWERS:
stringId=R.string.error_fetch_followers_list;
break;
case EMAIL_FOLLOWERS:
stringId=R.string.error_fetch_email_followers_list;
break;
case VIEWERS:
stringId=R.string.error_fetch_viewers_list;
break;
}
break;
}
return getString(stringId);
}
}
@Override public void onShowCustomEmptyView(EmptyViewMessageType emptyViewMsgType){
}
}
);
return rootView;
}