Program: 61122
Project: 61122
Buggy source:
public Configuration(PageParameters parameters){
  super(parameters);
  add(createConfigWin=new ModalWindow("String_Node_Str"));
  add(editConfigWin=new ModalWindow("String_Node_Str"));
  paginatorRows=utility.getPaginatorRowsToDisplay(Constants.CONF_CONFIGURATION_PAGINATOR_ROWS);
  List<IColumn> columns=new ArrayList<IColumn>();
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new AbstractColumn<ConfigurationTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConfigurationTO>> cellItem,    String componentId,    IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink editLink=new IndicatingAjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          editConfigWin.setPageCreator(new ModalWindow.PageCreator(){
            public Page createPage(){
              ConfigurationModalPage window=new ConfigurationModalPage(Configuration.this,editConfigWin,configurationTO,false);
              return window;
            }
          }
);
          editConfigWin.show(target);
        }
      }
;
      EditLinkPanel panel=new EditLinkPanel(componentId,model);
      panel.add(editLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      cellItem.add(panel);
    }
  }
);
  columns.add(new AbstractColumn<ConfigurationTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConfigurationTO>> cellItem,    String componentId,    IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink deleteLink=new AjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          try {
            restClient.deleteConfiguration(configurationTO.getConfKey());
          }
 catch (          UnsupportedEncodingException e) {
            LOG.error("String_Node_Str",e);
            error(e.getMessage());
            return;
          }
          info(getString("String_Node_Str"));
          target.addComponent(feedbackPanel);
          target.addComponent(container);
        }
        @Override protected IAjaxCallDecorator getAjaxCallDecorator(){
          return new AjaxPreprocessingCallDecorator(super.getAjaxCallDecorator()){
            private static final long serialVersionUID=1L;
            @Override public CharSequence preDecorateScript(            CharSequence script){
              return "String_Node_Str" + getString("String_Node_Str") + "String_Node_Str"+ "String_Node_Str"+ script+ "String_Node_Str";
            }
          }
;
        }
      }
;
      DeleteLinkPanel panel=new DeleteLinkPanel(componentId,model);
      panel.add(deleteLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      cellItem.add(panel);
    }
  }
);
  final AjaxFallbackDefaultDataTable table=new AjaxFallbackDefaultDataTable("String_Node_Str",columns,new ConfigurationsProvider(),paginatorRows);
  container=new WebMarkupContainer("String_Node_Str");
  container.add(table);
  container.setOutputMarkupId(true);
  add(container);
  createConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  createConfigWin.setInitialHeight(WIN_USER_HEIGHT);
  createConfigWin.setInitialWidth(WIN_USER_WIDTH);
  createConfigWin.setPageMapName("String_Node_Str");
  createConfigWin.setCookieName("String_Node_Str");
  editConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConfigWin.setInitialHeight(WIN_USER_HEIGHT);
  editConfigWin.setInitialWidth(WIN_USER_HEIGHT);
  editConfigWin.setPageMapName("String_Node_Str");
  editConfigWin.setCookieName("String_Node_Str");
  setWindowClosedCallback(createConfigWin,container);
  setWindowClosedCallback(editConfigWin,container);
  AjaxLink createConfigurationLink=new AjaxLink("String_Node_Str"){
    @Override public void onClick(    AjaxRequestTarget target){
      createConfigWin.setPageCreator(new ModalWindow.PageCreator(){
        public Page createPage(){
          ConfigurationModalPage window=new ConfigurationModalPage(Configuration.this,createConfigWin,new ConfigurationTO(),true);
          return window;
        }
      }
);
      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"),utility.paginatorRowsChooser());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    protected void onUpdate(    AjaxRequestTarget target){
      utility.updatePaginatorRows(Constants.CONF_CONFIGURATION_PAGINATOR_ROWS,paginatorRows);
      table.setRowsPerPage(paginatorRows);
      target.addComponent(container);
    }
  }
);
  paginatorForm.add(rowsChooser);
  add(paginatorForm);
  add(paginatorForm);
}

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=utility.getPaginatorRowsToDisplay(Constants.CONF_CONFIGURATION_PAGINATOR_ROWS);
  List<IColumn> confColumns=new ArrayList<IColumn>();
  confColumns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  confColumns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  confColumns.add(new AbstractColumn<ConfigurationTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConfigurationTO>> cellItem,    String componentId,    IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink editLink=new IndicatingAjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          editConfigWin.setPageCreator(new ModalWindow.PageCreator(){
            public Page createPage(){
              ConfigurationModalPage window=new ConfigurationModalPage(Configuration.this,editConfigWin,configurationTO,false);
              return window;
            }
          }
);
          editConfigWin.show(target);
        }
      }
;
      EditLinkPanel panel=new EditLinkPanel(componentId,model);
      panel.add(editLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      cellItem.add(panel);
    }
  }
);
  confColumns.add(new AbstractColumn<ConfigurationTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConfigurationTO>> cellItem,    String componentId,    IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink deleteLink=new AjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          try {
            restClient.deleteConfiguration(configurationTO.getConfKey());
          }
 catch (          UnsupportedEncodingException e) {
            LOG.error("String_Node_Str",e);
            error(e.getMessage());
            return;
          }
          info(getString("String_Node_Str"));
          target.addComponent(feedbackPanel);
          target.addComponent(confContainer);
        }
        @Override protected IAjaxCallDecorator getAjaxCallDecorator(){
          return new AjaxPreprocessingCallDecorator(super.getAjaxCallDecorator()){
            private static final long serialVersionUID=1L;
            @Override public CharSequence preDecorateScript(            CharSequence script){
              return "String_Node_Str" + getString("String_Node_Str") + "String_Node_Str"+ "String_Node_Str"+ script+ "String_Node_Str";
            }
          }
;
        }
      }
;
      DeleteLinkPanel panel=new DeleteLinkPanel(componentId,model);
      panel.add(deleteLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      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_USER_HEIGHT);
  createConfigWin.setInitialWidth(WIN_USER_WIDTH);
  createConfigWin.setPageMapName("String_Node_Str");
  createConfigWin.setCookieName("String_Node_Str");
  editConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConfigWin.setInitialHeight(WIN_USER_HEIGHT);
  editConfigWin.setInitialWidth(WIN_USER_HEIGHT);
  editConfigWin.setPageMapName("String_Node_Str");
  editConfigWin.setCookieName("String_Node_Str");
  setWindowClosedCallback(createConfigWin,confContainer);
  setWindowClosedCallback(editConfigWin,confContainer);
  AjaxLink createConfigurationLink=new AjaxLink("String_Node_Str"){
    @Override public void onClick(    AjaxRequestTarget target){
      createConfigWin.setPageCreator(new ModalWindow.PageCreator(){
        public Page createPage(){
          ConfigurationModalPage window=new ConfigurationModalPage(Configuration.this,createConfigWin,new ConfigurationTO(),true);
          return window;
        }
      }
);
      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"),utility.paginatorRowsChooser());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    protected void onUpdate(    AjaxRequestTarget target){
      utility.updatePaginatorRows(Constants.CONF_CONFIGURATION_PAGINATOR_ROWS,paginatorRows);
      confTable.setRowsPerPage(paginatorRows);
      target.addComponent(confContainer);
    }
  }
);
  paginatorForm.add(rowsChooser);
  add(paginatorForm);
  add(paginatorForm);
  add(new PropertyListView<LoggerTO>("String_Node_Str",restClient.getAllLoggers()){
    @Override protected void populateItem(    final ListItem<LoggerTO> item){
      item.add(new Label("String_Node_Str"));
      DropDownChoice<LoggerLevel> level=new DropDownChoice<LoggerLevel>("String_Node_Str");
      level.setModel(new IModel<LoggerLevel>(){
        @Override public LoggerLevel getObject(){
          return LoggerLevel.valueOf(item.getModelObject().getLevel());
        }
        @Override public void setObject(        final LoggerLevel object){
          item.getModelObject().setLevel(object.toString());
        }
        @Override public void detach(){
        }
      }
);
      level.setChoices(Arrays.asList(LoggerLevel.values()));
      level.setOutputMarkupId(true);
      level.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
        @Override protected void onUpdate(        final AjaxRequestTarget target){
          if (restClient.setLoggerLevel(item.getModelObject().getName(),item.getModelObject().getLevel())) {
            info(getString("String_Node_Str"));
          }
 else {
            info(getString("String_Node_Str"));
          }
          target.addComponent(feedbackPanel);
        }
      }
);
      item.add(level);
    }
  }
);
}