Dbtreeview parts broken after upgrade to 4.1.2

Hi everybody,

Yesterday we have upgraded our server to 4.1.2. And few minutes later some users have reported that some parts of our navigation tree (dbtreeview) were unexpendable.
Indeed, nobody could access these parts.

To be sure we have restored the last version of our database on a test server which was running servoy 4.1.1: everything was fine, no problem with the tree.
We have upgraded the test server to 4.1.2 without making any other change: same problem of access with the same parts of the tree.

Apparently it’s a problem of size limit because these parts are the biggest parts of the tree. They have the most children (77 for the smallest parent)

Here is the exception we get when trying to expend the parts:

Exception in thread “AWT-EventQueue-0” java.lang.ArrayIndexOutOfBoundsException: 60
at com.servoy.extensions.beans.dbtreeview.FoundSetTreeModel.getSortedRecordIdx(FoundSetTreeModel.java:368)
at com.servoy.extensions.beans.dbtreeview.FoundSetTreeModel.internal_lazyLoadChilderenIfNeeded(FoundSetTreeModel.java:248)
at com.servoy.extensions.beans.dbtreeview.FoundSetTreeModel.lazyLoadChilderenIfNeeded(FoundSetTreeModel.java:197)

we have found the bug ( sorting children of a node with more then 60 children throws an exception), and fixed it in the next release;

Fixed version can be found here: dbtreeview.jar

Jan Blok:
Fixed version can be found here: dbtreeview.jar

I’ve just tried and it seems to work :D
I assume it will be included in Servoy 4.1.4 ?

Thanks