Buggy code:
public class BackupRestoreFragment extends Fragment { private static final String TAG = null ; private ArrayList < String > Files = new ArrayList < String > ( ) ; FloatingActionButton fab2 ; private RecyclerView mRecyclerView ; private BackupRestoreFragment . CardViewAdapter3 mAdapter ; private DrawerLayout mDrawerLayout ; private CoordinatorLayout cordLayout = null ; public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { } private void loadToolbarRecyclerViewFab ( ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } private class CardViewAdapter3 extends RecyclerView . Adapter < BackupRestoreFragment . CardViewAdapter3 . ViewHolder > { private ArrayList < String > themes ; private int rowLayout ; private Context mContext ; public CardViewAdapter3 ( ArrayList < String > themes , int rowLayout , Context context ) { } @ Override public BackupRestoreFragment . CardViewAdapter3 . ViewHolder onCreateViewHolder ( ViewGroup viewGroup , int i ) { } @ Override public void onBindViewHolder ( BackupRestoreFragment . CardViewAdapter3 . ViewHolder viewHolder , final int i ) { } @ Override public int getItemCount ( ) { } public class ViewHolder extends RecyclerView . ViewHolder { public TextView themeName ; public ViewHolder ( View itemView ) { } } } private class DeleteBackup extends AsyncTask < String , String , Void > { ProgressDialog progressBackup ; protected void onPreExecute ( ) { } @ Override protected Void doInBackground ( String ... params ) { } protected void onPostExecute ( Void result ) { progressBackup . dismiss ( ) ; CoordinatorLayout coordinatorLayoutView = ( ( CoordinatorLayout ) ( cordLayout . findViewById ( main_content4 ) ) ) ; Snackbar . make ( coordinatorLayoutView , deletedBackup , LENGTH_LONG ) . show ( ) ; new BackupRestoreFragment . LoadAndSet ( ) . execute ( ) ; } } private class BackupOverlays extends AsyncTask < String , String , Void > { ProgressDialog progressBackup ; protected void onPreExecute ( ) { } @ Override protected Void doInBackground ( String ... params ) { } protected void onPostExecute ( Void result ) { progressBackup . dismiss ( ) ; CoordinatorLayout coordinatorLayoutView = ( ( CoordinatorLayout ) ( cordLayout . findViewById ( main_content4 ) ) ) ; Snackbar . make ( coordinatorLayoutView , backupComplete , LENGTH_LONG ) . show ( ) ; new BackupRestoreFragment . LoadAndSet ( ) . execute ( ) ; } } private static void zipFolder ( String inputFolderPath , String outZipPath ) { } private class RestoreOverlays extends AsyncTask < String , String , Void > { ProgressDialog progressBackup ; protected void onPreExecute ( ) { } @ Override protected Void doInBackground ( String ... params ) { } protected void onPostExecute ( Void result ) { progressBackup . dismiss ( ) ; CoordinatorLayout coordinatorLayoutView = ( ( CoordinatorLayout ) ( cordLayout . findViewById ( main_content4 ) ) ) ; Snackbar . make ( coordinatorLayoutView , getResources ( ) . getString ( restored ) , LENGTH_LONG ) . setAction ( Reboot , new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { AlertDialog . Builder progressDialogReboot = new AlertDialog . Builder ( getActivity ( ) ) ; progressDialogReboot . setTitle ( Reboot ) ; progressDialogReboot . setMessage ( PreformReboot ) ; progressDialogReboot . setNegativeButton ( cancel , new DialogInterface . OnClickListener ( ) { @ Override public void onClick ( DialogInterface dialog , int which ) { dialog . dismiss ( ) ; } } ) ; progressDialogReboot . setPositiveButton ( yes , new DialogInterface . OnClickListener ( ) { @ Override public void onClick ( DialogInterface dialog , int which ) { try { Process proc = Runtime . getRuntime ( ) . exec ( new String [ ] { "su" , "-c" , "busybox<seq2seq4repair_space>killall<seq2seq4repair_space>system_server" } ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } dialog . dismiss ( ) ; } } ) ; progressDialogReboot . show ( ) ; } } ) . show ( ) ; new BackupRestoreFragment . LoadAndSet ( ) . execute ( ) ; } } private class LoadAndSet extends AsyncTask < String , String , Void > { protected void onPreExecute ( ) { } @ Override protected Void doInBackground ( String ... params ) { } protected void onPostExecute ( Void result ) { mAdapter = new BackupRestoreFragment . CardViewAdapter3 ( Files , layout . adapter_tablerow , getActivity ( ) ) ; mRecyclerView . setAdapter ( mAdapter ) ; <START_BUG> if ( Files . isEmpty ( ) ) { <END_BUG> ImageView noOverlays = ( ( ImageView ) ( cordLayout . findViewById ( imageView ) ) ) ; TextView noOverlaysText = ( ( TextView ) ( cordLayout . findViewById ( textView7 ) ) ) ; noOverlays . setVisibility ( VISIBLE ) ; noOverlaysText . setVisibility ( VISIBLE ) ; } } } public void unzip ( String zipFile , String location ) throws IOException { } }

Fix:
if ( ( Files ) == null ) {