Program: 124767
Project: 124767
Buggy source:
private void addAuthenticationFields(){
  Group authGroup=Form.createGroup(this,1,Messages.getString("String_Node_Str"),110);
  authGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Composite authPartComposite=new Composite(authGroup,SWT.NULL);
  GridLayout authPartLayout=new GridLayout(1,false);
  authPartLayout.marginWidth=0;
  authPartLayout.marginHeight=0;
  authPartComposite.setLayout(authPartLayout);
  authPartComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  authCommonComposite=new Composite(authPartComposite,SWT.NULL);
  GridLayout authCommonCompLayout=new GridLayout(1,false);
  authCommonCompLayout.marginWidth=0;
  authCommonCompLayout.marginHeight=0;
  authCommonComposite.setLayout(authCommonCompLayout);
  authCommonComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  kerberosBtn=new Button(authCommonComposite,SWT.CHECK);
  kerberosBtn.setText(Messages.getString("String_Node_Str"));
  kerberosBtn.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,false,4,1));
  authNodejtOrRmHistoryComposite=new Composite(authCommonComposite,SWT.NULL);
  GridLayout authNodejtOrRmHistoryCompLayout=new GridLayout(4,false);
  authNodejtOrRmHistoryCompLayout.marginWidth=0;
  authNodejtOrRmHistoryCompLayout.marginHeight=0;
  authNodejtOrRmHistoryComposite.setLayout(authNodejtOrRmHistoryCompLayout);
  authNodejtOrRmHistoryComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  namenodePrincipalText=new LabelledText(authNodejtOrRmHistoryComposite,Messages.getString("String_Node_Str"),1);
  jtOrRmPrincipalText=new LabelledText(authNodejtOrRmHistoryComposite,Messages.getString("String_Node_Str"),1);
  jobHistoryPrincipalText=new LabelledText(authNodejtOrRmHistoryComposite,Messages.getString("String_Node_Str"),1);
  Composite placeHolder=new Composite(authCommonComposite,SWT.NULL);
  GridLayout placeHolderLayout=new GridLayout(4,false);
  placeHolderLayout.marginWidth=0;
  placeHolderLayout.marginHeight=0;
  placeHolder.setLayout(placeHolderLayout);
  placeHolder.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  userNameText=new LabelledText(placeHolder,Messages.getString("String_Node_Str"),1);
  groupText=new LabelledText(placeHolder,Messages.getString("String_Node_Str"),1);
  authKeytabComposite=new Composite(authGroup,SWT.NULL);
  GridLayout authKeytabCompLayout=new GridLayout(5,false);
  authKeytabCompLayout.marginWidth=0;
  authKeytabCompLayout.marginHeight=0;
  authKeytabComposite.setLayout(authKeytabCompLayout);
  authKeytabComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  keytabBtn=new Button(authKeytabComposite,SWT.CHECK);
  keytabBtn.setText(Messages.getString("String_Node_Str"));
  keytabBtn.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,false,5,1));
  keytabPrincipalText=new LabelledText(authKeytabComposite,Messages.getString("String_Node_Str"),1);
  String[] extensions={"String_Node_Str"};
  keytabText=new LabelledFileField(authKeytabComposite,Messages.getString("String_Node_Str"),extensions);
  authMaprTComposite=new Composite(authGroup,SWT.NULL);
  GridLayout authMaprTicketCompLayout=new GridLayout(1,false);
  authMaprTicketCompLayout.marginWidth=0;
  authMaprTicketCompLayout.marginHeight=0;
  authMaprTComposite.setLayout(authMaprTicketCompLayout);
  authMaprTComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  maprTBtn=new Button(authMaprTComposite,SWT.CHECK);
  maprTBtn.setText(Messages.getString("String_Node_Str"));
  maprTBtn.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,false,1,1));
  maprTPCDCompposite=new Composite(authMaprTComposite,SWT.NULL);
  GridLayout maprTPCDCompositeLayout=new GridLayout(2,false);
  maprTPCDCompositeLayout.marginWidth=0;
  maprTPCDCompositeLayout.marginHeight=0;
  maprTPCDCompposite.setLayout(maprTPCDCompositeLayout);
  maprTPCDCompposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  maprTPasswordText=new LabelledText(maprTPCDCompposite,Messages.getString("String_Node_Str"),1,SWT.PASSWORD | SWT.BORDER | SWT.SINGLE);
  maprTPasswordText.getTextControl().setEchoChar('*');
  maprTClusterText=new LabelledText(maprTPCDCompposite,Messages.getString("String_Node_Str"),1);
  maprTDurationText=new LabelledText(maprTPCDCompposite,Messages.getString("String_Node_Str"),1);
  maprTSetComposite=new Composite(authMaprTComposite,SWT.NULL);
  GridLayout maprTicketSetCompLayout=new GridLayout(3,false);
  maprTicketSetCompLayout.marginWidth=0;
  maprTicketSetCompLayout.marginHeight=0;
  maprTSetComposite.setLayout(maprTicketSetCompLayout);
  maprTSetComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  setMaprTHomeDirBtn=new Button(maprTSetComposite,SWT.CHECK);
  setMaprTHomeDirBtn.setText(Messages.getString("String_Node_Str"));
  maprTHomeDirText=new LabelledText(maprTSetComposite,"String_Node_Str",1);
  setHadoopLoginBtn=new Button(maprTSetComposite,SWT.CHECK);
  setHadoopLoginBtn.setText(Messages.getString("String_Node_Str"));
  maprTHadoopLoginText=new LabelledText(maprTSetComposite,"String_Node_Str",1);
  preloadAuthentificationBtn=new Button(maprTSetComposite,SWT.CHECK);
  preloadAuthentificationBtn.setText(Messages.getString("String_Node_Str"));
}

Fixed version (ground truth):
private void addAuthenticationFields(){
  Group authGroup=Form.createGroup(this,1,Messages.getString("String_Node_Str"),110);
  authGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Composite authPartComposite=new Composite(authGroup,SWT.NULL);
  GridLayout authPartLayout=new GridLayout(1,false);
  authPartLayout.marginWidth=0;
  authPartLayout.marginHeight=0;
  authPartComposite.setLayout(authPartLayout);
  authPartComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  authCommonComposite=new Composite(authPartComposite,SWT.NULL);
  GridLayout authCommonCompLayout=new GridLayout(1,false);
  authCommonCompLayout.marginWidth=0;
  authCommonCompLayout.marginHeight=0;
  authCommonComposite.setLayout(authCommonCompLayout);
  authCommonComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  kerberosBtn=new Button(authCommonComposite,SWT.CHECK);
  kerberosBtn.setText(Messages.getString("String_Node_Str"));
  kerberosBtn.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,false,4,1));
  authNodejtOrRmHistoryComposite=new Composite(authCommonComposite,SWT.NULL);
  GridLayout authNodejtOrRmHistoryCompLayout=new GridLayout(4,false);
  authNodejtOrRmHistoryCompLayout.marginWidth=0;
  authNodejtOrRmHistoryCompLayout.marginHeight=0;
  authNodejtOrRmHistoryComposite.setLayout(authNodejtOrRmHistoryCompLayout);
  authNodejtOrRmHistoryComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  namenodePrincipalText=new LabelledText(authNodejtOrRmHistoryComposite,Messages.getString("String_Node_Str"),1);
  jtOrRmPrincipalText=new LabelledText(authNodejtOrRmHistoryComposite,Messages.getString("String_Node_Str"),1);
  jobHistoryPrincipalText=new LabelledText(authNodejtOrRmHistoryComposite,Messages.getString("String_Node_Str"),1);
  Composite placeHolder=new Composite(authCommonComposite,SWT.NULL);
  GridLayout placeHolderLayout=new GridLayout(4,false);
  placeHolderLayout.marginWidth=0;
  placeHolderLayout.marginHeight=0;
  placeHolder.setLayout(placeHolderLayout);
  placeHolder.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  userNameText=new LabelledText(placeHolder,Messages.getString("String_Node_Str"),1);
  groupText=new LabelledText(placeHolder,Messages.getString("String_Node_Str"),1);
  authKeytabComposite=new Composite(authGroup,SWT.NULL);
  GridLayout authKeytabCompLayout=new GridLayout(5,false);
  authKeytabCompLayout.marginWidth=0;
  authKeytabCompLayout.marginHeight=0;
  authKeytabComposite.setLayout(authKeytabCompLayout);
  authKeytabComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  keytabBtn=new Button(authKeytabComposite,SWT.CHECK);
  keytabBtn.setText(Messages.getString("String_Node_Str"));
  keytabBtn.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,false,5,1));
  keytabPrincipalText=new LabelledText(authKeytabComposite,Messages.getString("String_Node_Str"),1);
  String[] extensions={"String_Node_Str"};
  keytabText=new LabelledFileField(authKeytabComposite,Messages.getString("String_Node_Str"),extensions);
  authMaprTComposite=new Composite(authGroup,SWT.NULL);
  GridLayout authMaprTicketCompLayout=new GridLayout(1,false);
  authMaprTicketCompLayout.marginWidth=0;
  authMaprTicketCompLayout.marginHeight=0;
  authMaprTComposite.setLayout(authMaprTicketCompLayout);
  authMaprTComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  maprTBtn=new Button(authMaprTComposite,SWT.CHECK);
  maprTBtn.setText(Messages.getString("String_Node_Str"));
  maprTBtn.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,false,1,1));
  maprTPCDCompposite=new Composite(authMaprTComposite,SWT.NULL);
  GridLayout maprTPCDCompositeLayout=new GridLayout(1,false);
  maprTPCDCompositeLayout.marginWidth=0;
  maprTPCDCompositeLayout.marginHeight=0;
  maprTPCDCompposite.setLayout(maprTPCDCompositeLayout);
  maprTPCDCompposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  maprTPasswordCompposite=new Composite(maprTPCDCompposite,SWT.NULL);
  GridLayout maprTPasswordComppositeLayout=new GridLayout(2,false);
  maprTPasswordComppositeLayout.marginWidth=0;
  maprTPasswordComppositeLayout.marginHeight=0;
  maprTPasswordCompposite.setLayout(maprTPasswordComppositeLayout);
  maprTPasswordCompposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  maprTPasswordText=new LabelledText(maprTPasswordCompposite,Messages.getString("String_Node_Str"),1,SWT.PASSWORD | SWT.BORDER | SWT.SINGLE);
  maprTPasswordText.getTextControl().setEchoChar('*');
  Composite maprTCDCompposite=new Composite(maprTPCDCompposite,SWT.NULL);
  GridLayout maprTCDComppositeLayout=new GridLayout(2,false);
  maprTCDComppositeLayout.marginWidth=0;
  maprTCDComppositeLayout.marginHeight=0;
  maprTCDCompposite.setLayout(maprTCDComppositeLayout);
  maprTCDCompposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  maprTClusterText=new LabelledText(maprTCDCompposite,Messages.getString("String_Node_Str"),1);
  maprTDurationText=new LabelledText(maprTCDCompposite,Messages.getString("String_Node_Str"),1);
  maprTSetComposite=new Composite(authMaprTComposite,SWT.NULL);
  GridLayout maprTicketSetCompLayout=new GridLayout(3,false);
  maprTicketSetCompLayout.marginWidth=0;
  maprTicketSetCompLayout.marginHeight=0;
  maprTSetComposite.setLayout(maprTicketSetCompLayout);
  maprTSetComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  setMaprTHomeDirBtn=new Button(maprTSetComposite,SWT.CHECK);
  setMaprTHomeDirBtn.setText(Messages.getString("String_Node_Str"));
  maprTHomeDirText=new LabelledText(maprTSetComposite,"String_Node_Str",1);
  setHadoopLoginBtn=new Button(maprTSetComposite,SWT.CHECK);
  setHadoopLoginBtn.setText(Messages.getString("String_Node_Str"));
  maprTHadoopLoginText=new LabelledText(maprTSetComposite,"String_Node_Str",1);
  preloadAuthentificationBtn=new Button(maprTSetComposite,SWT.CHECK);
  preloadAuthentificationBtn.setText(Messages.getString("String_Node_Str"));
}