Program: 31926
Project: 31926
Buggy source:
@SuppressLint("String_Node_Str") @Override public View getView(int position,View convertView,ViewGroup parent){
  final ViewHolder holder;
  if (convertView == null) {
    convertView=mInfalter.inflate(R.layout.gallery_item,null);
    holder=new ViewHolder();
    holder.imgQueue=(ImageView)convertView.findViewById(R.id.imgQueue);
    if (ViewParams.DEFAULT_NUM_CLUMNS != mParams.getNumClumns()) {
      LayoutParams params=holder.imgQueue.getLayoutParams();
      params.width*=ViewParams.DEFAULT_NUM_CLUMNS / mParams.getNumClumns();
      params.height*=ViewParams.DEFAULT_NUM_CLUMNS / mParams.getNumClumns();
      holder.imgQueue.setLayoutParams(params);
    }
    holder.imgQueueMultiSelected=(ImageView)convertView.findViewById(R.id.imgQueueMultiSelected);
    if (mParams.getCheckBoxDrawable() != null) {
      Drawable cloneDrawable=mParams.getCheckBoxDrawable().getConstantState().newDrawable();
      holder.imgQueueMultiSelected.setImageDrawable(cloneDrawable);
    }
    if (mParams.isMutiPick()) {
      holder.imgQueueMultiSelected.setOnClickListener(mCheckboxListener);
      holder.imgQueueMultiSelected.setTag(position);
      holder.imgQueueMultiSelected.setVisibility(View.VISIBLE);
    }
 else {
      holder.imgQueueMultiSelected.setVisibility(View.GONE);
    }
    convertView.setTag(holder);
  }
 else {
    holder=(ViewHolder)convertView.getTag();
  }
  holder.imgQueue.setTag(position);
  mImageLoader.cancelDisplayTask(holder.imgQueue);
  try {
    if (data.get(position).isCameraPhoto) {
      holder.imgQueueMultiSelected.setVisibility(View.GONE);
      if (null != mParams.getTakePhotoDrawable()) {
        holder.imgQueue.setImageDrawable(mParams.getTakePhotoDrawable());
      }
 else {
        holder.imgQueue.setImageResource(R.drawable.take_photo);
      }
    }
 else {
      mImageLoader.displayImage("String_Node_Str" + data.get(position).mPath,holder.imgQueue,new SimpleImageLoadingListener(){
        @Override public void onLoadingStarted(        String imageUri,        View view){
          if (null != mParams.getLoadingImageDrawable()) {
            holder.imgQueue.setImageDrawable(mParams.getLoadingImageDrawable());
          }
 else {
            holder.imgQueue.setImageResource(R.drawable.no_media);
          }
          super.onLoadingStarted(imageUri,view);
        }
      }
);
      if (mParams.isMutiPick()) {
        holder.imgQueueMultiSelected.setSelected(data.get(position).isSeleted);
      }
    }
  }
 catch (  Exception e) {
    Log.e(TAG,e.getMessage());
    e.printStackTrace();
  }
  return convertView;
}

Fixed version (ground truth):
@SuppressLint("String_Node_Str") @Override public View getView(int position,View convertView,ViewGroup parent){
  final ViewHolder holder;
  if (convertView == null) {
    convertView=mInfalter.inflate(R.layout.gallery_item,null);
    holder=new ViewHolder();
    holder.imgQueue=(ImageView)convertView.findViewById(R.id.imgQueue);
    if (ViewParams.DEFAULT_NUM_CLUMNS != mParams.getNumClumns()) {
      LayoutParams params=holder.imgQueue.getLayoutParams();
      params.width=params.width * ViewParams.DEFAULT_NUM_CLUMNS / mParams.getNumClumns();
      params.height=params.height * ViewParams.DEFAULT_NUM_CLUMNS / mParams.getNumClumns();
      holder.imgQueue.setLayoutParams(params);
    }
    holder.imgQueueMultiSelected=(ImageView)convertView.findViewById(R.id.imgQueueMultiSelected);
    if (mParams.getCheckBoxDrawable() != null) {
      Drawable cloneDrawable=mParams.getCheckBoxDrawable().getConstantState().newDrawable();
      holder.imgQueueMultiSelected.setImageDrawable(cloneDrawable);
    }
    if (mParams.isMutiPick()) {
      holder.imgQueueMultiSelected.setOnClickListener(mCheckboxListener);
      holder.imgQueueMultiSelected.setTag(position);
      holder.imgQueueMultiSelected.setVisibility(View.VISIBLE);
    }
 else {
      holder.imgQueueMultiSelected.setVisibility(View.GONE);
    }
    convertView.setTag(holder);
  }
 else {
    holder=(ViewHolder)convertView.getTag();
  }
  holder.imgQueue.setTag(position);
  mImageLoader.cancelDisplayTask(holder.imgQueue);
  try {
    if (data.get(position).isCameraPhoto) {
      holder.imgQueueMultiSelected.setVisibility(View.GONE);
      if (null != mParams.getTakePhotoDrawable()) {
        holder.imgQueue.setImageDrawable(mParams.getTakePhotoDrawable());
      }
 else {
        holder.imgQueue.setImageResource(R.drawable.take_photo);
      }
    }
 else {
      mImageLoader.displayImage("String_Node_Str" + data.get(position).mPath,holder.imgQueue,new SimpleImageLoadingListener(){
        @Override public void onLoadingStarted(        String imageUri,        View view){
          if (null != mParams.getLoadingImageDrawable()) {
            holder.imgQueue.setImageDrawable(mParams.getLoadingImageDrawable());
          }
 else {
            holder.imgQueue.setImageResource(R.drawable.no_media);
          }
          super.onLoadingStarted(imageUri,view);
        }
      }
);
      if (mParams.isMutiPick()) {
        holder.imgQueueMultiSelected.setSelected(data.get(position).isSeleted);
      }
    }
  }
 catch (  Exception e) {
    Log.e(TAG,e.getMessage());
    e.printStackTrace();
  }
  return convertView;
}