Program: 66233
Project: 66233
Buggy source:
/** 
 * Resets all member variables within this object recursively Note: Manually written
 */
protected final void initDefault(int iAxisType){
  setLabel(LabelImpl.createDefault());
  LineAttributes lia=LineAttributesImpl.createDefault(null,LineStyle.SOLID_LITERAL,1);
  setLineAttributes(lia);
  AxisOrigin ao=AxisOriginImpl.createDefault(IntersectionType.MIN_LITERAL,null);
  setOrigin(ao);
  primaryAxis=false;
  Label la=LabelImpl.createDefault(false);
  la.getCaption().setValue("String_Node_Str");
  try {
    ChartElementUtil.setDefaultValue(la.getCaption().getFont(),"String_Node_Str",14);
    ChartElementUtil.setDefaultValue(la.getCaption().getFont(),"String_Node_Str",true);
  }
 catch (  ChartException e) {
  }
  TextAlignment ta=TextAlignmentImpl.createDefault(HorizontalAlignment.CENTER_LITERAL,VerticalAlignment.CENTER_LITERAL);
  la.getCaption().getFont().setAlignment(ta);
  setTitle(la);
  Grid gr=ComponentFactory.eINSTANCE.createGrid();
  lia=LineAttributesImpl.createDefault(ColorDefinitionImpl.create(196,196,196),LineStyle.SOLID_LITERAL,1,false);
  gr.setLineAttributes(lia);
  lia=LineAttributesImpl.createDefault(ColorDefinitionImpl.create(196,196,196),LineStyle.SOLID_LITERAL,1);
  gr.setTickAttributes(lia);
  ((GridImpl)gr).tickStyle=TickStyle.ACROSS_LITERAL;
  setMajorGrid(gr);
  gr=ComponentFactory.eINSTANCE.createGrid();
  lia=LineAttributesImpl.createDefault(ColorDefinitionImpl.create(225,225,225),LineStyle.SOLID_LITERAL,1,false);
  gr.setLineAttributes(lia);
  lia=LineAttributesImpl.createDefault(ColorDefinitionImpl.create(225,225,225),LineStyle.SOLID_LITERAL,1,false);
  gr.setTickAttributes(lia);
  ((GridImpl)gr).tickStyle=TickStyle.ACROSS_LITERAL;
  setMinorGrid(gr);
  Scale sc=ComponentFactory.eINSTANCE.createScale();
  ((ScaleImpl)sc).minorGridsPerUnit=5;
  setScale(sc);
  percent=false;
  if (iAxisType == Axis.BASE) {
    orientation=Orientation.HORIZONTAL_LITERAL;
    labelPosition=Position.ABOVE_LITERAL;
  }
 else   if (iAxisType == Axis.ORTHOGONAL) {
    orientation=Orientation.VERTICAL_LITERAL;
    labelPosition=Position.RIGHT_LITERAL;
  }
  setOrigin(AxisOriginImpl.createDefault(IntersectionType.MAX_LITERAL,null));
}

Fixed version (ground truth):
/** 
 * Resets all member variables within this object recursively Note: Manually written
 */
protected final void initDefault(int iAxisType){
  setLabel(LabelImpl.createDefault());
  LineAttributes lia=LineAttributesImpl.createDefault(null,LineStyle.SOLID_LITERAL,1);
  setLineAttributes(lia);
  AxisOrigin ao=AxisOriginImpl.createDefault(IntersectionType.MIN_LITERAL,null);
  setOrigin(ao);
  primaryAxis=false;
  Label la=LabelImpl.createDefault(false);
  la.getCaption().setValue("String_Node_Str");
  try {
    ChartElementUtil.setDefaultValue(la.getCaption().getFont(),"String_Node_Str",14);
    ChartElementUtil.setDefaultValue(la.getCaption().getFont(),"String_Node_Str",true);
  }
 catch (  ChartException e) {
  }
  TextAlignment ta=TextAlignmentImpl.createDefault(HorizontalAlignment.CENTER_LITERAL,VerticalAlignment.CENTER_LITERAL);
  try {
    ChartElementUtil.setDefaultValue(la.getCaption().getFont(),"String_Node_Str",ta);
  }
 catch (  ChartException e) {
  }
  setTitle(la);
  Grid gr=ComponentFactory.eINSTANCE.createGrid();
  lia=LineAttributesImpl.createDefault(null,LineStyle.SOLID_LITERAL,1,false);
  gr.setLineAttributes(lia);
  lia=LineAttributesImpl.createDefault(null,LineStyle.SOLID_LITERAL,1);
  gr.setTickAttributes(lia);
  ((GridImpl)gr).tickStyle=TickStyle.ACROSS_LITERAL;
  setMajorGrid(gr);
  gr=ComponentFactory.eINSTANCE.createGrid();
  lia=LineAttributesImpl.createDefault(null,LineStyle.SOLID_LITERAL,1,false);
  gr.setLineAttributes(lia);
  lia=LineAttributesImpl.createDefault(null,LineStyle.SOLID_LITERAL,1,false);
  gr.setTickAttributes(lia);
  ((GridImpl)gr).tickStyle=TickStyle.ACROSS_LITERAL;
  setMinorGrid(gr);
  Scale sc=ComponentFactory.eINSTANCE.createScale();
  ((ScaleImpl)sc).minorGridsPerUnit=5;
  setScale(sc);
  percent=false;
  if (iAxisType == Axis.BASE) {
    orientation=Orientation.HORIZONTAL_LITERAL;
    labelPosition=Position.ABOVE_LITERAL;
  }
 else   if (iAxisType == Axis.ORTHOGONAL) {
    orientation=Orientation.VERTICAL_LITERAL;
    labelPosition=Position.RIGHT_LITERAL;
  }
  setOrigin(AxisOriginImpl.createDefault(IntersectionType.MAX_LITERAL,null));
}