Program: 77935
Project: 77935
Buggy source:
@FXML private void initialize(){
  LOGGER.debug("String_Node_Str");
  try {
    tableProfil.setEditable(true);
    colProfilID.setCellValueFactory(new PropertyValueFactory<Profile,Integer>("String_Node_Str"));
    colProfilName.setCellValueFactory(new PropertyValueFactory<Profile,String>("String_Node_Str"));
    colProfilName.setCellFactory(TextFieldTableCell.forTableColumn());
    colProfilName.setOnEditCommit(new EventHandler<TableColumn.CellEditEvent<Profile,String>>(){
      @Override public void handle(      TableColumn.CellEditEvent<Profile,String> t){
        try {
          Profile p=((Profile)t.getTableView().getItems().get(t.getTablePosition().getRow()));
          if (t.getNewValue().compareTo("String_Node_Str") != 0) {
            p.setName(t.getNewValue());
            pservice.edit(p);
          }
 else {
            refreshTableProfiles(pservice.getAllProfiles());
          }
        }
 catch (        ServiceException e) {
          try {
            refreshTableProfiles(pservice.getAllProfiles());
          }
 catch (          ServiceException e1) {
            LOGGER.error("String_Node_Str",e1);
          }
        }
      }
    }
);
    colProfilMobil.setStyle("String_Node_Str");
    colProfilMobil.setSortable(false);
    colProfilMobil.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilMobil.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilGreen.setStyle("String_Node_Str");
    colProfilGreen.setSortable(false);
    colProfilGreen.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilGreen.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilFilter.setStyle("String_Node_Str");
    colProfilFilter.setSortable(false);
    colProfilFilter.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilFilter.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilDrucken.setStyle("String_Node_Str");
    colProfilDrucken.setSortable(false);
    colProfilDrucken.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilDrucken.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilWatermark.setStyle("String_Node_Str");
    colProfilWatermark.setSortable(false);
    colProfilWatermark.setCellValueFactory(new PropertyValueFactory<Profile,String>("String_Node_Str"));
    colProfilWatermark.setCellFactory(new Callback<TableColumn,TableCell>(){
      @Override public TableCell call(      TableColumn p){
        return new ProfileImgCell(profList,pservice,imageHandler,windowManager.getStage());
      }
    }
);
    colProfilAktion.setStyle("String_Node_Str");
    colProfilAktion.setSortable(false);
    colProfilAktion.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilAktion.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileButtonCell(profList,pservice,windowManager.getStage());
      }
    }
);
    this.refreshTableProfiles(pservice.getAllProfiles());
    tableProfil.getSelectionModel().selectedItemProperty().addListener((obs,oldSelection,newSelection) -> {
      if (newSelection != null) {
        selectedProfile=(Profile)newSelection;
        LOGGER.info("String_Node_Str" + selectedProfile.getName() + "String_Node_Str"+ selectedProfile.getId());
        System.out.println("String_Node_Str");
        try {
          refreshTablePosition(pservice.getAllPositions());
          refreshTableKameraPosition(pservice.getAllPairCameraPositionOfProfile(selectedProfile.getId()));
          refreshTableLogo(pservice.getAllPairLogoRelativeRectangle(selectedProfile.getId()));
          refreshLogoAutoComplete(selectedProfile);
          refreshTableCategory(bservice.getAllCategories());
          refreshCategoryComboBox(pservice.getAllCategoryOfProfile(selectedProfile.getId()));
        }
 catch (        ServiceException e) {
          e.printStackTrace();
        }
      }
    }
);
  }
 catch (  ServiceException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
@FXML private void initialize(){
  LOGGER.debug("String_Node_Str");
  try {
    tableProfil.setEditable(true);
    colProfilID.setCellValueFactory(new PropertyValueFactory<Profile,Integer>("String_Node_Str"));
    colProfilName.setCellValueFactory(new PropertyValueFactory<Profile,String>("String_Node_Str"));
    colProfilName.setCellFactory(TextFieldTableCell.forTableColumn());
    colProfilName.setOnEditCommit(new EventHandler<TableColumn.CellEditEvent<Profile,String>>(){
      @Override public void handle(      TableColumn.CellEditEvent<Profile,String> t){
        try {
          Profile p=((Profile)t.getTableView().getItems().get(t.getTablePosition().getRow()));
          if (t.getNewValue().compareTo("String_Node_Str") != 0) {
            p.setName(t.getNewValue());
            pservice.edit(p);
          }
 else {
            refreshTableProfiles(pservice.getAllProfiles());
          }
        }
 catch (        ServiceException e) {
          try {
            refreshTableProfiles(pservice.getAllProfiles());
          }
 catch (          ServiceException e1) {
            LOGGER.error("String_Node_Str",e1);
          }
        }
      }
    }
);
    colProfilMobil.setStyle("String_Node_Str");
    colProfilMobil.setSortable(false);
    colProfilMobil.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilMobil.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilGreen.setStyle("String_Node_Str");
    colProfilGreen.setSortable(false);
    colProfilGreen.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilGreen.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilFilter.setStyle("String_Node_Str");
    colProfilFilter.setSortable(false);
    colProfilFilter.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilFilter.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilDrucken.setStyle("String_Node_Str");
    colProfilDrucken.setSortable(false);
    colProfilDrucken.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilDrucken.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileCheckboxCell(profList,pservice,"String_Node_Str");
      }
    }
);
    colProfilWatermark.setStyle("String_Node_Str");
    colProfilWatermark.setSortable(false);
    colProfilWatermark.setCellValueFactory(new PropertyValueFactory<Profile,String>("String_Node_Str"));
    colProfilWatermark.setCellFactory(new Callback<TableColumn,TableCell>(){
      @Override public TableCell call(      TableColumn p){
        return new ProfileImgCell(profList,pservice,imageHandler,windowManager.getStage());
      }
    }
);
    colProfilAktion.setStyle("String_Node_Str");
    colProfilAktion.setSortable(false);
    colProfilAktion.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Profile,Boolean>,ObservableValue<Boolean>>(){
      @Override public ObservableValue<Boolean> call(      TableColumn.CellDataFeatures<Profile,Boolean> p){
        return new SimpleBooleanProperty(p.getValue() != null);
      }
    }
);
    colProfilAktion.setCellFactory(new Callback<TableColumn<Profile,Boolean>,TableCell<Profile,Boolean>>(){
      @Override public TableCell<Profile,Boolean> call(      TableColumn<Profile,Boolean> p){
        return new ProfileButtonCell(profList,pservice,windowManager.getStage());
      }
    }
);
    this.refreshTableProfiles(pservice.getAllProfiles());
    tableProfil.getSelectionModel().selectedItemProperty().addListener((obs,oldSelection,newSelection) -> {
      if (newSelection != null) {
        selectedProfile=(Profile)newSelection;
        LOGGER.info("String_Node_Str" + selectedProfile.getName() + "String_Node_Str"+ selectedProfile.getId());
        try {
          refreshTablePosition(pservice.getAllPositions());
          refreshTableKameraPosition(pservice.getAllPairCameraPositionOfProfile(selectedProfile.getId()));
          refreshTableLogo(pservice.getAllPairLogoRelativeRectangle(selectedProfile.getId()));
          refreshLogoAutoComplete(selectedProfile);
          refreshTableCategory(bservice.getAllCategories());
          refreshCategoryComboBox(pservice.getAllCategoryOfProfile(selectedProfile.getId()));
        }
 catch (        ServiceException e) {
          LOGGER.error("String_Node_Str",e);
        }
      }
    }
);
  }
 catch (  ServiceException e) {
    LOGGER.error("String_Node_Str",e);
  }
}