Program: 60909
Project: 60909
Buggy source:
public Configuration(final PageParameters parameters){
  super(parameters);
  add(createConfigWin=new ModalWindow("String_Node_Str"));
  add(editConfigWin=new ModalWindow("String_Node_Str"));
  paginatorRows=prefMan.getPaginatorRows(getRequest(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS);
  List<IColumn> confColumns=new ArrayList<IColumn>();
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("String_Node_Str")){
    private static final long serialVersionUID=2054811145491901166L;
    @Override public void populateItem(    final Item<ICellPopulator<ConfigurationTO>> cellItem,    final String componentId,    final IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink editLink=new IndicatingAjaxLink("String_Node_Str"){
        private static final long serialVersionUID=-7978723352517770644L;
        @Override public void onClick(        final AjaxRequestTarget target){
          editConfigWin.setPageCreator(new ModalWindow.PageCreator(){
            private static final long serialVersionUID=-7834632442532690940L;
            @Override public Page createPage(){
              return new ConfigurationModalPage(Configuration.this.getPageReference(),editConfigWin,configurationTO,false);
            }
          }
);
          editConfigWin.show(target);
        }
      }
;
      EditLinkPanel panel=new EditLinkPanel(componentId,model);
      panel.add(editLink);
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
      cellItem.add(panel);
    }
  }
);
  confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("String_Node_Str")){
    private static final long serialVersionUID=2054811145491901166L;
    @Override public void populateItem(    final Item<ICellPopulator<ConfigurationTO>> cellItem,    final String componentId,    final IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink deleteLink=new IndicatingDeleteOnConfirmAjaxLink("String_Node_Str"){
        private static final long serialVersionUID=-7978723352517770644L;
        @Override public void onClick(        final AjaxRequestTarget target){
          try {
            restClient.deleteConfiguration(configurationTO.getKey());
          }
 catch (          UnsupportedEncodingException e) {
            LOG.error("String_Node_Str",e);
            error(e.getMessage());
            return;
          }
          info(getString("String_Node_Str"));
          target.add(feedbackPanel);
          target.add(confContainer);
        }
      }
;
      DeleteLinkPanel panel=new DeleteLinkPanel(componentId,model);
      panel.add(deleteLink);
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
      cellItem.add(panel);
    }
  }
);
  final AjaxFallbackDefaultDataTable confTable=new AjaxFallbackDefaultDataTable("String_Node_Str",confColumns,new SyncopeConfProvider(),paginatorRows);
  confContainer=new WebMarkupContainer("String_Node_Str");
  confContainer.add(confTable);
  confContainer.setOutputMarkupId(true);
  add(confContainer);
  createConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  createConfigWin.setInitialHeight(WIN_HEIGHT);
  createConfigWin.setInitialWidth(WIN_WIDTH);
  createConfigWin.setCookieName("String_Node_Str");
  editConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConfigWin.setInitialHeight(WIN_HEIGHT);
  editConfigWin.setInitialWidth(WIN_HEIGHT);
  editConfigWin.setCookieName("String_Node_Str");
  setWindowClosedCallback(createConfigWin,confContainer);
  setWindowClosedCallback(editConfigWin,confContainer);
  AjaxLink createConfigurationLink=new AjaxLink("String_Node_Str"){
    @Override public void onClick(    final AjaxRequestTarget target){
      createConfigWin.setPageCreator(new ModalWindow.PageCreator(){
        private static final long serialVersionUID=-7834632442532690940L;
        @Override public Page createPage(){
          return new ConfigurationModalPage(Configuration.this.getPageReference(),createConfigWin,new ConfigurationTO(),true);
        }
      }
);
      createConfigWin.show(target);
    }
  }
;
  String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
  MetaDataRoleAuthorizationStrategy.authorize(createConfigurationLink,ENABLE,allowedRoles);
  add(createConfigurationLink);
  Form paginatorForm=new Form("String_Node_Str");
  final DropDownChoice rowsChooser=new DropDownChoice("String_Node_Str",new PropertyModel(this,"String_Node_Str"),prefMan.getPaginatorChoices());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    private static final long serialVersionUID=-1107858522700306810L;
    @Override protected void onUpdate(    final AjaxRequestTarget target){
      prefMan.set(getRequest(),getResponse(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS,String.valueOf(paginatorRows));
      confTable.setItemsPerPage(paginatorRows);
      target.add(confContainer);
    }
  }
);
  paginatorForm.add(rowsChooser);
  add(paginatorForm);
  add(paginatorForm);
  add(new PasswordPoliciesPanel("String_Node_Str"));
  PropertyListView coreLoggerList=new LoggerPropertyList(null,"String_Node_Str",restClient.getLoggers());
  WebMarkupContainer coreLoggerContainer=new WebMarkupContainer("String_Node_Str");
  coreLoggerContainer.add(coreLoggerList);
  coreLoggerContainer.setOutputMarkupId(true);
  add(coreLoggerContainer);
  ConsoleLoggerController consoleLoggerController=new ConsoleLoggerController();
  PropertyListView consoleLoggerList=new LoggerPropertyList(consoleLoggerController,"String_Node_Str",consoleLoggerController.getLoggers());
  WebMarkupContainer consoleLoggerContainer=new WebMarkupContainer("String_Node_Str");
  consoleLoggerContainer.add(consoleLoggerList);
  consoleLoggerContainer.setOutputMarkupId(true);
  add(consoleLoggerContainer);
}

Fixed version (ground truth):
public Configuration(final PageParameters parameters){
  super(parameters);
  add(createConfigWin=new ModalWindow("String_Node_Str"));
  add(editConfigWin=new ModalWindow("String_Node_Str"));
  paginatorRows=prefMan.getPaginatorRows(getRequest(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS);
  List<IColumn> confColumns=new ArrayList<IColumn>();
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("String_Node_Str")){
    private static final long serialVersionUID=2054811145491901166L;
    @Override public void populateItem(    final Item<ICellPopulator<ConfigurationTO>> cellItem,    final String componentId,    final IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink editLink=new IndicatingAjaxLink("String_Node_Str"){
        private static final long serialVersionUID=-7978723352517770644L;
        @Override public void onClick(        final AjaxRequestTarget target){
          editConfigWin.setPageCreator(new ModalWindow.PageCreator(){
            private static final long serialVersionUID=-7834632442532690940L;
            @Override public Page createPage(){
              return new ConfigurationModalPage(Configuration.this.getPageReference(),editConfigWin,configurationTO,false);
            }
          }
);
          editConfigWin.show(target);
        }
      }
;
      EditLinkPanel panel=new EditLinkPanel(componentId,model);
      panel.add(editLink);
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
      cellItem.add(panel);
    }
  }
);
  confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("String_Node_Str")){
    private static final long serialVersionUID=2054811145491901166L;
    @Override public void populateItem(    final Item<ICellPopulator<ConfigurationTO>> cellItem,    final String componentId,    final IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink deleteLink=new IndicatingDeleteOnConfirmAjaxLink("String_Node_Str"){
        private static final long serialVersionUID=-7978723352517770644L;
        @Override public void onClick(        final AjaxRequestTarget target){
          try {
            restClient.deleteConfiguration(configurationTO.getKey());
          }
 catch (          UnsupportedEncodingException e) {
            LOG.error("String_Node_Str",e);
            error(e.getMessage());
            return;
          }
          info(getString("String_Node_Str"));
          target.add(feedbackPanel);
          target.add(confContainer);
        }
      }
;
      DeleteLinkPanel panel=new DeleteLinkPanel(componentId,model);
      panel.add(deleteLink);
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
      cellItem.add(panel);
    }
  }
);
  final AjaxFallbackDefaultDataTable confTable=new AjaxFallbackDefaultDataTable("String_Node_Str",confColumns,new SyncopeConfProvider(),paginatorRows);
  confContainer=new WebMarkupContainer("String_Node_Str");
  confContainer.add(confTable);
  confContainer.setOutputMarkupId(true);
  add(confContainer);
  createConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  createConfigWin.setInitialHeight(WIN_HEIGHT);
  createConfigWin.setInitialWidth(WIN_WIDTH);
  createConfigWin.setCookieName("String_Node_Str");
  editConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConfigWin.setInitialHeight(WIN_HEIGHT);
  editConfigWin.setInitialWidth(WIN_HEIGHT);
  editConfigWin.setCookieName("String_Node_Str");
  setWindowClosedCallback(createConfigWin,confContainer);
  setWindowClosedCallback(editConfigWin,confContainer);
  AjaxLink createConfigurationLink=new AjaxLink("String_Node_Str"){
    @Override public void onClick(    final AjaxRequestTarget target){
      createConfigWin.setPageCreator(new ModalWindow.PageCreator(){
        private static final long serialVersionUID=-7834632442532690940L;
        @Override public Page createPage(){
          return new ConfigurationModalPage(Configuration.this.getPageReference(),createConfigWin,new ConfigurationTO(),true);
        }
      }
);
      createConfigWin.show(target);
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(createConfigurationLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(createConfigurationLink);
  Link dbExportLink=new Link<Void>("String_Node_Str"){
    private static final long serialVersionUID=-4331619903296515985L;
    @Override public void onClick(){
      StringResourceStream stream=new StringResourceStream(restClient.dbContentAsXml(),"String_Node_Str");
      getRequestCycle().scheduleRequestHandlerAfterCurrent(new ResourceStreamRequestHandler(stream).setFileName("String_Node_Str").setContentDisposition(ContentDisposition.ATTACHMENT));
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(dbExportLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(dbExportLink);
  Form paginatorForm=new Form("String_Node_Str");
  final DropDownChoice rowsChooser=new DropDownChoice("String_Node_Str",new PropertyModel(this,"String_Node_Str"),prefMan.getPaginatorChoices());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    private static final long serialVersionUID=-1107858522700306810L;
    @Override protected void onUpdate(    final AjaxRequestTarget target){
      prefMan.set(getRequest(),getResponse(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS,String.valueOf(paginatorRows));
      confTable.setItemsPerPage(paginatorRows);
      target.add(confContainer);
    }
  }
);
  paginatorForm.add(rowsChooser);
  add(paginatorForm);
  add(paginatorForm);
  add(new PasswordPoliciesPanel("String_Node_Str"));
  PropertyListView coreLoggerList=new LoggerPropertyList(null,"String_Node_Str",restClient.getLoggers());
  WebMarkupContainer coreLoggerContainer=new WebMarkupContainer("String_Node_Str");
  coreLoggerContainer.add(coreLoggerList);
  coreLoggerContainer.setOutputMarkupId(true);
  add(coreLoggerContainer);
  ConsoleLoggerController consoleLoggerController=new ConsoleLoggerController();
  PropertyListView consoleLoggerList=new LoggerPropertyList(consoleLoggerController,"String_Node_Str",consoleLoggerController.getLoggers());
  WebMarkupContainer consoleLoggerContainer=new WebMarkupContainer("String_Node_Str");
  consoleLoggerContainer.add(consoleLoggerList);
  consoleLoggerContainer.setOutputMarkupId(true);
  add(consoleLoggerContainer);
}