Program: 60640
Project: 60640
Buggy source:
public SyncTaskModalPage(final ModalWindow window,final SyncTaskTO taskTO,final PageReference callerPageRef){
  super(window,taskTO,callerPageRef);
  final IModel<List<String>> allResources=new LoadableDetachableModel<List<String>>(){
    private static final long serialVersionUID=5275935387613157437L;
    @Override protected List<String> load(){
      final List<String> resourceNames=new ArrayList<String>();
      for (      ResourceTO resourceTO : resourceRestClient.getAllResources()) {
        resourceNames.add(resourceTO.getName());
      }
      return resourceNames;
    }
  }
;
  final AjaxDropDownChoicePanel<String> resource=new AjaxDropDownChoicePanel<String>("String_Node_Str",getString("String_Node_Str"),new PropertyModel(taskTO,"String_Node_Str"),false);
  resource.setChoices(allResources.getObject());
  resource.setChoiceRenderer(new SelectChoiceRenderer());
  resource.addRequiredLabel();
  resource.setEnabled(taskTO.getId() == 0);
  resource.setStyleShet("String_Node_Str");
  profile.add(resource);
  final IModel<List<String>> classNames=new LoadableDetachableModel<List<String>>(){
    private static final long serialVersionUID=5275935387613157437L;
    @Override protected List<String> load(){
      final List<String> classes=new ArrayList<String>(taskRestClient.getJobActionsClasses());
      return classes;
    }
  }
;
  final AjaxDropDownChoicePanel<String> actionsClassName=new AjaxDropDownChoicePanel<String>("String_Node_Str",getString("String_Node_Str"),new PropertyModel(taskTO,"String_Node_Str"),false);
  actionsClassName.setChoices(classNames.getObject());
  actionsClassName.setStyleShet("String_Node_Str");
  profile.add(actionsClassName);
  final AjaxCheckBoxPanel creates=new AjaxCheckBoxPanel("String_Node_Str",getString("String_Node_Str"),new PropertyModel<Boolean>(taskTO,"String_Node_Str"),false);
  profile.add(creates);
  final AjaxCheckBoxPanel updates=new AjaxCheckBoxPanel("String_Node_Str",getString("String_Node_Str"),new PropertyModel<Boolean>(taskTO,"String_Node_Str"),false);
  profile.add(updates);
  final AjaxCheckBoxPanel deletes=new AjaxCheckBoxPanel("String_Node_Str",getString("String_Node_Str"),new PropertyModel<Boolean>(taskTO,"String_Node_Str"),false);
  profile.add(deletes);
}

Fixed version (ground truth):
public SyncTaskModalPage(final ModalWindow window,final SyncTaskTO taskTO,final PageReference callerPageRef){
  super(window,taskTO,callerPageRef);
  final IModel<List<String>> allResources=new LoadableDetachableModel<List<String>>(){
    private static final long serialVersionUID=5275935387613157437L;
    @Override protected List<String> load(){
      final List<String> resourceNames=new ArrayList<String>();
      for (      ResourceTO resourceTO : resourceRestClient.getAllResources()) {
        resourceNames.add(resourceTO.getName());
      }
      return resourceNames;
    }
  }
;
  final AjaxDropDownChoicePanel<String> resource=new AjaxDropDownChoicePanel<String>("String_Node_Str",getString("String_Node_Str"),new PropertyModel(taskTO,"String_Node_Str"),false);
  resource.setChoices(allResources.getObject());
  resource.setChoiceRenderer(new SelectChoiceRenderer());
  resource.addRequiredLabel();
  resource.setEnabled(taskTO.getId() == 0);
  resource.setStyleShet("String_Node_Str");
  profile.add(resource);
  final IModel<List<String>> classNames=new LoadableDetachableModel<List<String>>(){
    private static final long serialVersionUID=5275935387613157437L;
    @Override protected List<String> load(){
      final List<String> classes=new ArrayList<String>(taskRestClient.getJobActionsClasses());
      return classes;
    }
  }
;
  final AjaxDropDownChoicePanel<String> actionsClassName=new AjaxDropDownChoicePanel<String>("String_Node_Str",getString("String_Node_Str"),new PropertyModel(taskTO,"String_Node_Str"),false);
  actionsClassName.setChoices(classNames.getObject());
  actionsClassName.setStyleShet("String_Node_Str");
  profile.add(actionsClassName);
  final AjaxCheckBoxPanel creates=new AjaxCheckBoxPanel("String_Node_Str",getString("String_Node_Str"),new PropertyModel<Boolean>(taskTO,"String_Node_Str"),false);
  profile.add(creates);
  final AjaxCheckBoxPanel updates=new AjaxCheckBoxPanel("String_Node_Str",getString("String_Node_Str"),new PropertyModel<Boolean>(taskTO,"String_Node_Str"),false);
  profile.add(updates);
  final AjaxCheckBoxPanel deletes=new AjaxCheckBoxPanel("String_Node_Str",getString("String_Node_Str"),new PropertyModel<Boolean>(taskTO,"String_Node_Str"),false);
  profile.add(deletes);
  final AjaxCheckBoxPanel status=new AjaxCheckBoxPanel("String_Node_Str",getString("String_Node_Str"),new PropertyModel<Boolean>(taskTO,"String_Node_Str"),false);
  profile.add(status);
}