Program: 15612
Project: 15612
Buggy source:
@Override public Panel createWidget(List<PresentationAttr> presentationAttributes){
  FacesContext fc=FacesContext.getCurrentInstance();
  Application application=fc.getApplication();
  parseAttributes(presentationAttributes);
  widget=(org.primefaces.component.chart.line.LineChart)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  widget.setId("String_Node_Str" + System.nanoTime());
  widget.setStyleClass("String_Node_Str");
  widget.setXaxisLabel(xAxisLabel);
  widget.setYaxisLabel(yAxisLabel);
  widget.setXaxisAngle(90);
  widget.setShowMarkers(true);
  widget.setLegendPosition("String_Node_Str");
  if (!xAxisType.Number.equals(xAxisType)) {
    widget.setExtender("String_Node_Str");
  }
  widget.setRendered(false);
  panel=(Panel)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  panel.setId("String_Node_Str" + System.nanoTime());
  panel.setHeader(title);
  panel.setClosable(false);
  panel.setToggleable(false);
  panel.setStyleClass("String_Node_Str");
  panel.getChildren().add(widget);
  CommandLink clearLink=(CommandLink)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  clearLink.setAjax(true);
  clearLink.setOnclick("String_Node_Str");
  clearLink.setOncomplete("String_Node_Str");
  clearLink.setProcess("String_Node_Str");
  clearLink.setStyleClass("String_Node_Str");
  HtmlOutputText btn=new HtmlOutputText();
  btn.setStyleClass("String_Node_Str");
  clearLink.getChildren().add(btn);
  clearLink.addActionListener(new ActionListener(){
    @Override public void processAction(    ActionEvent arg0) throws AbortProcessingException {
      clearData();
    }
  }
);
  panel.getFacets().put("String_Node_Str",clearLink);
  emptyMessage=new HtmlOutputText();
  emptyMessage.setValue(FaceletLocalization.getLocalizedResourceBundle().getString("String_Node_Str"));
  emptyMessage.setStyleClass("String_Node_Str");
  emptyMessage.setRendered(true);
  panel.getChildren().add(emptyMessage);
  model=new CartesianChartModel();
  for (  String seriesLabel : seriesLabels) {
    model.addSeries(new ChartSeries(seriesLabel));
  }
  widget.setValue(model);
  return panel;
}

Fixed version (ground truth):
@Override public Panel createWidget(String serviceId,List<PresentationAttr> presentationAttributes){
  FacesContext fc=FacesContext.getCurrentInstance();
  Application application=fc.getApplication();
  parseAttributes(presentationAttributes);
  widget=(org.primefaces.component.chart.line.LineChart)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  widget.setId("String_Node_Str" + System.nanoTime());
  widget.setStyleClass("String_Node_Str");
  widget.setXaxisLabel(xAxisLabel);
  widget.setYaxisLabel(yAxisLabel);
  widget.setXaxisAngle(90);
  widget.setShowMarkers(true);
  widget.setLegendPosition("String_Node_Str");
  if (!xAxisType.Number.equals(xAxisType)) {
    widget.setExtender("String_Node_Str");
  }
  widget.setRendered(false);
  panel=(Panel)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  panel.setId("String_Node_Str" + System.nanoTime());
  panel.setHeader(title != null ? title : "String_Node_Str");
  panel.setClosable(false);
  panel.setToggleable(false);
  panel.setStyleClass("String_Node_Str" + serviceId);
  panel.getChildren().add(widget);
  CommandLink clearLink=(CommandLink)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  clearLink.setAjax(true);
  clearLink.setOnclick("String_Node_Str");
  clearLink.setOncomplete("String_Node_Str");
  clearLink.setProcess("String_Node_Str");
  clearLink.setStyleClass("String_Node_Str");
  HtmlOutputText btn=new HtmlOutputText();
  btn.setStyleClass("String_Node_Str");
  clearLink.getChildren().add(btn);
  clearLink.addActionListener(new ActionListener(){
    @Override public void processAction(    ActionEvent arg0) throws AbortProcessingException {
      clearData();
    }
  }
);
  panel.getFacets().put("String_Node_Str",clearLink);
  emptyMessage=new HtmlOutputText();
  emptyMessage.setValue(FaceletLocalization.getLocalizedResourceBundle().getString("String_Node_Str"));
  emptyMessage.setStyleClass("String_Node_Str");
  emptyMessage.setRendered(true);
  panel.getChildren().add(emptyMessage);
  model=new CartesianChartModel();
  for (  String seriesLabel : seriesLabels) {
    model.addSeries(new ChartSeries(seriesLabel));
  }
  widget.setValue(model);
  return panel;
}