Program: 153082
Project: 153082
Buggy source:
@Override public View getView(int position,View convertView,ViewGroup parent){
  View view=convertView;
  if (view == null) {
    view=inflater.inflate(R.layout.futaba_catalog_row,null);
  }
  try {
    final FutabaThreadContent item=(FutabaThreadContent)items.get(position);
    final String threadNum="String_Node_Str" + item.threadNum;
    if (true) {
      view.setOnClickListener(new View.OnClickListener(){
        public void onClick(        View v){
          FLog.d("String_Node_Str");
          Intent intent=new Intent();
          Catalog activity=(Catalog)getContext();
          try {
            FutabaThreadContent thread=item;
            if (!activity.mode.equals("String_Node_Str")) {
              thread.baseUrl=activity.baseUrl;
            }
            Calendar calendar=Calendar.getInstance();
            thread.lastAccessed=calendar.getTimeInMillis();
            HistoryManager man=new HistoryManager();
            man.Load();
            int maxHistoryNum=5;
            try {
              SharedPreferences preferences=PreferenceManager.getDefaultSharedPreferences(activity);
              maxHistoryNum=Integer.parseInt(preferences.getString(activity.getString(R.string.historynum),"String_Node_Str"));
            }
 catch (            Exception e) {
              FLog.d("String_Node_Str",e);
            }
            man.addThread(thread,maxHistoryNum);
            man.Save();
          }
 catch (          Exception e) {
            FLog.d("String_Node_Str",e);
          }
          if (!activity.mode.equals("String_Node_Str")) {
            String baseUrl=activity.baseUrl;
            intent.putExtra("String_Node_Str",baseUrl);
            FLog.d("String_Node_Str");
          }
 else {
            String baseUrl=item.baseUrl;
            intent.putExtra("String_Node_Str",baseUrl);
            FLog.d("String_Node_Str");
          }
          intent.putExtra("String_Node_Str",threadNum);
          intent.setClassName(activity.getPackageName(),activity.getClass().getPackage().getName() + "String_Node_Str");
          activity.startActivity(intent);
        }
      }
);
    }
    Bitmap bm=null;
    ImageView iv=(ImageView)view.findViewById(R.id.image);
    iv.setImageBitmap(bm);
    Catalog activity=(Catalog)getContext();
    final int pos=position;
    if (item != null) {
      TextView text=(TextView)view.findViewById(R.id.bottomtext);
      if (item.text != null) {
        CharSequence cs=Html.fromHtml(item.text);
        text.setText(cs);
      }
      TextView resNum=(TextView)view.findViewById(R.id.resnum);
      resNum.setText(item.resNum + "String_Node_Str");
      if (activity.mode.equals("String_Node_Str")) {
        TextView BBSName=(TextView)view.findViewById(R.id.bbsname);
        BBSName.setText("String_Node_Str" + item.BBSName + "String_Node_Str");
        view.setBackgroundColor(Color.parseColor("String_Node_Str"));
        CheckBox checkbox=(CheckBox)view.findViewById(R.id.checkbox);
        checkbox.setChecked(item.isChecked);
        checkbox.setOnCheckedChangeListener(new OnCheckedChangeListener(){
          public void onCheckedChanged(          CompoundButton buttonView,          boolean isChecked){
            FLog.d("String_Node_Str" + buttonView.isShown());
            FLog.d("String_Node_Str" + pos + "String_Node_Str"+ isChecked);
            if (buttonView.isShown()) {
              items.get(pos).isChecked=isChecked;
            }
          }
        }
);
      }
 else {
        CheckBox checkbox=(CheckBox)view.findViewById(R.id.checkbox);
        checkbox.setVisibility(View.GONE);
        TextView nonclickableblank=(TextView)view.findViewById(id.nonclickableblank);
        nonclickableblank.setVisibility(View.GONE);
      }
      bm=Bitmap.createBitmap(50,50,Bitmap.Config.ALPHA_8);
      iv.setImageBitmap(bm);
      try {
        if (item.imgURL != null) {
          iv.setTag(item.imgURL);
          ImageGetTask task=new ImageGetTask(iv);
          task.execute(item.imgURL);
        }
 else {
        }
      }
 catch (      Exception e) {
        FLog.d("String_Node_Str",e);
      }
    }
  }
 catch (  Exception e) {
    FLog.d("String_Node_Str",e);
  }
  return view;
}

Fixed version (ground truth):
@Override public View getView(int position,View convertView,ViewGroup parent){
  View view=convertView;
  if (view == null) {
    view=inflater.inflate(R.layout.futaba_catalog_row,null);
  }
  try {
    final FutabaThreadContent item=(FutabaThreadContent)items.get(position);
    final String threadNum="String_Node_Str" + item.threadNum;
    if (true) {
      view.setOnClickListener(new View.OnClickListener(){
        public void onClick(        View v){
          FLog.d("String_Node_Str");
          Intent intent=new Intent();
          Catalog activity=(Catalog)getContext();
          try {
            FutabaThreadContent thread=item;
            if (!activity.mode.equals("String_Node_Str")) {
              thread.baseUrl=activity.baseUrl;
            }
            Calendar calendar=Calendar.getInstance();
            thread.lastAccessed=calendar.getTimeInMillis();
            HistoryManager man=new HistoryManager();
            man.Load();
            int maxHistoryNum=5;
            try {
              SharedPreferences preferences=PreferenceManager.getDefaultSharedPreferences(activity);
              maxHistoryNum=Integer.parseInt(preferences.getString(activity.getString(R.string.historynum),"String_Node_Str"));
            }
 catch (            Exception e) {
              FLog.d("String_Node_Str",e);
            }
            FLog.d("String_Node_Str" + maxHistoryNum);
            FLog.d("String_Node_Str" + thread.toString());
            man.addThread(thread,maxHistoryNum);
            man.Save();
          }
 catch (          Exception e) {
            FLog.d("String_Node_Str",e);
          }
          if (!activity.mode.equals("String_Node_Str")) {
            String baseUrl=activity.baseUrl;
            intent.putExtra("String_Node_Str",baseUrl);
            FLog.d("String_Node_Str");
          }
 else {
            String baseUrl=item.baseUrl;
            intent.putExtra("String_Node_Str",baseUrl);
            FLog.d("String_Node_Str");
          }
          intent.putExtra("String_Node_Str",threadNum);
          intent.setClassName(activity.getPackageName(),activity.getClass().getPackage().getName() + "String_Node_Str");
          activity.startActivity(intent);
        }
      }
);
    }
    Bitmap bm=null;
    ImageView iv=(ImageView)view.findViewById(R.id.image);
    iv.setImageBitmap(bm);
    Catalog activity=(Catalog)getContext();
    final int pos=position;
    if (item != null) {
      TextView text=(TextView)view.findViewById(R.id.bottomtext);
      if (item.text != null) {
        CharSequence cs=Html.fromHtml(item.text);
        text.setText(cs);
      }
      TextView resNum=(TextView)view.findViewById(R.id.resnum);
      resNum.setText(item.resNum + "String_Node_Str");
      if (activity.mode.equals("String_Node_Str")) {
        TextView BBSName=(TextView)view.findViewById(R.id.bbsname);
        BBSName.setText("String_Node_Str" + item.BBSName + "String_Node_Str");
        view.setBackgroundColor(Color.parseColor("String_Node_Str"));
        CheckBox checkbox=(CheckBox)view.findViewById(R.id.checkbox);
        checkbox.setChecked(item.isChecked);
        checkbox.setOnCheckedChangeListener(new OnCheckedChangeListener(){
          public void onCheckedChanged(          CompoundButton buttonView,          boolean isChecked){
            FLog.d("String_Node_Str" + buttonView.isShown());
            FLog.d("String_Node_Str" + pos + "String_Node_Str"+ isChecked);
            if (buttonView.isShown()) {
              items.get(pos).isChecked=isChecked;
            }
          }
        }
);
      }
 else {
        CheckBox checkbox=(CheckBox)view.findViewById(R.id.checkbox);
        checkbox.setVisibility(View.GONE);
        TextView nonclickableblank=(TextView)view.findViewById(id.nonclickableblank);
        nonclickableblank.setVisibility(View.GONE);
      }
      bm=Bitmap.createBitmap(50,50,Bitmap.Config.ALPHA_8);
      iv.setImageBitmap(bm);
      try {
        if (item.imgURL != null) {
          iv.setTag(item.imgURL);
          ImageGetTask task=new ImageGetTask(iv);
          task.execute(item.imgURL);
        }
 else {
        }
      }
 catch (      Exception e) {
        FLog.d("String_Node_Str",e);
      }
    }
  }
 catch (  Exception e) {
    FLog.d("String_Node_Str",e);
  }
  return view;
}