Buggy code:
public class IssueListActivity extends BasePagerActivity implements MenuItemCompat . OnActionExpandListener , SearchView . OnCloseListener , SearchView . OnQueryTextListener , View . OnClickListener , LoadingListFragmentBase . OnRecyclerViewCreatedListener { private static final int REQUEST_ISSUE_CREATE = 1001 ; private String mRepoOwner ; private String mRepoName ; private List < String > mSelectedLabels ; private int mSelectedMilestone ; private String mSelectedAssignee ; private String mSearchQuery ; private boolean mSearchMode ; private FloatingActionButton mCreateFab ; private IssueListFragment mOpenFragment ; private IssueListFragment mClosedFragment ; private Boolean mIsCollaborator ; private ProgressDialog mProgressDialog ; private List < Label > mLabels ; private List < Milestone > mMilestones ; private List < User > mAssignees ; protected SortDrawerHelper mSortHelper = new IssueListFragment . SortDrawerHelper ( ) ; private static final String STATE_KEY_SEARCH_QUERY = "search_query" ; private static final String STATE_KEY_SEARCH_MODE = "search_mode" ; private static final String SEARCH_QUERY = "is:%s<seq2seq4repair_space>repo:%s//%s<seq2seq4repair_space>%s" ; private static final int [ ] TITLES = new int [ ] { string . open , string . closed } ; private LoaderCallbacks < List < Label > > mLabelCallback = new LoaderCallbacks < List < Label > > ( this ) { @ Override protected Loader < LoaderResult < List < Label > > > onCreateLoader ( ) { } @ Override protected void onResultReady ( List < Label > result ) { } @ Override protected boolean onError ( Exception e ) { } } ; private LoaderCallbacks < List < Milestone > > mMilestoneCallback = new LoaderCallbacks < List < Milestone > > ( this ) { @ Override protected Loader < LoaderResult < List < Milestone > > > onCreateLoader ( ) { } @ Override protected void onResultReady ( List < Milestone > result ) { } @ Override protected boolean onError ( Exception e ) { } } ; private LoaderCallbacks < List < User > > mCollaboratorListCallback = new LoaderCallbacks < List < User > > ( this ) { @ Override protected Loader < LoaderResult < List < User > > > onCreateLoader ( ) { } @ Override protected void onResultReady ( List < User > result ) { } @ Override protected boolean onError ( Exception e ) { } } ; private LoaderCallbacks < Boolean > mIsCollaboratorCallback = new LoaderCallbacks < Boolean > ( this ) { @ Override protected Loader < LoaderResult < Boolean > > onCreateLoader ( ) { } @ Override protected void onResultReady ( Boolean result ) { } @ Override protected boolean onError ( Exception e ) { } } ; @ Override public void onCreate ( Bundle savedInstanceState ) { } @ Override public void onRefresh ( ) { } @ Override public void onSaveInstanceState ( Bundle outState , PersistableBundle outPersistentState ) { } @ Override protected int [ ] getTabTitleResIds ( ) { } @ Override public void onRecyclerViewCreated ( Fragment fragment , RecyclerView recyclerView ) { } @ Override protected void onPageMoved ( int position , float fraction ) { } @ Override protected int [ ] [ ] getTabHeaderColors ( ) { } @ Override protected Fragment getFragment ( int position ) { } @ Override protected boolean fragmentNeedsRefresh ( Fragment object ) { } @ Override public void onActivityResult ( int requestCode , int resultCode , Intent data ) { } @ Override protected int [ ] getRightNavigationDrawerMenuResources ( ) { } @ Override public boolean onNavigationItemSelected ( MenuItem item ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } @ Override public boolean onMenuItemActionExpand ( MenuItem item ) { } @ Override public boolean onMenuItemActionCollapse ( MenuItem item ) { } @ Override public boolean onClose ( ) { } @ Override public boolean onQueryTextSubmit ( String query ) { } @ Override public boolean onQueryTextChange ( String newText ) { } @ Override public void onClick ( View view ) { } @ Override protected Intent navigateUp ( ) { } private void setSearchMode ( boolean enabled ) { } private Fragment makeListFragment ( int position ) { } private Fragment makeSearchFragment ( int position ) { boolean closed = position == 1 ; Map < String , String > filterData = new HashMap < > ( ) ; filterData . put ( "sort" , mSortHelper . getSortMode ( ) ) ; filterData . put ( "direction" , mSortHelper . getSortDirection ( ) ) ; filterData . put ( "q" , String . format ( Locale . US , IssueListActivity . SEARCH_QUERY , ( closed ? Issue . STATE_CLOSED : Issue . STATE_OPEN ) , mRepoOwner , mRepoName , mSearchQuery ) ) ; <START_BUG> return SearchIssueListFragment . newInstance ( filterData , closed , no_issues_found , false , false ) ; <END_BUG> } private void reloadIssueList ( ) { } private void showLabelsDialog ( ) { } private void showMilestonesDialog ( ) { } private void showAssigneesDialog ( ) { } private void filterAssignee ( ) { } private void filterMilestone ( ) { } private void filterLabel ( ) { } private void manageLabels ( ) { } private void manageMilestones ( ) { } }

Fix:
return SearchIssueListFragment . newInstance ( filterData , closed , no_search_issues_found , false , false ) ;