mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add logging to investigate EA-1619327
This commit is contained in:
@@ -3636,7 +3636,14 @@ public class AbstractTreeUi {
|
||||
|
||||
if (descriptor.getChildrenSortingStamp() >= getComparatorStamp() && !forceSort) return;
|
||||
if (!children.isEmpty()) {
|
||||
getBuilder().sortChildren(myNodeComparator, node, (ArrayList<TreeNode>)children);
|
||||
try {
|
||||
getBuilder().sortChildren(myNodeComparator, node, (ArrayList<TreeNode>)children);
|
||||
}
|
||||
catch (IllegalArgumentException exception) {
|
||||
StringBuilder sb = new StringBuilder("cannot sort children");
|
||||
children.forEach(child -> sb.append('\n').append(child));
|
||||
throw new IllegalArgumentException(sb.toString(), exception);
|
||||
}
|
||||
}
|
||||
|
||||
if (updateStamp) {
|
||||
|
||||
Reference in New Issue
Block a user