Program: 162616
Project: 162616
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  rootView=inflater.inflate(R.layout.main_frag,container,false);
  listView=(android.support.v7.widget.RecyclerView)rootView.findViewById(R.id.listView);
  if (getArguments() != null)   Intentpath=getArguments().getString("String_Node_Str");
  animation=AnimationUtils.loadAnimation(getActivity(),R.anim.load_list_anim);
  animation1=AnimationUtils.loadAnimation(getActivity(),R.anim.fab_newtab);
  mToolbarContainer=getActivity().findViewById(R.id.lin);
  buttons=(LinearLayout)getActivity().findViewById(R.id.buttons);
  pathbar=(LinearLayout)getActivity().findViewById(R.id.pathbar);
  showThumbs=Sp.getBoolean("String_Node_Str",true);
  ic=new IconHolder(getActivity(),showThumbs,!islist);
  res=getResources();
  goback=res.getString(R.string.goback);
  itemsstring=res.getString(R.string.items);
  apk=res.getDrawable(R.drawable.ic_doc_apk_grid);
  uimode=Integer.parseInt(Sp.getString("String_Node_Str","String_Node_Str"));
  if (theme1 == 1) {
    mainActivity.getWindow().setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.holo_dark_background)));
  }
 else {
    if (uimode == 0 && islist) {
      mainActivity.getWindow().setBackgroundDrawable(new ColorDrawable(getResources().getColor(android.R.color.background_light)));
    }
  }
  listView.setHasFixedSize(true);
  mLayoutManager=new LinearLayoutManager(getActivity());
  int columns=Integer.parseInt(Sp.getString("String_Node_Str","String_Node_Str"));
  mLayoutManagerGrid=new GridLayoutManager(getActivity(),columns);
  if (islist) {
    listView.setLayoutManager(mLayoutManager);
  }
 else {
    listView.setLayoutManager(mLayoutManagerGrid);
  }
  paddingTop=(mToolbarHeight=getToolbarHeight(getActivity())) + dpToPx(72);
  return rootView;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  rootView=inflater.inflate(R.layout.main_frag,container,false);
  listView=(android.support.v7.widget.RecyclerView)rootView.findViewById(R.id.listView);
  if (getArguments() != null)   Intentpath=getArguments().getString("String_Node_Str");
  animation=AnimationUtils.loadAnimation(getActivity(),R.anim.load_list_anim);
  animation1=AnimationUtils.loadAnimation(getActivity(),R.anim.fab_newtab);
  mToolbarContainer=getActivity().findViewById(R.id.lin);
  buttons=(LinearLayout)getActivity().findViewById(R.id.buttons);
  pathbar=(LinearLayout)getActivity().findViewById(R.id.pathbar);
  showThumbs=Sp.getBoolean("String_Node_Str",true);
  ic=new IconHolder(getActivity(),showThumbs,!islist);
  res=getResources();
  goback=res.getString(R.string.goback);
  itemsstring=res.getString(R.string.items);
  apk=res.getDrawable(R.drawable.ic_doc_apk_grid);
  if (theme1 == 1) {
    mainActivity.getWindow().setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.holo_dark_background)));
  }
 else {
    if (islist)     mainActivity.getWindow().setBackgroundDrawable(new ColorDrawable(getResources().getColor(android.R.color.background_light)));
  }
  listView.setHasFixedSize(true);
  mLayoutManager=new LinearLayoutManager(getActivity());
  int columns=Integer.parseInt(Sp.getString("String_Node_Str","String_Node_Str"));
  mLayoutManagerGrid=new GridLayoutManager(getActivity(),columns);
  if (islist) {
    listView.setLayoutManager(mLayoutManager);
  }
 else {
    listView.setLayoutManager(mLayoutManagerGrid);
  }
  paddingTop=(mToolbarHeight=getToolbarHeight(getActivity())) + dpToPx(72);
  if (hidemode == 2)   mToolbarHeight=paddingTop;
  return rootView;
}