Program: 31915
Project: 31915
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 != mNumClumns) {
      LayoutParams params=holder.imgQueue.getLayoutParams();
      params.height=params.width=params.width * ViewParams.DEFAULT_NUM_CLUMNS / mNumClumns;
      holder.imgQueue.setLayoutParams(params);
    }
    holder.imgQueueMultiSelected=(ImageView)convertView.findViewById(R.id.imgQueueMultiSelected);
    if (mCheckBoxDrawable != null) {
      Drawable cloneDrawable=mCheckBoxDrawable.getConstantState().newDrawable();
      holder.imgQueueMultiSelected.setImageDrawable(cloneDrawable);
    }
    if (isActionMultiplePick) {
      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);
  try {
    if (data.get(position).isCameraPhoto) {
      holder.imgQueueMultiSelected.setVisibility(View.GONE);
      if (null != mTakePhotoDrawable) {
        holder.imgQueue.setImageDrawable(mTakePhotoDrawable);
      }
 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){
          holder.imgQueue.setImageResource(R.drawable.no_media);
          super.onLoadingStarted(imageUri,view);
        }
      }
);
      if (isActionMultiplePick) {
        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 != mNumClumns) {
      LayoutParams params=holder.imgQueue.getLayoutParams();
      params.height=params.width=params.width * ViewParams.DEFAULT_NUM_CLUMNS / mNumClumns;
      holder.imgQueue.setLayoutParams(params);
    }
    holder.imgQueueMultiSelected=(ImageView)convertView.findViewById(R.id.imgQueueMultiSelected);
    if (mCheckBoxDrawable != null) {
      Drawable cloneDrawable=mCheckBoxDrawable.getConstantState().newDrawable();
      holder.imgQueueMultiSelected.setImageDrawable(cloneDrawable);
    }
    if (isActionMultiplePick) {
      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 != mTakePhotoDrawable) {
        holder.imgQueue.setImageDrawable(mTakePhotoDrawable);
      }
 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){
          holder.imgQueue.setImageResource(R.drawable.no_media);
          super.onLoadingStarted(imageUri,view);
        }
      }
);
      if (isActionMultiplePick) {
        holder.imgQueueMultiSelected.setSelected(data.get(position).isSeleted);
      }
    }
  }
 catch (  Exception e) {
    Log.e(TAG,e.getMessage());
    e.printStackTrace();
  }
  return convertView;
}