Program: 49817
Project: 49817
Buggy source:
@Override public void onResume(){
  super.onResume();
  Log.d(TAG,"String_Node_Str" + items);
  Intent intent=getIntent();
  version=intent.getStringExtra("String_Node_Str");
  if (version != null) {
    Log.d(TAG,"String_Node_Str" + version);
    bible.checkVersions();
    bible.setVersion(version);
  }
 else {
    version=bible.getVersion();
  }
  if (items == null) {
    search=intent.getStringExtra("String_Node_Str");
    items=intent.getParcelableArrayListExtra("String_Node_Str");
  }
  SharedPreferences sp=PreferenceManager.getDefaultSharedPreferences(this);
  if (items == null && search == null) {
    search=sp.getString("String_Node_Str","String_Node_Str");
    if (!"String_Node_Str".equals(search)) {
      Log.d(TAG,"String_Node_Str");
      Intent passageIntent=new Intent(getApplicationContext(),Passage.class);
      passageIntent.setAction(Intent.ACTION_VIEW);
      passageIntent.setData(Uri.parse("String_Node_Str" + search));
      startActivity(passageIntent);
      finish();
    }
  }
  index=sp.getInt("String_Node_Str",0);
  fontsize=sp.getInt("String_Node_Str" + bible.getVersion(),0);
  if (fontsize == 0) {
    fontsize=sp.getInt("String_Node_Str",16);
  }
  if (fontsize > 32) {
    fontsize=32;
  }
  if (!version.equals(bible.getVersion()) && !osis.equals("String_Node_Str")) {
    uri=Provider.CONTENT_URI_CHAPTER.buildUpon().appendEncodedPath(osis).build();
  }
  if (background == null) {
    int color=0x6633B5E5;
    Integer mHighlightColor=(Integer)getField(findViewById(R.id.version),TextView.class,"String_Node_Str");
    if (mHighlightColor != null) {
      color=mHighlightColor.intValue();
    }
    background=String.format("String_Node_Str",(color >> 16) & 0xFF,(color >> 8) & 0xFF,color & 0xFF,(color >>> 24) / 255.0);
    Log.d(TAG,String.format("String_Node_Str",color,background));
  }
  showView(R.id.search,true);
  if (items == null || items.size() == 0) {
    showView(R.id.items,false);
    showView(R.id.book,true);
    showView(R.id.chapter,true);
    showUri(uri);
  }
 else {
    showView(R.id.items,true);
    showView(R.id.book,false);
    showView(R.id.chapter,false);
    if (this.index > -1 && this.index < items.size()) {
      showItem(this.index);
    }
 else {
      showItem(0);
    }
  }
}

Fixed version (ground truth):
@Override public void onResume(){
  super.onResume();
  Log.d(TAG,"String_Node_Str" + items);
  SharedPreferences sp=PreferenceManager.getDefaultSharedPreferences(this);
  if (items == null && search == null) {
    if (!"String_Node_Str".equals(sp.getString("String_Node_Str","String_Node_Str"))) {
      index=sp.getInt("String_Node_Str",0);
      Log.d(TAG,"String_Node_Str");
      Intent passageIntent=new Intent(getApplicationContext(),Passage.class);
      passageIntent.setAction(Intent.ACTION_VIEW);
      passageIntent.setData(Uri.parse("String_Node_Str" + sp.getString("String_Node_Str","String_Node_Str")));
      startActivity(passageIntent);
      finish();
    }
  }
  fontsize=sp.getInt("String_Node_Str" + bible.getVersion(),0);
  if (fontsize == 0) {
    fontsize=sp.getInt("String_Node_Str",16);
  }
  if (fontsize > 32) {
    fontsize=32;
  }
  if (!version.equals(bible.getVersion()) && !osis.equals("String_Node_Str")) {
    uri=Provider.CONTENT_URI_CHAPTER.buildUpon().appendEncodedPath(osis).build();
  }
  if (background == null) {
    int color=0x6633B5E5;
    Integer mHighlightColor=(Integer)getField(findViewById(R.id.version),TextView.class,"String_Node_Str");
    if (mHighlightColor != null) {
      color=mHighlightColor.intValue();
    }
    background=String.format("String_Node_Str",(color >> 16) & 0xFF,(color >> 8) & 0xFF,color & 0xFF,(color >>> 24) / 255.0);
    Log.d(TAG,String.format("String_Node_Str",color,background));
  }
  showView(R.id.search,true);
  if (items == null || items.size() == 0) {
    showView(R.id.items,false);
    showView(R.id.book,true);
    showView(R.id.chapter,true);
    showUri(uri);
  }
 else {
    showView(R.id.items,true);
    showView(R.id.book,false);
    showView(R.id.chapter,false);
    if (this.index > -1 && this.index < items.size()) {
      showItem(this.index);
    }
 else {
      showItem(0);
    }
  }
}