Program: 162625
Project: 162625
Buggy source:
public void createViews(ArrayList<Layoutelements> bitmap,boolean back,File f){
  try {
    if (bitmap != null) {
      TextView footerText=(TextView)footerView.findViewById(R.id.footerText);
      if (bitmap.size() == 0) {
        footerText.setText(res.getString(R.string.nofiles));
      }
 else {
        footerText.setText(res.getString(R.string.tapnhold));
      }
      if (!f.getPath().equals("String_Node_Str")) {
        if (bitmap.size() == 0 || !bitmap.get(0).getSize().equals(goback))         bitmap.add(0,utils.newElement(res.getDrawable(R.drawable.abc_ic_ab_back_mtrl_am_alpha),"String_Node_Str","String_Node_Str","String_Node_Str",goback,"String_Node_Str",true));
      }
      adapter=new MyAdapter(getActivity(),R.layout.rowlayout,bitmap,ma);
      try {
        if (aBoolean) {
          listView.setAdapter(adapter);
        }
 else {
          gridView.setAdapter(adapter);
        }
        results=false;
        current=f.getPath();
        if (back) {
          if (scrolls.containsKey(current)) {
            Bundle b=scrolls.get(current);
            listView.setSelectionFromTop(b.getInt("String_Node_Str"),b.getInt("String_Node_Str"));
          }
        }
        if (!shouldbbar) {
          shouldbbar=true;
          if (mainActivity.shouldbbar(current))           bbar(current);
        }
 else         bbar(current);
        mainActivity.updateDrawer(current);
        mainActivity.updatepager();
      }
 catch (      Exception e) {
      }
    }
 else {
      loadlist(new File(current),true);
    }
  }
 catch (  Exception e) {
  }
}

Fixed version (ground truth):
public void createViews(ArrayList<Layoutelements> bitmap,boolean back,File f){
  try {
    if (bitmap != null) {
      TextView footerText=(TextView)footerView.findViewById(R.id.footerText);
      if (bitmap.size() == 0) {
        footerText.setText(res.getString(R.string.nofiles));
      }
 else {
        footerText.setText(res.getString(R.string.tapnhold));
      }
      if (!f.getPath().equals("String_Node_Str")) {
        if (bitmap.size() == 0 || !bitmap.get(0).getSize().equals(goback))         bitmap.add(0,utils.newElement(res.getDrawable(R.drawable.abc_ic_ab_back_mtrl_am_alpha),"String_Node_Str","String_Node_Str","String_Node_Str",goback,"String_Node_Str",true));
      }
      adapter=new MyAdapter(getActivity(),R.layout.rowlayout,bitmap,ma);
      try {
        if (aBoolean) {
          listView.setAdapter(adapter);
        }
 else {
          gridView.setAdapter(adapter);
        }
        results=false;
        current=f.getPath();
        if (back) {
          if (scrolls.containsKey(current)) {
            Bundle b=scrolls.get(current);
            listView.setSelectionFromTop(b.getInt("String_Node_Str"),b.getInt("String_Node_Str"));
          }
        }
        floatingActionButton.show();
        if (!shouldbbar) {
          shouldbbar=true;
          if (mainActivity.shouldbbar(current)) {
            updatePath(current);
            if (buttons.getVisibility() == View.VISIBLE)             bbar(current);
          }
        }
 else {
          if (buttons.getVisibility() == View.VISIBLE)           bbar(current);
          updatePath(current);
        }
        mainActivity.updateDrawer(current);
        mainActivity.updatepager();
      }
 catch (      Exception e) {
      }
    }
 else {
      loadlist(new File(current),true);
    }
  }
 catch (  Exception e) {
  }
}