Program: 70444
Project: 70444
Buggy source:
/** 
 * @param glURL
 * @param glParameter
 */
private void createURLComposite(Composite parent){
  GridLayout gl=(GridLayout)parent.getLayout();
  gl.numColumns=2;
  Label lblTarget=new Label(parent,SWT.NONE);
  GridData gdLBLTarget=new GridData();
  gdLBLTarget.horizontalIndent=2;
  lblTarget.setLayoutData(gdLBLTarget);
  lblTarget.setText(Messages.getString("String_Node_Str"));
  fTxtHyperlinkLabel=new Text(parent,SWT.BORDER);
  GridData gdTXTTarget=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTTarget.widthHint=80;
  fTxtHyperlinkLabel.setLayoutData(gdTXTTarget);
  AssistField af=new TextAssistField(fTxtHyperlinkLabel,null){
    private boolean fIsDuplicate=false;
    public boolean isValid(){
      fIsDuplicate=false;
      String text=fTxtHyperlinkLabel.getText();
      if (text == null || "String_Node_Str".equals(text.trim())) {
        return false;
      }
      if (fExistingLabels != null && fExistingLabels.contains(fTxtHyperlinkLabel.getText())) {
        fIsDuplicate=true;
        return false;
      }
      return true;
    }
    public boolean isRequiredField(){
      return true;
    }
    public String getErrorMessage(){
      if (fIsDuplicate) {
        return Messages.getString("String_Node_Str");
      }
      return Messages.getString("String_Node_Str");
    }
  }
;
  FieldAssistHelper.getInstance().addRequiredFieldIndicator(af,lblTarget);
  Label lblBaseURL=new Label(parent,SWT.NONE);
  GridData gdLBLBaseURL=new GridData();
  gdLBLBaseURL.horizontalIndent=2;
  lblBaseURL.setLayoutData(gdLBLBaseURL);
  lblBaseURL.setText(Messages.getString("String_Node_Str"));
  fBtnBaseURL=new Button(parent,SWT.NONE);
{
    GridData gd=new GridData();
    fBtnBaseURL.setLayoutData(gd);
    fBtnBaseURL.setText(Messages.getString("String_Node_Str"));
    fBtnBaseURL.setToolTipText(Messages.getString("String_Node_Str"));
    fBtnBaseURL.addSelectionListener(this);
    fBtnBaseURL.setEnabled(fContext.getUIServiceProvider().isInvokingSupported());
  }
  Label lblDefine=new Label(parent,SWT.WRAP);
{
    GridData gd=new GridData();
    gd.horizontalIndent=2;
    gd.horizontalSpan=3;
    gd.widthHint=200;
    lblDefine.setLayoutData(gd);
    lblDefine.setText(Messages.getString("String_Node_Str"));
  }
  fBtnAdvanced=new Button(parent,SWT.NONE);
{
    GridData gd=new GridData();
    gd.horizontalSpan=2;
    fBtnAdvanced.setLayoutData(gd);
    fBtnAdvanced.setText(getAdvancedButtonText(bAdvanced));
    fBtnAdvanced.setToolTipText(Messages.getString("String_Node_Str"));
    fBtnAdvanced.addSelectionListener(this);
    fBtnAdvanced.setEnabled(fbEnableURLParameters);
  }
  fGrpParameters=new Group(parent,SWT.NONE);
  GridData gdGRPParameters=new GridData(GridData.FILL_HORIZONTAL);
  gdGRPParameters.horizontalSpan=3;
  fGrpParameters.setLayoutData(gdGRPParameters);
  GridLayout glParameter=new GridLayout();
  glParameter.marginWidth=2;
  glParameter.marginHeight=6;
  glParameter.horizontalSpacing=6;
  glParameter.numColumns=3;
  fGrpParameters.setLayout(glParameter);
  fGrpParameters.setText(Messages.getString("String_Node_Str"));
  fGrpParameters.setVisible(bAdvanced);
  StyledText stParameters=new StyledText(fGrpParameters,SWT.WRAP | SWT.READ_ONLY);
{
    GridData gd=new GridData();
    gd.horizontalIndent=2;
    gd.horizontalSpan=3;
    gd.widthHint=200;
    stParameters.setLayoutData(gd);
    stParameters.setText(Messages.getString("String_Node_Str"));
    StyleRange[] sr={new StyleRange(0,4,parent.getForeground(),parent.getBackground(),SWT.ITALIC),new StyleRange(4,stParameters.getText().length() - 4,parent.getForeground(),parent.getBackground(),SWT.NORMAL)};
    stParameters.setStyleRanges(sr);
    stParameters.setBackground(parent.getBackground());
  }
  Label lblBaseParm=new Label(fGrpParameters,SWT.NONE);
{
    GridData gdLBLBaseParm=new GridData();
    gdLBLBaseParm.horizontalIndent=2;
    lblBaseParm.setLayoutData(gdLBLBaseParm);
    lblBaseParm.setText(Messages.getString("String_Node_Str"));
    lblBaseParm.setToolTipText(Messages.getString("String_Node_Str"));
  }
  fTxtBaseParm=new Text(fGrpParameters,SWT.BORDER);
  GridData gdTXTBaseParm=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTBaseParm.horizontalSpan=2;
  fTxtBaseParm.setLayoutData(gdTXTBaseParm);
  fTxtBaseParm.setToolTipText(Messages.getString("String_Node_Str"));
  fTxtBaseParm.setEnabled(fbEnableURLParameters && ((fOptionalStyle & TriggerDataComposite.DISABLE_CATEGORY_SERIES) != TriggerDataComposite.DISABLE_CATEGORY_SERIES));
  Label lblValueParm=new Label(fGrpParameters,SWT.NONE);
{
    GridData gdLBLValueParm=new GridData();
    gdLBLValueParm.horizontalIndent=2;
    lblValueParm.setLayoutData(gdLBLValueParm);
    lblValueParm.setText(Messages.getString("String_Node_Str"));
    lblValueParm.setToolTipText(Messages.getString("String_Node_Str"));
  }
  fTxtValueParm=new Text(fGrpParameters,SWT.BORDER);
  GridData gdTXTValueParm=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTValueParm.horizontalSpan=2;
  fTxtValueParm.setLayoutData(gdTXTValueParm);
  fTxtValueParm.setToolTipText(Messages.getString("String_Node_Str"));
  fTxtValueParm.setEnabled(fbEnableURLParameters && ((fOptionalStyle & TriggerDataComposite.DISABLE_VALUE_SERIES) != TriggerDataComposite.DISABLE_VALUE_SERIES));
  Label lblSeriesParm=new Label(fGrpParameters,SWT.NONE);
{
    GridData gdLBLSeriesParm=new GridData();
    gdLBLSeriesParm.horizontalIndent=2;
    lblSeriesParm.setLayoutData(gdLBLSeriesParm);
    lblSeriesParm.setText(Messages.getString("String_Node_Str"));
    lblSeriesParm.setToolTipText(Messages.getString("String_Node_Str"));
  }
  fTxtSeriesParm=new Text(fGrpParameters,SWT.BORDER);
  GridData gdTXTSeriesParm=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTSeriesParm.horizontalSpan=2;
  fTxtSeriesParm.setLayoutData(gdTXTSeriesParm);
  fTxtSeriesParm.setToolTipText(Messages.getString("String_Node_Str"));
  fTxtSeriesParm.setEnabled(fbEnableURLParameters && ((fOptionalStyle & TriggerDataComposite.DISABLE_VALUE_SERIES_NAME) != TriggerDataComposite.DISABLE_VALUE_SERIES_NAME));
}

Fixed version (ground truth):
/** 
 * @param glURL
 * @param glParameter
 */
private void createURLComposite(Composite parent){
  GridLayout gl=(GridLayout)parent.getLayout();
  gl.numColumns=2;
  Label lblTarget=new Label(parent,SWT.NONE);
  GridData gdLBLTarget=new GridData();
  gdLBLTarget.horizontalIndent=2;
  lblTarget.setLayoutData(gdLBLTarget);
  lblTarget.setText(Messages.getString("String_Node_Str"));
  fTxtHyperlinkLabel=new Text(parent,SWT.BORDER);
  GridData gdTXTTarget=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTTarget.widthHint=80;
  fTxtHyperlinkLabel.setLayoutData(gdTXTTarget);
  AssistField af=new TextAssistField(fTxtHyperlinkLabel,null){
    private boolean fIsDuplicate=false;
    public boolean isValid(){
      fIsDuplicate=false;
      String text=fTxtHyperlinkLabel.getText();
      if (text == null || "String_Node_Str".equals(text.trim())) {
        return false;
      }
      if (fExistingLabels != null && fExistingLabels.contains(fTxtHyperlinkLabel.getText())) {
        fIsDuplicate=true;
        return false;
      }
      return true;
    }
    public boolean isRequiredField(){
      return true;
    }
    public String getErrorMessage(){
      if (fIsDuplicate) {
        return Messages.getString("String_Node_Str");
      }
      return Messages.getString("String_Node_Str");
    }
  }
;
  FieldAssistHelper.getInstance().addRequiredFieldIndicator(af,lblTarget);
  Label lblBaseURL=new Label(parent,SWT.NONE);
  GridData gdLBLBaseURL=new GridData();
  gdLBLBaseURL.horizontalIndent=2;
  lblBaseURL.setLayoutData(gdLBLBaseURL);
  lblBaseURL.setText(Messages.getString("String_Node_Str"));
  fBtnBaseURL=new Button(parent,SWT.NONE);
{
    GridData gd=new GridData();
    fBtnBaseURL.setLayoutData(gd);
    fBtnBaseURL.setText(Messages.getString("String_Node_Str"));
    fBtnBaseURL.setToolTipText(Messages.getString("String_Node_Str"));
    fBtnBaseURL.addSelectionListener(this);
    fBtnBaseURL.setEnabled(fContext.getUIServiceProvider().isInvokingSupported());
  }
  Label lblDefine=new Label(parent,SWT.WRAP);
{
    GridData gd=new GridData();
    gd.horizontalIndent=2;
    gd.horizontalSpan=3;
    gd.widthHint=200;
    lblDefine.setLayoutData(gd);
    lblDefine.setText(Messages.getString("String_Node_Str"));
  }
  fBtnAdvanced=new Button(parent,SWT.NONE);
{
    GridData gd=new GridData();
    gd.horizontalSpan=2;
    fBtnAdvanced.setLayoutData(gd);
    fBtnAdvanced.setText(getAdvancedButtonText(bAdvanced));
    fBtnAdvanced.setToolTipText(Messages.getString("String_Node_Str"));
    fBtnAdvanced.addSelectionListener(this);
    fBtnAdvanced.setEnabled(fbEnableURLParameters);
  }
  fGrpParameters=new Group(parent,SWT.NONE);
  GridData gdGRPParameters=new GridData(GridData.FILL_HORIZONTAL);
  gdGRPParameters.horizontalSpan=3;
  fGrpParameters.setLayoutData(gdGRPParameters);
  GridLayout glParameter=new GridLayout();
  glParameter.marginWidth=2;
  glParameter.marginHeight=6;
  glParameter.horizontalSpacing=6;
  glParameter.numColumns=3;
  fGrpParameters.setLayout(glParameter);
  fGrpParameters.setText(Messages.getString("String_Node_Str"));
  fGrpParameters.setVisible(bAdvanced);
  StyledText stParameters=new StyledText(fGrpParameters,SWT.WRAP | SWT.READ_ONLY);
{
    GridData gd=new GridData();
    gd.horizontalIndent=2;
    gd.horizontalSpan=3;
    gd.widthHint=200;
    stParameters.setLayoutData(gd);
    stParameters.setText(Messages.getString("String_Node_Str"));
    stParameters.setBackground(parent.getBackground());
  }
  Label lblBaseParm=new Label(fGrpParameters,SWT.NONE);
{
    GridData gdLBLBaseParm=new GridData();
    gdLBLBaseParm.horizontalIndent=2;
    lblBaseParm.setLayoutData(gdLBLBaseParm);
    lblBaseParm.setText(Messages.getString("String_Node_Str"));
    lblBaseParm.setToolTipText(Messages.getString("String_Node_Str"));
  }
  fTxtBaseParm=new Text(fGrpParameters,SWT.BORDER);
  GridData gdTXTBaseParm=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTBaseParm.horizontalSpan=2;
  fTxtBaseParm.setLayoutData(gdTXTBaseParm);
  fTxtBaseParm.setToolTipText(Messages.getString("String_Node_Str"));
  fTxtBaseParm.setEnabled(fbEnableURLParameters && ((fOptionalStyle & TriggerDataComposite.DISABLE_CATEGORY_SERIES) != TriggerDataComposite.DISABLE_CATEGORY_SERIES));
  Label lblValueParm=new Label(fGrpParameters,SWT.NONE);
{
    GridData gdLBLValueParm=new GridData();
    gdLBLValueParm.horizontalIndent=2;
    lblValueParm.setLayoutData(gdLBLValueParm);
    lblValueParm.setText(Messages.getString("String_Node_Str"));
    lblValueParm.setToolTipText(Messages.getString("String_Node_Str"));
  }
  fTxtValueParm=new Text(fGrpParameters,SWT.BORDER);
  GridData gdTXTValueParm=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTValueParm.horizontalSpan=2;
  fTxtValueParm.setLayoutData(gdTXTValueParm);
  fTxtValueParm.setToolTipText(Messages.getString("String_Node_Str"));
  fTxtValueParm.setEnabled(fbEnableURLParameters && ((fOptionalStyle & TriggerDataComposite.DISABLE_VALUE_SERIES) != TriggerDataComposite.DISABLE_VALUE_SERIES));
  Label lblSeriesParm=new Label(fGrpParameters,SWT.NONE);
{
    GridData gdLBLSeriesParm=new GridData();
    gdLBLSeriesParm.horizontalIndent=2;
    lblSeriesParm.setLayoutData(gdLBLSeriesParm);
    lblSeriesParm.setText(Messages.getString("String_Node_Str"));
    lblSeriesParm.setToolTipText(Messages.getString("String_Node_Str"));
  }
  fTxtSeriesParm=new Text(fGrpParameters,SWT.BORDER);
  GridData gdTXTSeriesParm=new GridData(GridData.FILL_HORIZONTAL);
  gdTXTSeriesParm.horizontalSpan=2;
  fTxtSeriesParm.setLayoutData(gdTXTSeriesParm);
  fTxtSeriesParm.setToolTipText(Messages.getString("String_Node_Str"));
  fTxtSeriesParm.setEnabled(fbEnableURLParameters && ((fOptionalStyle & TriggerDataComposite.DISABLE_VALUE_SERIES_NAME) != TriggerDataComposite.DISABLE_VALUE_SERIES_NAME));
}