Program: 60758
Project: 60758
Buggy source:
@SuppressLint("String_Node_Str") public void showVoteStatusDialog(Context context,String voteStatus){
  String[] temp=StringUtils.split(voteStatus,',');
  final int length=temp.length;
  final String[] userArray=new String[length];
  final String[] voteArray=new String[length];
  for (int i=0; i < length; i++) {
    String str=StringUtils.trim(temp[i]);
    int index=str.lastIndexOf(' ');
    if (index < 0) {
      Log.d(TAG,"String_Node_Str");
      userArray[i]=str;
      voteArray[i]="String_Node_Str";
    }
 else {
      userArray[i]=StringUtils.trim(str.substring(0,index));
      voteArray[i]=StringUtils.trim(str.substring(index + 1));
    }
  }
  AlertDialog.Builder builder=new AlertDialog.Builder(context);
  context=builder.getContext();
  final LayoutInflater inflater=LayoutInflater.from(context);
  EasyRecyclerView rv=(EasyRecyclerView)inflater.inflate(R.layout.dialog_recycler_view,null);
  rv.setAdapter(new RecyclerView.Adapter<InfoHolder>(){
    @Override public InfoHolder onCreateViewHolder(    ViewGroup parent,    int viewType){
      return new InfoHolder(inflater.inflate(R.layout.item_favorite_list,parent,false));
    }
    @Override public void onBindViewHolder(    InfoHolder holder,    int position){
      holder.key.setText(userArray[position]);
      holder.value.setText(voteArray[position]);
    }
    @Override public int getItemCount(){
      return length;
    }
  }
);
  rv.setLayoutManager(new LinearLayoutManager(context));
  LinearDividerItemDecoration decoration=new LinearDividerItemDecoration(LinearDividerItemDecoration.VERTICAL,context.getResources().getColor(R.color.divider),LayoutUtils.dp2pix(context,1));
  decoration.setPadding(ResourcesUtils.getAttrDimensionPixelOffset(context,R.attr.dialogPreferredPadding));
  rv.addItemDecoration(decoration);
  rv.setSelector(Ripple.generateRippleDrawable(context,false));
  rv.setClipToPadding(false);
  builder.setView(rv).show();
}

Fixed version (ground truth):
@SuppressLint("String_Node_Str") public void showVoteStatusDialog(Context context,String voteStatus){
  String[] temp=StringUtils.split(voteStatus,',');
  final int length=temp.length;
  final String[] userArray=new String[length];
  final String[] voteArray=new String[length];
  for (int i=0; i < length; i++) {
    String str=StringUtils.trim(temp[i]);
    int index=str.lastIndexOf(' ');
    if (index < 0) {
      Log.d(TAG,"String_Node_Str");
      userArray[i]=str;
      voteArray[i]="String_Node_Str";
    }
 else {
      userArray[i]=StringUtils.trim(str.substring(0,index));
      voteArray[i]=StringUtils.trim(str.substring(index + 1));
    }
  }
  AlertDialog.Builder builder=new AlertDialog.Builder(context);
  context=builder.getContext();
  final LayoutInflater inflater=LayoutInflater.from(context);
  EasyRecyclerView rv=(EasyRecyclerView)inflater.inflate(R.layout.dialog_recycler_view,null);
  rv.setAdapter(new RecyclerView.Adapter<InfoHolder>(){
    @Override public InfoHolder onCreateViewHolder(    ViewGroup parent,    int viewType){
      return new InfoHolder(inflater.inflate(R.layout.item_drawer_favorites,parent,false));
    }
    @Override public void onBindViewHolder(    InfoHolder holder,    int position){
      holder.key.setText(userArray[position]);
      holder.value.setText(voteArray[position]);
    }
    @Override public int getItemCount(){
      return length;
    }
  }
);
  rv.setLayoutManager(new LinearLayoutManager(context));
  LinearDividerItemDecoration decoration=new LinearDividerItemDecoration(LinearDividerItemDecoration.VERTICAL,context.getResources().getColor(R.color.divider),LayoutUtils.dp2pix(context,1));
  decoration.setPadding(ResourcesUtils.getAttrDimensionPixelOffset(context,R.attr.dialogPreferredPadding));
  rv.addItemDecoration(decoration);
  rv.setSelector(Ripple.generateRippleDrawable(context,false));
  rv.setClipToPadding(false);
  builder.setView(rv).show();
}