Program: 68047
Project: 68047
Buggy source:
public Chart getModel(String sSubType,Orientation orientation,String sDimension,Chart currentChart){
  ChartWithoutAxes newChart=null;
  if (currentChart != null) {
    newChart=(ChartWithoutAxes)getConvertedChart(currentChart,sSubType,sDimension);
    if (newChart != null) {
      return newChart;
    }
  }
  newChart=ChartWithoutAxesImpl.create();
  newChart.setType(TYPE_LITERAL);
  newChart.setSubType(sSubType);
  newChart.setDimension(getDimensionFor(sDimension));
  newChart.setUnits("String_Node_Str");
  if (newChart.getDimension().equals(ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL)) {
    newChart.setSeriesThickness(15);
  }
  newChart.getLegend().setItemType(LegendItemType.SERIES_LITERAL);
  SeriesDefinition sdX=SeriesDefinitionImpl.create();
  sdX.getSeriesPalette().shift(0);
  Series categorySeries=SeriesImpl.create();
  sdX.getSeries().add(categorySeries);
  sdX.getQuery().setDefinition("String_Node_Str");
  newChart.getTitle().getLabel().getCaption().setValue(CHART_TITLE);
  SeriesDefinition sdY=SeriesDefinitionImpl.create();
  sdY.setZOrder(1);
  sdY.getSeriesPalette().shift(0);
  RadarSeries valueSeries=RadarSeriesImpl.create();
  LineAttributes lia=LineAttributesImpl.create(ColorDefinitionImpl.GREY(),LineStyle.SOLID_LITERAL,1);
  valueSeries.setWebLineAttributes(lia);
  valueSeries.getLabel().setVisible(true);
  valueSeries.setSeriesIdentifier("String_Node_Str");
  sdY.getSeries().add(valueSeries);
  sdX.getSeriesDefinitions().add(sdY);
  newChart.getSeriesDefinitions().add(sdX);
  addSampleData(newChart);
  return newChart;
}

Fixed version (ground truth):
public Chart getModel(String sSubType,Orientation orientation,String sDimension,Chart currentChart){
  ChartWithoutAxes newChart=null;
  if (currentChart != null) {
    newChart=(ChartWithoutAxes)getConvertedChart(currentChart,sSubType,sDimension);
    if (newChart != null) {
      return newChart;
    }
  }
  newChart=ChartWithoutAxesImpl.create();
  newChart.setType(TYPE_LITERAL);
  newChart.setSubType(sSubType);
  newChart.setDimension(getDimensionFor(sDimension));
  newChart.setUnits("String_Node_Str");
  if (newChart.getDimension().equals(ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL)) {
    newChart.setSeriesThickness(15);
  }
  newChart.getLegend().setItemType(LegendItemType.SERIES_LITERAL);
  SeriesDefinition sdX=SeriesDefinitionImpl.create();
  sdX.getSeriesPalette().shift(0);
  Series categorySeries=SeriesImpl.create();
  sdX.getSeries().add(categorySeries);
  sdX.getQuery().setDefinition("String_Node_Str");
  newChart.getTitle().getLabel().getCaption().setValue(getDefaultTitle());
  SeriesDefinition sdY=SeriesDefinitionImpl.create();
  sdY.setZOrder(1);
  sdY.getSeriesPalette().shift(0);
  RadarSeries valueSeries=RadarSeriesImpl.create();
  LineAttributes lia=LineAttributesImpl.create(ColorDefinitionImpl.GREY(),LineStyle.SOLID_LITERAL,1);
  valueSeries.setWebLineAttributes(lia);
  valueSeries.getLabel().setVisible(true);
  valueSeries.setSeriesIdentifier("String_Node_Str");
  sdY.getSeries().add(valueSeries);
  sdX.getSeriesDefinitions().add(sdY);
  newChart.getSeriesDefinitions().add(sdX);
  addSampleData(newChart);
  return newChart;
}