Program: 18390
Project: 18390
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
  setContentView(R.layout.activity_age_distribution);
  setTitle("String_Node_Str");
  mChart=(HorizontalBarChart)findViewById(R.id.chart1);
  mChart.setOnChartValueSelectedListener(this);
  mChart.setDrawGridBackground(false);
  mChart.setDescription("String_Node_Str");
  mChart.setPinchZoom(false);
  mChart.setDrawBarShadow(false);
  mChart.setDrawValueAboveBar(true);
  mChart.getAxisLeft().setEnabled(false);
  mChart.getAxisRight().setStartAtZero(false);
  mChart.getAxisRight().setAxisMaxValue(25f);
  mChart.getAxisRight().setAxisMinValue(-25f);
  mChart.getAxisRight().setLabelCount(7);
  mChart.getAxisRight().setValueFormatter(new CustomFormatter());
  mChart.getAxisRight().setTextSize(9f);
  XAxis xAxis=mChart.getXAxis();
  xAxis.setPosition(XAxisPosition.BOTH_SIDED);
  xAxis.setDrawGridLines(false);
  xAxis.setDrawAxisLine(false);
  xAxis.setTextSize(9f);
  Legend l=mChart.getLegend();
  l.setPosition(LegendPosition.BELOW_CHART_RIGHT);
  l.setFormSize(8f);
  l.setFormToTextSpace(4f);
  l.setXEntrySpace(6f);
  ArrayList<BarEntry> yValues=new ArrayList<BarEntry>();
  yValues.add(new BarEntry(new float[]{-10,10},0));
  yValues.add(new BarEntry(new float[]{-12,13},1));
  yValues.add(new BarEntry(new float[]{-15,15},2));
  yValues.add(new BarEntry(new float[]{-17,17},3));
  yValues.add(new BarEntry(new float[]{-19,20},4));
  yValues.add(new BarEntry(new float[]{-19,19},5));
  yValues.add(new BarEntry(new float[]{-16,16},6));
  yValues.add(new BarEntry(new float[]{-13,14},7));
  yValues.add(new BarEntry(new float[]{-10,11},8));
  yValues.add(new BarEntry(new float[]{-5,6},9));
  yValues.add(new BarEntry(new float[]{-1,2},10));
  BarDataSet set=new BarDataSet(yValues,"String_Node_Str");
  set.setValueFormatter(new CustomFormatter());
  set.setValueTextSize(7f);
  set.setAxisDependency(YAxis.AxisDependency.RIGHT);
  set.setBarSpacePercent(50f);
  set.setColors(new int[]{Color.rgb(67,67,72),Color.rgb(124,181,236)});
  set.setStackLabels(new String[]{"String_Node_Str","String_Node_Str"});
  String[] xVals=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  BarData data=new BarData(xVals,set);
  mChart.setData(data);
  mChart.invalidate();
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
  setContentView(R.layout.activity_age_distribution);
  setTitle("String_Node_Str");
  mChart=(HorizontalBarChart)findViewById(R.id.chart1);
  mChart.setOnChartValueSelectedListener(this);
  mChart.setDrawGridBackground(false);
  mChart.setDescription("String_Node_Str");
  mChart.setPinchZoom(false);
  mChart.setDrawBarShadow(false);
  mChart.setDrawValueAboveBar(true);
  mChart.getAxisLeft().setEnabled(false);
  mChart.getAxisRight().setStartAtZero(false);
  mChart.getAxisRight().setAxisMaxValue(25f);
  mChart.getAxisRight().setAxisMinValue(-25f);
  mChart.getAxisRight().setLabelCount(7);
  mChart.getAxisRight().setValueFormatter(new CustomFormatter());
  mChart.getAxisRight().setTextSize(9f);
  XAxis xAxis=mChart.getXAxis();
  xAxis.setPosition(XAxisPosition.BOTH_SIDED);
  xAxis.setDrawGridLines(false);
  xAxis.setDrawAxisLine(false);
  xAxis.setTextSize(9f);
  Legend l=mChart.getLegend();
  l.setPosition(LegendPosition.BELOW_CHART_RIGHT);
  l.setFormSize(8f);
  l.setFormToTextSpace(4f);
  l.setXEntrySpace(6f);
  ArrayList<BarEntry> yValues=new ArrayList<BarEntry>();
  yValues.add(new BarEntry(new float[]{-10,10},0));
  yValues.add(new BarEntry(new float[]{-12,13},1));
  yValues.add(new BarEntry(new float[]{-15,15},2));
  yValues.add(new BarEntry(new float[]{-17,17},3));
  yValues.add(new BarEntry(new float[]{-19,20},4));
  yValues.add(new BarEntry(new float[]{-19,19},5));
  yValues.add(new BarEntry(new float[]{-16,16},6));
  yValues.add(new BarEntry(new float[]{-13,14},7));
  yValues.add(new BarEntry(new float[]{-10,11},8));
  yValues.add(new BarEntry(new float[]{-5,6},9));
  yValues.add(new BarEntry(new float[]{-1,2},10));
  BarDataSet set=new BarDataSet(yValues,"String_Node_Str");
  set.setValueFormatter(new CustomFormatter());
  set.setValueTextSize(7f);
  set.setAxisDependency(YAxis.AxisDependency.RIGHT);
  set.setBarSpacePercent(40f);
  set.setColors(new int[]{Color.rgb(67,67,72),Color.rgb(124,181,236)});
  set.setStackLabels(new String[]{"String_Node_Str","String_Node_Str"});
  String[] xVals=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  BarData data=new BarData(xVals,set);
  mChart.setData(data);
  mChart.invalidate();
}