Program: 162580
Project: 162580
Buggy source:
@Override public void onActivityCreated(Bundle savedInstanceState){
  super.onActivityCreated(savedInstanceState);
  Sp=PreferenceManager.getDefaultSharedPreferences(getActivity());
  s=getArguments().getString("String_Node_Str");
  f=new File(s);
  mToolbarContainer=getActivity().findViewById(R.id.lin);
  hidemode=Sp.getInt("String_Node_Str",0);
  paddingTop=(mToolbarHeight=getToolbarHeight(getActivity())) + dpToPx(72);
  listView.setVisibility(View.VISIBLE);
  mLayoutManager=new LinearLayoutManager(getActivity());
  listView.setLayoutManager(mLayoutManager);
  mainActivity.supportInvalidateOptionsMenu();
  if (mainActivity.theme1 == 1)   rootView.setBackgroundColor(getResources().getColor(R.color.holo_dark_background));
 else   listView.setBackgroundColor(getResources().getColor(android.R.color.background_light));
  gobackitem=Sp.getBoolean("String_Node_Str",true);
  coloriseIcons=Sp.getBoolean("String_Node_Str",false);
  Calendar calendar=Calendar.getInstance();
  showSize=Sp.getBoolean("String_Node_Str",false);
  showLastModified=Sp.getBoolean("String_Node_Str",true);
  year=("String_Node_Str" + calendar.get(Calendar.YEAR)).substring(2,4);
  skin=Sp.getString("String_Node_Str","String_Node_Str");
  mainActivity.findViewById(R.id.buttonbarframe).setBackgroundColor(Color.parseColor(skin));
  String x=getSelectionColor();
  skinselection=Color.parseColor(x);
  files=new ArrayList<File>();
  if (savedInstanceState == null)   loadlist(f.getPath());
 else {
    wholelist=savedInstanceState.getParcelableArrayList("String_Node_Str");
    elements=savedInstanceState.getParcelableArrayList("String_Node_Str");
    current=savedInstanceState.getString("String_Node_Str");
    f=new File(savedInstanceState.getString("String_Node_Str"));
    createviews(elements,current);
  }
  mainActivity.tabsSpinner.setVisibility(View.GONE);
  try {
    mainActivity.toolbar.setTitle(f.getName());
  }
 catch (  Exception e) {
    mainActivity.toolbar.setTitle(getResources().getString(R.string.zip_viewer));
  }
  mainActivity.supportInvalidateOptionsMenu();
}

Fixed version (ground truth):
@Override public void onActivityCreated(Bundle savedInstanceState){
  super.onActivityCreated(savedInstanceState);
  Sp=PreferenceManager.getDefaultSharedPreferences(getActivity());
  s=getArguments().getString("String_Node_Str");
  f=new File(s);
  mToolbarContainer=getActivity().findViewById(R.id.lin);
  hidemode=Sp.getInt("String_Node_Str",0);
  paddingTop=(mToolbarHeight=getToolbarHeight(getActivity())) + dpToPx(72);
  listView.setVisibility(View.VISIBLE);
  mLayoutManager=new LinearLayoutManager(getActivity());
  listView.setLayoutManager(mLayoutManager);
  mainActivity.supportInvalidateOptionsMenu();
  if (mainActivity.theme1 == 1)   rootView.setBackgroundColor(getResources().getColor(R.color.holo_dark_background));
 else   listView.setBackgroundColor(getResources().getColor(android.R.color.background_light));
  gobackitem=Sp.getBoolean("String_Node_Str",true);
  coloriseIcons=Sp.getBoolean("String_Node_Str",false);
  Calendar calendar=Calendar.getInstance();
  showSize=Sp.getBoolean("String_Node_Str",false);
  showLastModified=Sp.getBoolean("String_Node_Str",true);
  year=("String_Node_Str" + calendar.get(Calendar.YEAR)).substring(2,4);
  skin=Sp.getString("String_Node_Str","String_Node_Str");
  mainActivity.findViewById(R.id.buttonbarframe).setBackgroundColor(Color.parseColor(skin));
  String x=getSelectionColor();
  skinselection=Color.parseColor(x);
  files=new ArrayList<File>();
  if (savedInstanceState == null)   loadlist(f.getPath());
 else {
    wholelist=savedInstanceState.getParcelableArrayList("String_Node_Str");
    elements=savedInstanceState.getParcelableArrayList("String_Node_Str");
    current=savedInstanceState.getString("String_Node_Str");
    f=new File(savedInstanceState.getString("String_Node_Str"));
    createviews(elements,current);
  }
  mainActivity.tabsSpinner.setVisibility(View.GONE);
  mainActivity.fabHideAnim=AnimationUtils.loadAnimation(getActivity(),R.anim.fab_hide);
  mainActivity.floatingActionButton.setAnimation(mainActivity.fabHideAnim);
  mainActivity.floatingActionButton.animate();
  mainActivity.floatingActionButton.setVisibility(View.GONE);
  try {
    mainActivity.toolbar.setTitle(f.getName());
  }
 catch (  Exception e) {
    mainActivity.toolbar.setTitle(getResources().getString(R.string.zip_viewer));
  }
  mainActivity.supportInvalidateOptionsMenu();
}