diff --git a/src/main/java/org/olat/core/gui/components/table/Table.java b/src/main/java/org/olat/core/gui/components/table/Table.java index 462699903ca936f329c3dab62f5e3468ec25e863..7c44e0a7e750129edfde15e2525a04cd9abf49f5 100644 --- a/src/main/java/org/olat/core/gui/components/table/Table.java +++ b/src/main/java/org/olat/core/gui/components/table/Table.java @@ -520,7 +520,11 @@ public class Table extends AbstractComponent { } } currentSortingCd.sortingAboutToStart(); - Collections.sort(sorter, new TableComparator(currentSortingCd, sortAscending)); + try { + Collections.sort(sorter, new TableComparator(currentSortingCd, sortAscending)); + } catch (IllegalArgumentException e) { + log.error("Sort column: {} in columns: {}", sortColumn, columnOrder, e); + } } else { log.error("Sort column not found:" + sortColumn + " in columns: " + columnOrder); }