Program: 15611
Project: 15611
Buggy source:
@Override public Panel createWidget(List<PresentationAttr> presentationAttributes){
  FacesContext fc=FacesContext.getCurrentInstance();
  Application application=fc.getApplication();
  parseAttributes(presentationAttributes);
  widget=(org.primefaces.component.chart.metergauge.MeterGaugeChart)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  widget.setId("String_Node_Str" + System.nanoTime());
  widget.setStyleClass("String_Node_Str");
  widget.setLabel(unit);
  widget.setMin(min.doubleValue());
  widget.setMax(max.doubleValue());
  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 MeterGaugeChartModel();
  model.setValue(min);
  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.metergauge.MeterGaugeChart)application.createComponent(fc,"String_Node_Str","String_Node_Str");
  widget.setId("String_Node_Str" + System.nanoTime());
  widget.setStyleClass("String_Node_Str");
  widget.setLabel(unit);
  widget.setMin(min.doubleValue());
  widget.setMax(max.doubleValue());
  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 MeterGaugeChartModel();
  model.setValue(min);
  widget.setValue(model);
  return panel;
}