Program: 70432
Project: 70432
Buggy source:
public DesignElementHandle createView(DesignElementHandle host) throws BirtException {
  ChartWithAxes cm=ChartWithAxesImpl.create();
  cm.setType("String_Node_Str");
  cm.setSubType("String_Node_Str");
  cm.setUnits("String_Node_Str");
  cm.setUnitSpacing(50);
  cm.getTitle().getLabel().getCaption().setValue(Messages.getString("String_Node_Str"));
  SeriesDefinition sdBase=SeriesDefinitionImpl.create();
  sdBase.getSeriesPalette().shift(0);
  Series series=SeriesImpl.create();
  sdBase.getSeries().add(series);
  cm.getBaseAxes()[0].getSeriesDefinitions().add(sdBase);
  cm.getBaseAxes()[0].setCategoryAxis(true);
  SeriesDefinition sdOrth=SeriesDefinitionImpl.create();
  sdOrth.getSeriesPalette().shift(0);
  series=BarSeriesImpl.create();
  sdOrth.getSeries().add(series);
  cm.getOrthogonalAxes(cm.getBaseAxes()[0],true)[0].getSeriesDefinitions().add(sdOrth);
  ChartUIUtil.setSeriesName(cm);
  SampleData sampleData=DataFactory.eINSTANCE.createSampleData();
  sampleData.getBaseSampleData().clear();
  sampleData.getOrthogonalSampleData().clear();
  BaseSampleData sampleDataBase=DataFactory.eINSTANCE.createBaseSampleData();
  sampleDataBase.setDataSetRepresentation("String_Node_Str");
  sampleData.getBaseSampleData().add(sampleDataBase);
  OrthogonalSampleData sampleDataOrth=DataFactory.eINSTANCE.createOrthogonalSampleData();
  sampleDataOrth.setDataSetRepresentation("String_Node_Str");
  sampleDataOrth.setSeriesDefinitionIndex(0);
  sampleData.getOrthogonalSampleData().add(sampleDataOrth);
  cm.setSampleData(sampleData);
  String name=ReportPlugin.getDefault().getCustomName(ChartReportItemConstants.CHART_EXTENSION_NAME);
  ExtendedItemHandle itemHandle=host.getElementFactory().newExtendedItem(name,getViewName());
  itemHandle.getReportItem().setProperty(ChartReportItemUtil.PROPERTY_CHART,cm);
  return itemHandle;
}

Fixed version (ground truth):
public DesignElementHandle createView(DesignElementHandle host) throws BirtException {
  ChartWithAxes cm=ChartWithAxesImpl.create();
  cm.setType("String_Node_Str");
  cm.setSubType("String_Node_Str");
  cm.setUnits("String_Node_Str");
  cm.setUnitSpacing(50);
  cm.getTitle().getLabel().getCaption().setValue(Messages.getString("String_Node_Str"));
  SeriesDefinition sdBase=SeriesDefinitionImpl.create();
  sdBase.getSeriesPalette().shift(0);
  Series series=SeriesImpl.create();
  sdBase.getSeries().add(series);
  cm.getBaseAxes()[0].getSeriesDefinitions().add(sdBase);
  cm.getBaseAxes()[0].setCategoryAxis(true);
  SeriesDefinition sdOrth=SeriesDefinitionImpl.create();
  sdOrth.getSeriesPalette().shift(0);
  series=BarSeriesImpl.create();
  sdOrth.getSeries().add(series);
  cm.getOrthogonalAxes(cm.getBaseAxes()[0],true)[0].getSeriesDefinitions().add(sdOrth);
  ChartUIUtil.setSeriesName(cm);
  SampleData sampleData=DataFactory.eINSTANCE.createSampleData();
  sampleData.getBaseSampleData().clear();
  sampleData.getOrthogonalSampleData().clear();
  BaseSampleData sampleDataBase=DataFactory.eINSTANCE.createBaseSampleData();
  sampleDataBase.setDataSetRepresentation("String_Node_Str");
  sampleData.getBaseSampleData().add(sampleDataBase);
  OrthogonalSampleData sampleDataOrth=DataFactory.eINSTANCE.createOrthogonalSampleData();
  sampleDataOrth.setDataSetRepresentation("String_Node_Str");
  sampleDataOrth.setSeriesDefinitionIndex(0);
  sampleData.getOrthogonalSampleData().add(sampleDataOrth);
  cm.setSampleData(sampleData);
  String name=ReportPlugin.getDefault().getCustomName(ChartReportItemConstants.CHART_EXTENSION_NAME);
  ExtendedItemHandle itemHandle=host.getElementFactory().newExtendedItem(name,ChartReportItemConstants.CHART_EXTENSION_NAME);
  itemHandle.getReportItem().setProperty(ChartReportItemUtil.PROPERTY_CHART,cm);
  return itemHandle;
}