Program: 65915
Project: 65915
Buggy source:
@Override public Chart getModel(String sSubType,Orientation orientation,String sDimension,Chart currentChart){
  ChartWithAxes newChart=null;
  if (currentChart != null) {
    newChart=(ChartWithAxes)getConvertedChart(currentChart,sSubType,orientation,sDimension);
    if (newChart != null) {
      return newChart;
    }
  }
  newChart=ChartWithAxesImpl.createDefault();
  newChart.setType(fsTypeLiteral);
  newChart.setSubType(sSubType);
  ChartElementUtil.setEObjectAttribute(newChart,"String_Node_Str",orientation,orientation == null);
  ChartElementUtil.setEObjectAttribute(newChart,"String_Node_Str",ChartUIUtil.getDimensionType(sDimension),sDimension == null);
  SeriesDefinition sdX=SeriesDefinitionImpl.createDefault();
  Series categorySeries=SeriesImpl.createDefault();
  sdX.getSeries().add(categorySeries);
  (newChart.getAxes().get(0)).getSeriesDefinitions().add(sdX);
  SeriesDefinition sdY=SeriesDefinitionImpl.createDefault();
  Series valueSeries=getSeries(false);
  if (sSubType.equalsIgnoreCase(STACKED_SUBTYPE_LITERAL)) {
    valueSeries.setStacked(true);
  }
 else   if (sSubType.equalsIgnoreCase(PERCENTSTACKED_SUBTYPE_LITERAL)) {
    ((newChart.getAxes().get(0)).getAssociatedAxes().get(0)).setPercent(true);
    valueSeries.setStacked(true);
  }
 else   if (sSubType.equalsIgnoreCase(SIDE_SUBTYPE_LITERAL)) {
  }
  sdY.getSeries().add(valueSeries);
  ((newChart.getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions().add(sdY);
  ChartUIUtil.setSeriesName(newChart);
  if (sDimension != null && sDimension.equals(THREE_DIMENSION_TYPE)) {
    newChart.setRotation(Rotation3DImpl.createDefault(new Angle3D[]{Angle3DImpl.createDefault(-20,45,0)}));
    newChart.getPrimaryBaseAxes()[0].getAncillaryAxes().clear();
    Axis zAxisAncillary=AxisImpl.createDefault(Axis.ANCILLARY_BASE);
    zAxisAncillary.getOrigin().setValue(NumberDataElementImpl.create(0));
    newChart.getPrimaryBaseAxes()[0].getAncillaryAxes().add(zAxisAncillary);
    SeriesDefinition sdZ=SeriesDefinitionImpl.createDefault();
    sdZ.getSeries().add(SeriesImpl.createDefault());
    zAxisAncillary.getSeriesDefinitions().add(sdZ);
  }
  addSampleData(newChart);
  Action a=ActionImpl.create(ActionType.SHOW_TOOLTIP_LITERAL,TooltipValueImpl.create(200,"String_Node_Str"));
  Trigger e=TriggerImpl.create(TriggerCondition.ONMOUSEOVER_LITERAL,a);
  valueSeries.getTriggers().add(e);
  return newChart;
}

Fixed version (ground truth):
@Override public Chart getModel(String sSubType,Orientation orientation,String sDimension,Chart currentChart){
  ChartWithAxes newChart=null;
  if (currentChart != null) {
    newChart=(ChartWithAxes)getConvertedChart(currentChart,sSubType,orientation,sDimension);
    if (newChart != null) {
      return newChart;
    }
  }
  newChart=ChartWithAxesImpl.createDefault();
  newChart.setType(fsTypeLiteral);
  newChart.setSubType(sSubType);
  ChartElementUtil.setEObjectAttribute(newChart,"String_Node_Str",orientation,orientation == null);
  ChartElementUtil.setEObjectAttribute(newChart,"String_Node_Str",ChartUIUtil.getDimensionType(sDimension),sDimension == null);
  try {
    ChartElementUtil.setDefaultValue(newChart.getAxes().get(0),"String_Node_Str",true);
  }
 catch (  ChartException e) {
  }
  SeriesDefinition sdX=SeriesDefinitionImpl.createDefault();
  Series categorySeries=SeriesImpl.createDefault();
  sdX.getSeries().add(categorySeries);
  (newChart.getAxes().get(0)).getSeriesDefinitions().add(sdX);
  SeriesDefinition sdY=SeriesDefinitionImpl.createDefault();
  Series valueSeries=getSeries(false);
  if (sSubType.equalsIgnoreCase(STACKED_SUBTYPE_LITERAL)) {
    valueSeries.setStacked(true);
  }
 else   if (sSubType.equalsIgnoreCase(PERCENTSTACKED_SUBTYPE_LITERAL)) {
    ((newChart.getAxes().get(0)).getAssociatedAxes().get(0)).setPercent(true);
    valueSeries.setStacked(true);
  }
 else   if (sSubType.equalsIgnoreCase(SIDE_SUBTYPE_LITERAL)) {
  }
  sdY.getSeries().add(valueSeries);
  ((newChart.getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions().add(sdY);
  ChartUIUtil.setSeriesName(newChart);
  if (sDimension != null && sDimension.equals(THREE_DIMENSION_TYPE)) {
    newChart.setRotation(Rotation3DImpl.createDefault(new Angle3D[]{Angle3DImpl.createDefault(-20,45,0)}));
    newChart.getPrimaryBaseAxes()[0].getAncillaryAxes().clear();
    Axis zAxisAncillary=AxisImpl.createDefault(Axis.ANCILLARY_BASE);
    zAxisAncillary.getOrigin().setValue(NumberDataElementImpl.create(0));
    newChart.getPrimaryBaseAxes()[0].getAncillaryAxes().add(zAxisAncillary);
    SeriesDefinition sdZ=SeriesDefinitionImpl.createDefault();
    sdZ.getSeries().add(SeriesImpl.createDefault());
    zAxisAncillary.getSeriesDefinitions().add(sdZ);
  }
  addSampleData(newChart);
  Action a=ActionImpl.create(ActionType.SHOW_TOOLTIP_LITERAL,TooltipValueImpl.create(200,"String_Node_Str"));
  Trigger e=TriggerImpl.create(TriggerCondition.ONMOUSEOVER_LITERAL,a);
  valueSeries.getTriggers().add(e);
  return newChart;
}